new les wall function
Hi OFoamers
, I'm new in openfoam cfd toolbox and I'm using OF 2.0.1. I'm trying to implement a new LES wall function. In particular, I'm interesting to make a wall fuction near at mutkRoughWallFunction in RAS turbolence. I've already copied mutkRoughWallFunction directory, renamed it like muSgsRoughWallFunction and modified .C and .H files. After that, I see that there are not make directory; so I copied the cartel LES from src to my user application folder and moved my muSgsRoughWallFunction into wallfunction cartel. I after added my new wall function in LES/make/files, and changed dinamic library name. By terminal, in the user application/LES I write: <wclean <wmake libso , and I have a list of compiling errors. In file included from derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:26: derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.H:49:48: error: mutkWallFunctionFvPatchScalarField.H: No such file or directory In file included from derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:26: derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.H:67: error: expected class-name before ‘{’ token ... derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C: In member function ‘virtual Foam::tmp<Foam::Field<double> > Foam::compressible::LESModels::muSgsRoughWallFunct ionFvPatchScalarField::calcMut() const’: derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:68: error: ‘patch’ was not declared in this scope derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:70: error: ‘db’ was not declared in this scope derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:70: error: expected primary-expression before ‘>’ token derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:71: error: ‘const class Foam::compressible::LESModel’ has no member named ‘y’ derivedFvPatchFields/wallFunctions/muSgsWallFunctions/muSgsRoughWallFunction/muSgsRoughWallFunctionFvPatchScalarField.C:77: error: ‘Cmu_’ was not declared in this scope ... can you help me? |
All times are GMT -4. The time now is 16:05. |