|
[Sponsors] |
February 6, 2012, 03:40 |
new les wall function
|
#1 |
New Member
Jimmy Okua
Join Date: Jan 2012
Location: Milan
Posts: 3
Rep Power: 14 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall function for velocity? | johnblund | OpenFOAM | 3 | September 6, 2022 07:22 |
LES wall function | ayoros | OpenFOAM Running, Solving & CFD | 11 | February 9, 2017 06:34 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
Need some wall function approaches! | yka8150 | Main CFD Forum | 0 | September 21, 2009 23:08 |
LES wall treatment | Valerio | FLUENT | 0 | April 26, 2008 07:12 |