CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Boundary condition updates (https://www.cfd-online.com/Forums/openfoam-programming-development/232272-boundary-condition-updates.html)

mxa261 December 7, 2020 14:38

Boundary condition updates
 
Hello all,

I am writing a new boundary for the velocity field. I intend to use the pisoFoam solver.
As I noticed, in each time step, boundary condition is updated several times, including three times for Ux Uy Uz, and one time for pressure equation, other times for 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 occurs at the beginning and for the turbulent quantities. Is there any way that I can avoid it for the turbulent quantity too?

Thanks for helping in advance.

Best,
Mehrshad

mxa261 December 16, 2020 18:09

Any opinions?


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