k-epsilon and pisoFoam
i have a case where i have sent a 2m/s velocity and observe the trail around a cube.
I have successfully done it in Fluent.
i had as boundary condition the inlet velocity, the outflow and the symmetry for my domain then the wall for the cube. i was in turbulent regime and using K-epsilon model with Simple algorithm.
Now i wish to apply it to Openfoam.
so i chose pisoFoam and Ras model
I have changed my U and P Boundary cond accordingly..
My problem is i do not know how to modify the K-epsilon and fv solution and fv scheme accordingly..:(
Any idea from the experienced user on how to modify the above mentioned specifications??
As a starting point, have a look at one of the tutorial cases.
You should use wall functions for k (kqRWallFunction), epsilon (epsilonWallFunction) and nut (nutUWallFunction) at the walls.
At the inlet you can use the following two boundary conditions to estimate k and epsilon based on the turbulent intensity and the length scale:
turbulentMixingLengthDissipationRateInlet for epsilon
turbulentIntensityKineticEnergyInlet for k
hi thanks for your reply.
here is my modified files but i found this error..
Hi zaynah,you have a missing curly bracket at the defintion of p
in fact you are right and also i had done a mistake on the K file in Boundary condition..
it now work beautifully..
|All times are GMT -4. The time now is 18:38.|