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

Which Solver should I choose?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2011, 13:51
Default Which Solver should I choose?
  #1
New Member
 
Mike
Join Date: May 2011
Posts: 19
Rep Power: 14
mikemech is on a distinguished road
Hello,
I would like to simulate incompressible laminar flow over a semi-infinite flat plate at zero incidence, with constant density throughout the flowfield.

The thing is that I want to compare the results that I will get with OF, with a homemade algorithm that I have built in FORTRAN, that simply solves the Continuity and X-Momentum equations, like listed in the attachment.

I am thinking of choosing icoFoam or simpleFoam with turbulence turned off, but I can't understand how they are different (Transient vs Steady State solver) and what will the impact on my obtained solution be.

If anybody has a remark, I would be grateful

Mike
Attached Images
File Type: jpg eqs.jpg (24.4 KB, 24 views)
mikemech is offline   Reply With Quote

Old   June 4, 2011, 14:04
Default
  #2
New Member
 
Join Date: Aug 2010
Location: Chennai
Posts: 24
Rep Power: 15
ramhari is on a distinguished road
If you are interested in steady state solution, u can opt for simpleFoam.
ramhari is offline   Reply With Quote

Old   June 4, 2011, 14:13
Default
  #3
New Member
 
Mike
Join Date: May 2011
Posts: 19
Rep Power: 14
mikemech is on a distinguished road
So, if I choose simpleFoam, what would be a reasonable value for timeStep in ControlDict? Should I set timeStep= 1 sec and run until convergence?
mikemech is offline   Reply With Quote

Old   June 4, 2011, 16:38
Default
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Yes, and if you want 1D case, create a mesh with only one cell in the Y and Z direction.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   June 6, 2011, 17:09
Default
  #5
New Member
 
Mike
Join Date: May 2011
Posts: 19
Rep Power: 14
mikemech is on a distinguished road
Well, I want to increase Reynolds (~10^7) so that I have turbulent flow. I used k-epsilon model. I just introduced 2 files (k and epsilon) under 0 folder and the necessary fvschemes and fvsolution modifications. Is this correct? Or do I need other changes and files under 0 folder, like nutilda ?

And after that, how can I plot the u-velocity in gnuplot or paraview (if possible), towards timesteps ?

Thanks!

PS: i added 2 images. The first is the laminar fully developed boundary layer and the second is the turbulent fully developed boundary layer.
Attached Images
File Type: jpg laminar.jpg (20.8 KB, 21 views)
File Type: jpg turbulent.jpg (20.3 KB, 22 views)

Last edited by mikemech; June 6, 2011 at 17:34. Reason: images added
mikemech is offline   Reply With Quote

Old   December 13, 2011, 13:38
Default
  #6
New Member
 
Ricardo
Join Date: Sep 2011
Posts: 15
Rep Power: 14
rvmedina20 is on a distinguished road
mikemech, Alberto....

why would one need to give a time step to this type of problem, when you are doing steady-state simulation??? if you have steady-state the time dependence would disappear wouldn't it??? Thanks


-Ricardo

Quote:
Originally Posted by alberto View Post
Yes, and if you want 1D case, create a mesh with only one cell in the Y and Z direction.

Best,
rvmedina20 is offline   Reply With Quote

Old   December 13, 2011, 23:47
Default
  #7
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by rvmedina20 View Post
mikemech, Alberto....

why would one need to give a time step to this type of problem, when you are doing steady-state simulation??? if you have steady-state the time dependence would disappear wouldn't it??? Thanks


-Ricardo
In steady-state solvers, the time-step is just a counter for the number of iterations. Simply use 1.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto 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
[Other] A New Solver for Supersonic Combustion nakul OpenFOAM Community Contributions 20 February 22, 2019 09:08
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Solver and geometry choose for drag coefficient calculation around circular cylinder at large Re lin OpenFOAM Running, Solving & CFD 3 April 16, 2009 10:50
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
can use coupled solver to calculate combustion cfdfans FLUENT 0 November 25, 2003 04:48


All times are GMT -4. The time now is 10:30.