CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to change the turbulance model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2008, 11:13
Default Hello, i am new to openfoam,
  #1
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
Hello, i am new to openfoam, i am doing simulation in aircraft cabin thermal comport.for this i am using K-epsilon turbulence model.
i want to change the turbulence model how can i change the turbulence model? can anyone help me?



sivakumar
sivakumar is offline   Reply With Quote

Old   August 18, 2008, 11:46
Default Look for a file in the directo
  #2
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
grtabor is on a distinguished road
Look for a file in the directory "constant" called "turbulenceProperties". This is called a dictionary file and contains the information you need to run turbulent simulations. (Dictionaries are used extensively in OpenFOAM for controlling the code). After the header (lots of commented lines) and the FoamFile entry there should be a line

turbulenceModel kEpsilon;

turbulence on;

which specifies you are running the k-e model (and it is switched on). If you change this to (say) kOmegaSST it will change the model used. The rest of the file contains entries - more dictionaries in fact - containing the coefficients for the model (entry for model X is XCoeffs)

Gavin
grtabor is offline   Reply With Quote

Old   August 18, 2008, 12:33
Default hello thank you for u r replay
  #3
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
hello thank you for u r replay,
actually i tried but i am unable to see the turbulence properties in this file.
i am able to see "polymesh" and "transportproperties" only these two nothing else
sivakumar is offline   Reply With Quote

Old   August 18, 2008, 21:56
Default I think you are using OF-1.5,
  #4
Member
 
Ivan Lau
Join Date: Mar 2009
Location: Hong Kong
Posts: 56
Rep Power: 17
ivanwhlau is on a distinguished road
I think you are using OF-1.5, right?
Look for "RASProperties" in the "constant" directory instead.
Ivan
ivanwhlau is offline   Reply With Quote

Old   August 19, 2008, 04:06
Default hello, i got it, thank
  #5
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
hello,
i got it, thank you. i have one more question
do we need to change all the entries?
sivakumar is offline   Reply With Quote

Old   August 19, 2008, 05:09
Default I think you only need to chang
  #6
Member
 
Ivan Lau
Join Date: Mar 2009
Location: Hong Kong
Posts: 56
Rep Power: 17
ivanwhlau is on a distinguished road
I think you only need to change the RASModel
ivanwhlau is offline   Reply With Quote

Old   August 19, 2008, 06:03
Default i changed only RASModel but it
  #7
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
i changed only RASModel but its giving Following Error

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kOmegaSST


cannot open file

file: /home/junkers/selv_si/OpenFOAM1.5/selv_si-1.5/run/tutorials/simpleFoam/kabineKOm egaSST/2000/omega at line 0.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting
sivakumar is offline   Reply With Quote

Old   August 19, 2008, 07:45
Default The k-omega model needs a fiel
  #8
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
grtabor is on a distinguished road
The k-omega model needs a field called omega to start from - you will need to generate this somehow. This is what the error message is telling you. The easiest approach would probably be to take the epsilon field file, rename it to omega and change its dimensions.

Sorry for the earlier confusion - I'm still using 1.4.1 not 1.5 (must upgrade).

Gavin
grtabor is offline   Reply With Quote

Old   August 19, 2008, 08:47
Default ya thank you man it is working
  #9
Senior Member
 
sivakumar selvaraju
Join Date: Mar 2009
Location: India
Posts: 205
Rep Power: 18
sivakumar is on a distinguished road
Send a message via Skype™ to sivakumar
ya thank you man it is working now
sivakumar is offline   Reply With Quote

Old   February 17, 2009, 06:56
Default hi sivakumar selvaraju sir
  #10
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
hi sivakumar selvaraju sir

i am from india...i am trying to solve naca 0012(c-grid) airfoil case in openfoam 1.4.1....can u tell me how to solve by giving various conditions like lift,drag,velocity,pressure & tell me where to give these conditions...if ur having procedure to solve this case please send me the procedure..
naveen 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
turbulance model nathan FLUENT 1 May 1, 2007 09:50
About UDF and turbulance model Eric FLUENT 4 July 23, 2006 03:26
Turbulance model for a wing Hussein Siemens 5 April 18, 2005 04:34
turbulance model J.subramani CFX 1 January 4, 2004 18:00
K-epsilon turbulance model Mechighel farid Phoenics 1 May 1, 2002 08:31


All times are GMT -4. The time now is 21:04.