|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
|
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Ivan Lau
Join Date: Mar 2009
Location: Hong Kong
Posts: 56
Rep Power: 18 ![]() |
I think you are using OF-1.5, right?
Look for "RASProperties" in the "constant" directory instead. Ivan |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
|
hello,
i got it, thank you. i have one more question do we need to change all the entries? |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Ivan Lau
Join Date: Mar 2009
Location: Hong Kong
Posts: 56
Rep Power: 18 ![]() |
I think you only need to change the RASModel
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
|
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 |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
|
ya thank you man it is working now
|
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 18 ![]() |
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.. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
turbulance model | nathan | FLUENT | 1 | May 1, 2007 08:50 |
About UDF and turbulance model | Eric | FLUENT | 4 | July 23, 2006 02:26 |
Turbulance model for a wing | Hussein | Siemens | 5 | April 18, 2005 03:34 |
turbulance model | J.subramani | CFX | 1 | January 4, 2004 17:00 |
K-epsilon turbulance model | Mechighel farid | Phoenics | 1 | May 1, 2002 07:31 |