|
svMultiPhysics
|
3D-1D coupling subroutines. More...
Classes | |
| struct | OneDModelState |
Functions | |
| void | init_svOneD (ComMod &com_mod, const CmMod &cm_mod, const SolutionStates &solutions) |
| Initialize the 1D solver and populate the initial cplBC state. Called once from baf_ini() after the BC data structures are set up. | |
| void | calc_svOneD (ComMod &com_mod, const CmMod &cm_mod, char BCFlag) |
| Advance the 1D solver by one time step and update the coupled BC value. | |
3D-1D coupling subroutines.
These routines interface the 3D finite-element solver svMultiPhysics with the 1D blood-flow solver svOneDSolver via a dynamically loaded shared library, such as libsvOneDSolver_interface.so or libsvOneDSolver_interface.dylib.
DIR coupling, where the 1D outlet is driven by the 3D pressure:
Initialization in init_svOneD() has two phases:
Time stepping in calc_svOneD() also has two phases:
Advance the 1D solver by one time step and update the coupled BC value.
| BCFlag | 'D' - derivative / perturbation step (state is NOT committed). 'L' - last Newton iteration (state IS committed, time advances). |
| void svOneD::init_svOneD | ( | ComMod & | com_mod, |
| const CmMod & | cm_mod, | ||
| const SolutionStates & | solutions ) |
Initialize the 1D solver and populate the initial cplBC state. Called once from baf_ini() after the BC data structures are set up.