Page 1 of 1

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

Posted: Wed Sep 04, 2024 1:24 am
by 0914ryo
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.

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

Posted: Wed Sep 04, 2024 1:16 pm
by davep
Hello,

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

Cheers,
Dave

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

Posted: Wed Sep 04, 2024 10:59 pm
by 0914ryo
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

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

Posted: Thu Sep 05, 2024 10:41 am
by davep
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