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

How can we use simpleFoam for laminar flow

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

Like Tree5Likes
  • 4 Post By tcarrigan
  • 1 Post By T.D.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2010, 02:24
Default How can we use simpleFoam for laminar flow
  #1
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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
anijdon is offline   Reply With Quote

Old   November 21, 2010, 13:57
Default
  #2
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 15
tcarrigan is on a distinguished road
Just set the turbulence model to laminar in RASProperties dictionary.
tcarrigan is offline   Reply With Quote

Old   November 22, 2010, 02:50
Default
  #3
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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.
anijdon is offline   Reply With Quote

Old   November 22, 2010, 11:43
Default
  #4
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 15
tcarrigan is on a distinguished road
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.
tcarrigan is offline   Reply With Quote

Old   November 22, 2010, 15:18
Default
  #5
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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.
anijdon is offline   Reply With Quote

Old   November 22, 2010, 15:47
Default
  #6
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 15
tcarrigan is on a distinguished road
I'm not quite sure why RASProperties is zipped, unless you haven't unpackaged and built OpenFOAM.
tcarrigan is offline   Reply With Quote

Old   November 23, 2010, 07:39
Default
  #7
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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
anijdon is offline   Reply With Quote

Old   November 30, 2010, 05:55
Default
  #8
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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
anijdon is offline   Reply With Quote

Old   November 30, 2010, 07:30
Default
  #9
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Hi, you can simply re copy it from an existing example.
Good Luck
T.D. is offline   Reply With Quote

Old   November 30, 2010, 08:49
Default
  #10
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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?
anijdon is offline   Reply With Quote

Old   November 30, 2010, 11:02
Default
  #11
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Quote:
Originally Posted by anijdon View Post
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?
did you put in transportproperties file:

RASModel laminar;

turbulence off;

printCoeffs off;
T.D. is offline   Reply With Quote

Old   November 30, 2010, 14:46
Default
  #12
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
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.
anijdon is offline   Reply With Quote

Old   December 1, 2010, 02:26
Default
  #13
Member
 
Maryam Mousazadeh
Join Date: Oct 2010
Posts: 47
Rep Power: 15
anijdon is on a distinguished road
Quote:
Originally Posted by T.D. View Post
did you put in transportproperties file:

RASModel laminar;

turbulence off;

printCoeffs off;


excuse me, can we use icoFoam in steady state if my problem has not be resolv?how?
anijdon is offline   Reply With Quote

Old   December 1, 2010, 03:52
Default
  #14
Senior Member
 
Join Date: Sep 2010
Posts: 226
Rep Power: 16
T.D. is on a distinguished road
Quote:
Originally Posted by anijdon View Post
excuse me, can we use icoFoam in steady state if my problem has not be resolv?how?
yes , but you must change the ddtSchemes in the system/fvSchemes to "steadyState".
Good Luck
Hamoon likes this.
T.D. is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flow meter Design CD adapco Group Marketing Siemens 3 June 21, 2011 08:33
Steady incompressible laminar flow using simpleFoam yongshenglian OpenFOAM Running, Solving & CFD 0 October 29, 2008 15:28
potential flow vs. Euler flow curious ... Main CFD Forum 23 July 21, 2006 07:40
SimpleFoam pipe flow velocity blowup gzink OpenFOAM Running, Solving & CFD 0 June 9, 2006 16:52
Plug Flow Franck Main CFD Forum 3 September 4, 2003 05:57


All times are GMT -4. The time now is 17:40.