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
Customization of Inlet Condition Using the bct.dat File
- Choi Ki-eun
- Posts: 6
- Joined: Thu Apr 07, 2022 8:03 am
- David Parker
- Posts: 1705
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Customization of Inlet Condition Using the bct.dat File
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
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