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

EngineFoam OpenFoam v2.2.1

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sheaker

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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: 12
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: 14
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, 22:06
Default Try this
  #4
New Member
 
Eslam Reda
Join Date: Jun 2009
Posts: 19
Rep Power: 16
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, 03:57
Default
  #5
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
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

Old   January 25, 2018, 15:04
Default
  #6
New Member
 
savita
Join Date: Feb 2017
Posts: 5
Rep Power: 9
renaul4 is on a distinguished road
Quote:
Originally Posted by sheaker View Post
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.
Hello Oskar,

I'm working on similar application of LES turbulence model in my engineFoam solver in openFoam version 2.4. I'm curious if the above steps lead to correct solution or you made further changes in the solver.
Please advise.


Thanks
renaul4 is offline   Reply With Quote

Old   January 25, 2018, 15:16
Default
  #7
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Hello.
I just run it. I haven't validate results.
Here is comparison of RANS and LES but no changes for LES settings were made:
https://www.youtube.com/watch?v=HLiJbf95QG4
https://www.youtube.com/watch?v=KA--7CpiCTA
renaul4 likes this.
sheaker is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03: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 12: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 19:47.