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/)
-   -   how to add a new wall function (https://www.cfd-online.com/Forums/openfoam-programming-development/184568-how-add-new-wall-function.html)

ousoweak March 6, 2017 04:13

how to add a new wall function
 
hi all,

I want to add a new wall function in my OpenFoam programme.
After Icreate two new document named 'nutUSpaldingWallFunction2.c' and 'nutUSpaldingWallFunction2.H' under the folder of "OpenFOAM-v1612+/src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutwallfunctions/",but the OpenFoam can't find the new wall function and shown the error decribed below:

--> FOAM FATAL IO ERROR:
Unknown patchField type nutUSpaldingWallFunction2 for patch type wall

How can I do to add the new wall function into OpenFoam successfully and make the OpenFoam identify it? Can anyone help me ?

Thanks~

Yiming


All times are GMT -4. The time now is 14:22.