GroovyBC. Distance from patch face center to wall terrain.
Hi all,
The point is that atmBoundaryLayerInletVelocity uses a zGround variable to impose the logaritmic profile. If the surface is not planar, we could have a problem because Zground is clearly variable. To solve this point I want to use groovyBC. The same mathematical formulation is implemented but I want to use dist() function to calculate the distance the final distance between face center and the terrain. I have used: Code:
boundaryField The appoach that I would like to follow is to impose the wallDistance of the neighbour cell to the face center. Code:
zDistance=dist();wd=internalField(zDistance) How can I obtain an internalField, zDistance, that I can operate with to obtain wd at the patch? Thank you very much |
Quote:
|
All times are GMT -4. The time now is 21:55. |