CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Own turbulence model: cell loop (http://www.cfd-online.com/Forums/openfoam-programming-development/74747-own-turbulence-model-cell-loop.html)

bastil April 7, 2010 17:25

Own turbulence model: cell loop
 
Hi,

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 14:04.