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/)
-   -   Use Wall Friction velocity for calculation in internal Field (https://www.cfd-online.com/Forums/openfoam-programming-development/149448-use-wall-friction-velocity-calculation-internal-field.html)

juhuettn March 4, 2015 10:57

Use Wall Friction velocity for calculation in internal Field
 
Hello all,

I am trying to implement a new turbulence model, which uses the wall friction velocity uTau = sqrt(tauw/rho) for all cells. Hence, I need the wall shear stress of the wall cells for the internal Field above them. All other models I found, calculate the friction velocity either without tauw or they do not use the value of uTau at the wall inside the internal field.

My basic idea is to calculate uTau as ScalarField at the wall. Every cell inside the internal field then locates the nearest wall cell and extracts the value of uTau from that wall cell. Unfortunately I don't know what function could be the best way to start with. I tried to use different ideas of other turbulence models, but i could not get anything to work so far as there is nothing comparable inside OpenFOAM yet (as far as I know).

I am very thankful for any thoughts and ideas!
Regards,
Julian


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