|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
Hi,
I want to simulate an incompressible laminar flow in steady state. I know, I should use simpleFoam but I don't know how ![]() please tell me How can I do it. thank you |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16 ![]() |
Just set the turbulence model to laminar in RASProperties dictionary.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
hi;
thanks for your help.but I couldn't change any word or number in RASProperties because it's zipped in utilities simpleFoam examples.How can I do it? and my other problem is that I didn't detetrmine any parameter like epsilon, k, nuTilda, and R in my own case because I didn't need them in laminar flow. is it a mater? if no should I omit these terms in transportProperties or in fvSchems and fvSolution or in simpleFoam's main code? thanks. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16 ![]() |
I think it would be best for you to look through the pitzDaily simpleFoam tutorial. The idea when setting up an OF case is to copy an existing tutorial to your run directory and edit the existing files. In the pitzDaily tutorial you will find RASProperties dictionary and all the other files you need. Simply change the turbulence model to laminar, and that's it.
You will not need k, epsilon, etc.. in you 0/ directory because you will be doing a laminar simulation. Therefore, you can also remove references to these terms in the fvSchemes and fvSolution dictionaries. However, there shouldn't be any reference to these terms in the transportProperties dictionary. And unless you are going to write your own solver and compile it, try not to edit any of the solvers source code, there's no need to do that when setting up a case. Hope this helps. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
thanks for your guide. I looked to that case of tutorial and copied it in run directory bat as I said before I can't change the RASProperties code because it's zipped in kuunto version of linux and OpenFOAM-1.5-dev that I'm using. It's my problem. also I tried to make another RASProperties code but I didn't know how could I put it into a zipped file. to run the case correctly.
again I thank you for your helping. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16 ![]() |
I'm not quite sure why RASProperties is zipped, unless you haven't unpackaged and built OpenFOAM.
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
my problem was resolved and I want to thank you for your kindness.
I wish I would have your guides in future. thanks a lot , Good luck ![]() |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
Hi,
excuse me, I came across another problem. When I had deleted the wallFunctionCoeffs from RASProperties as turbulance parameters, I abserved this error: keyword wallFunctionCoeffs is undefined directory "/home/.../constant/ RASProperties" However the wallFunctionCoeffs are determined for turbulence flow. I think, these properties effect in the results, and I don't know what should I do? thanks |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 ![]() |
Hi, you can simply re copy it from an existing example.
Good Luck |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
I know, but it reply me to enter wallFunctionCoeffs however I don't need them for my own case (laminar flow).
You think entering these prperties dosn't effect in the result of laminar flow? |
|
![]() |
![]() |
![]() |
![]() |
#11 | |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 ![]() |
Quote:
RASModel laminar; turbulence off; printCoeffs off; |
||
![]() |
![]() |
![]() |
![]() |
#12 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
Yes,I did. But I don't know what's the problem
![]() why does it ask me these coefficients and not other coefficients? thank you. |
|
![]() |
![]() |
![]() |
![]() |
#13 |
Member
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
Join Date: Sep 2010
Posts: 226
Rep Power: 17 ![]() |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flow meter Design | CD adapco Group Marketing | Siemens | 3 | June 21, 2011 09:33 |
Steady incompressible laminar flow using simpleFoam | yongshenglian | OpenFOAM Running, Solving & CFD | 0 | October 29, 2008 16:28 |
potential flow vs. Euler flow | curious ... | Main CFD Forum | 23 | July 21, 2006 08:40 |
SimpleFoam pipe flow velocity blowup | gzink | OpenFOAM Running, Solving & CFD | 0 | June 9, 2006 17:52 |
Plug Flow | Franck | Main CFD Forum | 3 | September 4, 2003 06:57 |