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/)
-   -   Create internalfield from boundaryfield (https://www.cfd-online.com/Forums/openfoam-programming-development/196811-create-internalfield-boundaryfield.html)

Dharoc December 17, 2017 11:17

Create internalfield from boundaryfield
 
Hello!

I am interested in studying the viscous sublayer next to a wall in an incompressible fluid flow. I have simulated the fluid flow, and calculated yPlus.

I would now like to create an internalfield, whose values depend on the yPlus-values at the wall. I.e. the value of the internal field at (x,y,z) should be a function of the yPlus-value at (x,0,z) (Assuming that the wall is at y=0, and is perpendicular to the y-axis).

In effect would I like to extrude/project the values of the yPlus-bondaryfield, in the normal direction of that boundary into an internalfield.

How would I go about doing this?

Thanks in advance


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