CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

new les wall function

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 6, 2012, 04:40
Default new les wall function
  #1
New Member
 
Jimmy Okua
Join Date: Jan 2012
Location: Milan
Posts: 3
Rep Power: 5
gimba86 is on a distinguished road
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?
gimba86 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LES wall function ayoros OpenFOAM Running, Solving & CFD 6 September 4, 2014 15:44
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Wall function for velocity? johnblund OpenFOAM 0 March 10, 2011 09:50
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


All times are GMT -4. The time now is 05:55.