CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary-Condition for k-epsilon model (https://www.cfd-online.com/Forums/openfoam-pre-processing/214059-boundary-condition-k-epsilon-model.html)

Echomer January 17, 2019 16:27

Boundary-Condition for k-epsilon model
 
Hi,
I have a newbie question. I set up a simulation for flow through a pipe using a k-epsilon turbulence model. My wall boundary condition for U is a no-slip:

wall:
U: fixed Value (uniform (0 0 0))

I am using wall functions for k, epsilon and nut and I get a velocity profile that goes down to 0 at the walls.

When I do the same simulation with Comsol Multiphysics using a k-epsilon model and wall functions, I get a velocity profile that is non-zero at the walls. This is explained because wall-functions model the flow only to the beginning of the buffer-layer.

My question now is: what is the right way to do it in OpenFoam? Shouldn't the velocity at the walls also be non-zero when using wall functions?

Thanks in Advance!


All times are GMT -4. The time now is 00:29.