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

EngineFoam OpenFoam v2.2.1

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 8, 2013, 16:51
Default EngineFoam OpenFoam v2.2.1
  #1
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 6
AA29 is on a distinguished road
Hi everyone,

I am trying to use engineFoam (OpenFoam v2.2.1)solver which is basically a RANS solver, for LES modeling. But once i specify the turbulence model as LES, provide LES properties file, and try and run the solver i get the following error :

--> FOAM FATAL ERROR:

request for volScalarField mut from objectRegistry region0 failed
available objects of type volScalarField are

20
(
thermo:mu
thermosi
b
hau
rho
sqr(((-(0.666667*tr(symm(grad(U))))+sqrt((sqr((0.666667*t r(symm(grad(U)))))+((4*(ce|delta))*(((2*ck)*delta) *(dev(symm(grad(U)))&&symm(grad(U))))))))|(2*(ce|d elta))))
(((2*ck)*delta)*(dev(symm(grad(U)))&&symm(grad(U)) ))
delta
(0.666667*tr(symm(grad(U))))
ha
thermosi_0
p
T
Tu
alphaSgs
geometricDelta
(ce|delta)
muSgs
thermo:alpha
ft
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 164.


Since "mut" is defined for RANS modeling i am confused.Do I need to modify the turbulenceModel.C file in this case?
I tried adding a volScalarfield "mut" to the createFields.H file , just to get things going but i still get the same error.

Please note that I had been switching to LES in version 2.1.1 of the same solver , in the same way without any errors.

Any help will be appreciated.

Thanks in Advance.
AA29 is offline   Reply With Quote

Old   September 8, 2013, 20:06
Post
  #2
New Member
 
胡长旭
Join Date: Aug 2013
Posts: 26
Rep Power: 5
hcx552362 is on a distinguished road
Quote:
Originally Posted by AA29 View Post
Hi everyone,

I am trying to use engineFoam (OpenFoam v2.2.1)solver which is basically a RANS solver, for LES modeling. But once i specify the turbulence model as LES, provide LES properties file, and try and run the solver i get the following error :

--> FOAM FATAL ERROR:

request for volScalarField mut from objectRegistry region0 failed
available objects of type volScalarField are

20
(
thermo:mu
thermosi
b
hau
rho
sqr(((-(0.666667*tr(symm(grad(U))))+sqrt((sqr((0.666667*t r(symm(grad(U)))))+((4*(ce|delta))*(((2*ck)*delta) *(dev(symm(grad(U)))&&symm(grad(U))))))))|(2*(ce|d elta))))
(((2*ck)*delta)*(dev(symm(grad(U)))&&symm(grad(U)) ))
delta
(0.666667*tr(symm(grad(U))))
ha
thermosi_0
p
T
Tu
alphaSgs
geometricDelta
(ce|delta)
muSgs
thermo:alpha
ft
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /usr/apps1/openfoam-2.2.1/OpenFOAM-2.2.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 164.


Since "mut" is defined for RANS modeling i am confused.Do I need to modify the turbulenceModel.C file in this case?
I tried adding a volScalarfield "mut" to the createFields.H file , just to get things going but i still get the same error.

Please note that I had been switching to LES in version 2.1.1 of the same solver , in the same way without any errors.

Any help will be appreciated.

Thanks in Advance.
Hi
I think your 0 files has some question, Maybe you should check it.
good luck
hcx552362 is offline   Reply With Quote

Old   September 28, 2015, 10:27
Default
  #3
New Member
 
Amir
Join Date: Jul 2011
Location: Shiraz
Posts: 15
Rep Power: 7
infinity is on a distinguished road
hi I've got same problem did you solve the problem
Did you try changing nuSgs to muSgs in source files code?
infinity is offline   Reply With Quote

Old   January 1, 2016, 23:06
Default Try this
  #4
New Member
 
Eslam Reda
Join Date: Jun 2009
Posts: 16
Rep Power: 9
Eslam Reda is on a distinguished road
I know it's too late to reply but just for future users.
This problem happens due to the misuse of wall functions, try using suitable ones for your model.
Eslam Reda is offline   Reply With Quote

Old   January 2, 2016, 04:57
Default
  #5
Member
 
Oskar
Join Date: Nov 2015
Posts: 36
Rep Power: 3
sheaker is on a distinguished road
I have just run engineFoam for LES turbulence model without errors in openFoam 2.2.1.
Remember that openFoam 2.1.1 is bugged.

1. Copy LESProperties to your constant folder.
2. Change in turbulenceProperties to LESModel.
3. Copy files muSgs and alphaSgs to -180 folder.
3. Change names of boundaryField to piston, liner and cylinderHead (as You call the group of outer faces) in Your files muSgs and alphaSgs.

I haven't done analyse of results yet.
sheaker 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
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
2009 OpenFOAM Summer School in Zagreb, Croatia hjasak OpenFOAM Announcements from Other Sources 0 March 27, 2009 13:08
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 07:14


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