Customization of Inlet Condition Using the bct.dat File

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Choi Ki-eun
Posts: 6
Joined: Thu Apr 07, 2022 8:03 am

Customization of Inlet Condition Using the bct.dat File

Post by Choi Ki-eun » Wed May 15, 2024 9:58 pm

Hello!

I use "prescribed velocity" as the inlet condition.
I want to use a custom "analytic shape" instead of the one provided by SimVascular.
Should I modify the bct.dat file?

Upon checking the file, it seems to contain the coordinates for each node on the face and the velocity over time.
It seems I need to change the velocity for each coordinate to match my profile. How can I do this?
Is there a specific rule for generating nodes? Even after checking in Excel, I can't quite figure it out.

Regards,
Kieun

User avatar
David Parker
Posts: 1615
Joined: Tue Aug 23, 2005 2:43 pm

Re: Customization of Inlet Condition Using the bct.dat File

Post by David Parker » Thu May 16, 2024 12:17 pm

Hi Kieun,

I assume you are talking about the svSolver.

To use a custom analytic shape you can create your own bct.dat file that maps the inlet flow to a velocity profile for each node in the inlet face. The idea is to create nodal velocities that when integrated over the inlet face reproduce a given inlet flow.

The svSolver svPre program creates the bct.dat file. Have a look at the create_bct() and geom_map_womersley_map() functions in https://github.com/SimVascular/svSolver ... elpers.cxx) to get an idea about how this is implemented.

Cheers,
Dave

POST REPLY