NaN results in coronary artery simulation

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Rodrigo Romarowski
Posts: 16
Joined: Sat Apr 15, 2017 10:06 am

NaN results in coronary artery simulation

Post by Rodrigo Romarowski » Wed Jun 20, 2018 2:51 am

Hi everyone,

I am currently simulating a few coronary geometries and I'm having the following result after mesh partitioning when running the solver in our cluster:

1 4.980E+02 NaN (****) NaN NaN < 2452- 6|****> [ 0 - 0]
1 9.950E+02 NaN (****) NaN NaN < 1664-14|****> [ 0 - 0]


This error occurs in the coronary geometry with the aberrant origin of the right coronary artery (see attached file, left) while the other one works just fine. Boundary conditions have all been taken from the website tutorial. I checked the quality of the meshes with Paraview and everything seems OK. I used radius-dependency in the coronaries and a fixed edge length in the root of the aorta. Different parameters for this meshing scheme derive in the same problem in the solver.

Any hints for the behaviour in this particular geometry?

Many thanks,

Rodrigo
Attachments
coronaries.png
coronaries.png (241.58 KiB) Viewed 405 times

User avatar
Justin Tran
Posts: 109
Joined: Mon Sep 30, 2013 4:10 pm

Re: NaN results in coronary artery simulation

Post by Justin Tran » Wed Jun 20, 2018 10:03 am

Hi Rodrigo,

Thank you for your question! That is strange that the left model diverges immediately while the other one seems fine. Since the meshes seem to be OK, my hunch is that there might be something funky with the boundary conditions. If you are following the tutorial online, probably you have a Dirichlet inlet condition with a pulsatile waveform, RCR boundary conditions at the aortic outlet, and coronary-type boundary conditions at the coronary outlets.

One method I use to debug simulation issues is to run the simplest simulation possible: steady inflow with resistance outlets. Can you try setting up another simulation job for the left geometry with these conditions? You can set a steady inflow BC by setting the BC Type to "Prescribed Velocities" and setting the value to be the cardiac output for your model (ex: -60 mL/s). For all of the outlets (both the aortic outlet and coronary outlets) you can set the BC Type to "Resistance" and set the resistance value to the Rd values from your previous simulation (or whichever of the resistances was the highest in the coronary outlets).

Give that a try and let us know how it goes!

User avatar
Rodrigo Romarowski
Posts: 16
Joined: Sat Apr 15, 2017 10:06 am

Re: NaN results in coronary artery simulation

Post by Rodrigo Romarowski » Thu Jun 21, 2018 1:16 am

Thanks for the advice! that certainly solved the issue.
By modifying one boundary at a time i found an error with one of the Coronary capacitances.

POST REPLY