Page 1 of 1

Change boundary condition on running

Posted: Thu Jan 11, 2018 11:23 pm
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.

Re: Change boundary condition on running

Posted: Fri Jan 12, 2018 4:11 pm
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

Re: Change boundary condition on running

Posted: Sun Jan 14, 2018 2:23 am
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!