Hello everyone,
I am currently working on dynamic simulations and have a precomputed displacement field that i would like to use to prescribe the motion of the mesh over time.
Instead of coupling fluid and structure solvers, i already have the displacement field data and need guidance on how to integrate it into a dynamic simulation workflow.
Does SimVascular provide a way to import and use such displacement data directly? If so, what format should the displacement data take, and how is it mapped to the mesh?
Thank you in advance for your help!
Best regards,
Matteo
Dynamic simulations
- David Parker
- Posts: 1736
- Joined: Tue Aug 23, 2005 2:43 pm
Re: Dynamic simulations
Hi Matteo,
I think you can use the Impose_on_state_variable_integral parameter in the svFSIplus solver for a Dirichlet boundary condition, something like
The format of displacements.dat is described here https://simvascular.github.io/documenta ... al_spatial. An example of this file can be found here https://github.com/SimVascular/svFSIplu ... force/N004.
This has not been tested I think so let me know if you have any problems.
Cheers,
Dave
I think you can use the Impose_on_state_variable_integral parameter in the svFSIplus solver for a Dirichlet boundary condition, something like
Code: Select all
<Add_BC name="solid_interface" >
<Type> Dir </Type>
<Time_dependence> General </Time_dependence>
<Temporal_and_spatial_values_file_path> displacements.dat
</Temporal_and_spatial_values_file_path>
</Add_BC>
This has not been tested I think so let me know if you have any problems.
Cheers,
Dave