CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Access to Domain Pressure Field or mesh (http://www.cfd-online.com/Forums/openfoam/74924-access-domain-pressure-field-mesh.html)

ar_mofidi April 12, 2010 06:47

Access to Domain Pressure Field or mesh
 
I want to define 'pressure field' (P) in nuSgsWallFunctionFvPatchScalarField.C. (OpenFOAM/OpenFOAM-1.6/src/turbulenceModels/incompressible/LES/derivedFvPatchFields/wallFunctions/nuSgsWallFunctions/nuSgsWallFunction). I need pressure field in order to calculate grad(p) to use in this file. I can access to p only on the patches which don't let us calculate grad(p). Are there any ways to get 'p' field in such file?
Furthermore mesh is not declared in this code! Are there any ways to declare mesh in this code??

thanks in advance


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