Change boundary condition on running

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Xepls
Posts: 10
Joined: Sun Dec 03, 2017 3:24 pm

Change boundary condition on running

Post by Xepls »

Hi!

I have one question.

Is possible to change de BC on a running test? I want to say, outlet to wall? or any other BC

that is for I need to simulate the close of a valve.
Luciano Garelli
Posts: 284
Joined: Fri Dec 04, 2015 1:42 pm

Re: Change boundary condition on running

Post by Luciano Garelli »

Hello,

I'm really not sure that you can change a BC type during runtime, but may be a workaround to this problem is to set a time varying porosity or head loss on the cells that represent the valve.

Also, you can check these posts, maybe can help you.

viewtopic.php?f=2&t=2047

viewtopic.php?f=2&t=1968


Regards,
Luciano
Xepls
Posts: 10
Joined: Sun Dec 03, 2017 3:24 pm

Re: Change boundary condition on running

Post by Xepls »

Hi!

Thanks for you answer Luciano.

I already change my boundary condition outlet --> wall or any other BC. not only that, I too changed in the same group, BC for each face.

I used subroutine cs_user_boundary_condition.f90, physics time (ttcabs), geometrical variables, and conditions.

I try too using porosity condition to comparation of result.

Thanks!
Post Reply