Page 1 of 1

Prescribe pressure at inlet (Dirichlet)

Posted: Tue Apr 23, 2024 1:10 am
by seoye
Hello,
I'm currently trying to prescribe pressure as a inlet boundary condition for the simulation using svFSI.
Looking through the posts that has been already posted on the forum, I have gain some information similar to my question.
But I am still unclear with some parts.

Is there a way to apply pressure as a Dirichlet condition in svFSI?

Also,
1-2. if it is possible to apply pressure as an inlet boundary condition using Dirichlet, is it correct to write as below at .inp file to run svFSI?

Add BC: inlet {
Type: Dir
Time dependence: Steady
Value: {Pressure value}
}

2. In case of svSolver, I have figured that GenBC is used to apply pressure as an inlet boundary condition.
Is GenBC also applicable for svFSI?

Thank you in advance

Re: Prescribe pressure at inlet (Dirichlet)

Posted: Tue Apr 23, 2024 11:03 am
by davep
Hello,

You can also use GenBC in svFSI (see https://github.com/SimVascular/svFSI-Te ... oupling-BC).

However, it would be easier to use

Code: Select all

Add BC: inlet {
Type: Dir
Time dependence: Steady
Value: 100.0
}
Try it and see if it works.

Cheers,
Dave

Re: Prescribe pressure at inlet (Dirichlet)

Posted: Tue Apr 23, 2024 7:54 pm
by seoye
Thank you for the comments.

I have one question regarding the comment that you gave me.

I have tried applying

Add BC: inlet {
Type: Dir
Time dependence: Steady
Value: 100.0
}

and by doing so, it turned out to be applying 100 cm/s velocity at the inlet not the pressure

Did i understood correctly?

Thank you

Re: Prescribe pressure at inlet (Dirichlet)

Posted: Wed Apr 24, 2024 10:45 am
by davep
Hello,

Yes, sorry, it seems that Type: Dir only sets velocity.

You will need to use GenBC.

Cheers,
Dave