CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Time-dependent boundary condition (https://www.cfd-online.com/Forums/openfoam-solving/255580-time-dependent-boundary-condition.html)

Alijr April 17, 2024 08:03

Time-dependent boundary condition
 
Hi
I am trying to run a simulation with time-dependent back pressure (at the outlet), using rhoCentralFoam solver. It says in the manual that we can do this by using:



outlet
{
type uniformFixedValue;
uniformValue table
(
(0 100)
(5e-07 200)
(1e-06 300)
(1.5e-06 400)
(2e-06 500)
(2.5e-06 600)
(3e-06 700)
(3.5e-06 800)
(4e-06 900)
}


The simulation runs for a few time steps with a constant back pressure (to achieve a steady-state case before varying the back pressure), and the moment it hits the time step at which the pressure starts changing, it diverges.
I tried using a very low Courant number, and very low variation in pressure (probably 10 Pascals increment), but it always diverges.
Does anyone have a solution for this?


All times are GMT -4. The time now is 06:38.