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/)
-   -   Boundary condition updates (https://www.cfd-online.com/Forums/openfoam-solving/233191-boundary-condition-updates.html)

mxa261 January 17, 2021 19:43

Boundary condition updates
 
Hello all,

I am writing a new boundary for the velocity field. I intend to use the pisoFoam solver (LES; LESModel: kEqn).
As I noticed, in each time step, boundary condition is updated several times, including three times for Ux Uy Uz, one time for pressure equation, and other times for k turbulence equation. I need to reduce these updates to only once at each time step.

Currently, I could reduce it to two times at each time step by using "updateCoeffs()", which one occurs at the beginning and the other one occurs for the turbulent quantity. Is there any way that I can avoid it for the turbulent quantity too?

Thanks for helping in advance.

Best,
Mehrshad


All times are GMT -4. The time now is 16:08.