I want to set pressure as a boundary condition in the cplBC framework

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Ryo shimodoumae
Posts: 6
Joined: Mon Jun 27, 2022 12:03 am

I want to set pressure as a boundary condition in the cplBC framework

Post by Ryo shimodoumae » Wed Sep 04, 2024 1:24 am

Hello,
I am using the cplBC framework to perform an FSI simulation of a blood vessel with the svFSI solver.
I understand how to define flow rate as a boundary condition at the inlet and RCR boundary condition at the outlet, but I don't know how to define pressure as a boundary condition at the inlet and outlet.
If anyone knows, please let me know.
Thank you in advance.

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

Re: I want to set pressure as a boundary condition in the cplBC framework

Post by David Parker » Wed Sep 04, 2024 1:16 pm

Hello,

You can define pressure boundary condition using a resistance boundary condition (see https://github.com/SimVascular/svFSIplu ... SIplus.xml).

Cheers,
Dave

User avatar
Ryo shimodoumae
Posts: 6
Joined: Mon Jun 27, 2022 12:03 am

Re: I want to set pressure as a boundary condition in the cplBC framework

Post by Ryo shimodoumae » Wed Sep 04, 2024 10:59 pm

Hello David,

Thank you for your reply.
Does the code you provided impose a constant pressure as a boundary condition?
Is it possible to give a pressure waveform as a boundary condition, like flow rate?

Thank you,
Ryo

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

Re: I want to set pressure as a boundary condition in the cplBC framework

Post by David Parker » Thu Sep 05, 2024 10:41 am

Hi Ryo,

You can use a Neumann boundary condition to set a pressure boundary condition. For example

Code: Select all

   <Add_BC name="outlet_surface" > 
      <Type> Neumann </Type>
      <Time_dependence> Unsteady </Time_dependence> 
      <Temporal_values_file_path> pressure.dat </Temporal_values_file_path>
    </Add_BC>  
You can also couple the boundary surface to the svZeroDSolver (see https://github.com/SimVascular/svFSIplu ... e_RCR_sv0D).

Cheers,
Dave

POST REPLY