Page 1 of 1

Customization of Inlet Condition Using the bct.dat File

Posted: Wed May 15, 2024 9:58 pm
by choike5522
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

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

Posted: Thu May 16, 2024 12:17 pm
by davep
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