CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Own turbulence model: cell loop (

bastil April 7, 2010 17:25

Own turbulence model: cell loop

I want to write my own turbulence model. I looked into existing models in 1.5-dev and found some similar models. However, in my model I want to apply different formulations for epsilon and nut depending on the wall distance.
I guess therefore I have to look over all cells to check wall distance for each cell? How is this loop done? I only found loops over faces in the wall-functions. The default behaviour seems to be to solve the equations globally not individually for echa cell, right?

Thanks Bastian

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