Page 1 of 1

Dynamic simulations

Posted: Sat Nov 16, 2024 1:54 am
by matteofalanga
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

Re: Dynamic simulations

Posted: Tue Nov 19, 2024 8:44 pm
by davep
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

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>
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