Dynamic simulations

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Matteo Falanga
Posts: 1
Joined: Sat Sep 07, 2024 12:39 am

Dynamic simulations

Post by Matteo Falanga » Sat Nov 16, 2024 1:54 am

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

User avatar
David Parker
Posts: 1736
Joined: Tue Aug 23, 2005 2:43 pm

Re: Dynamic simulations

Post by David Parker » Tue Nov 19, 2024 8:44 pm

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

POST REPLY