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

Simplefoam, steady or unsteady

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

Like Tree2Likes
  • 2 Post By fumiya

Reply
 
LinkBack Thread Tools Display Modes
Old   December 22, 2012, 21:02
Default Simplefoam, steady or unsteady
  #1
Member
 
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 5
hawkeye321 is an unknown quantity at this point
Hi FOAMERS
SIMPLEFOAM is steady, (due to the manual), but when I am running pitzDaily with it, why do I get a solution at times t = 0 to 1000 s?
hawkeye321 is offline   Reply With Quote

Old   December 22, 2012, 23:29
Default
  #2
Senior Member
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 169
Rep Power: 7
fumiya is on a distinguished road
Hi,

The original simpleFoam solver is for the steady calculations. In steady calculations,
deltaT has no effect on the results and is usually set to 1 so that the time means the
number of iterations.

Hope that helps,
fumiya
solefire and hawkeye321 like this.
fumiya is offline   Reply With Quote

Old   February 20, 2013, 05:59
Default
  #3
Member
 
Malik
Join Date: Dec 2012
Location: Austin, USA
Posts: 52
Rep Power: 4
malaboss is on a distinguished road
Hi,
If simpleFoam is for steady calculations, then why is it possible to change the ddtScheme into "Euler" rather than "steadyState" in system/fvSchemes ?

is it ok to apply this change ?

When I tested this on a cylinder at RE = 100 it gave me the same results for Cd and strouhal.
By the way, the results are far from the experiments. With the solver piso and ico, the same mesh and boundary conditions, it is better.

It makes me think that the simple Solver solver should never be used as a transient solver.
Am i right ?
malaboss is offline   Reply With Quote

Old   February 20, 2013, 06:09
Default
  #4
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
simpleFoam is an steady-state solver and those changes has no effect on result
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   February 20, 2013, 06:15
Default
  #5
Member
 
Malik
Join Date: Dec 2012
Location: Austin, USA
Posts: 52
Rep Power: 4
malaboss is on a distinguished road
Thank you, it makes sense now.

It is quite confusing to let the user write Euler in the ddtSchemes. It would be better to fix this scheme as steadyState.
malaboss is offline   Reply With Quote

Old   February 20, 2013, 10:04
Default
  #6
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 161
Blog Entries: 1
Rep Power: 7
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by mahdiiowa View Post
Hi FOAMERS
SIMPLEFOAM is steady, (due to the manual), but when I am running pitzDaily with it, why do I get a solution at times t = 0 to 1000 s?
Hi Mahdi,

i don't know exactly how openFOAM deals with steady state but, one approach is to consider it as transient called (pseudo transient) it add transient term (d/dt) and start run from sensible values like starting from rest (it is easier to get these values for transient than steady state). it deals with transient term in different way from piso algorithm to accelerate solution. finally, you should ignore all values in developing time and only take into consider values after developing time when values become fixed.

good luck
Ahmed Khattab is offline   Reply With Quote

Old   March 14, 2014, 02:51
Default
  #7
New Member
 
卞凤娇
Join Date: Nov 2013
Location: beijing
Posts: 15
Rep Power: 3
jiaojiao is on a distinguished road
Hi ,Fumiya! I want to use LES turbulence model to simulate steady state of wind turbine with smagorinsky model. Could you tell me if I could choose the SimpleFoam solver?I see there are some articles with the method of LES in steady state but not in OF,So I am wondering how to achieve it. I know that LES method are usually used in trasient condition, I want to make sure does the LES inconsistent with simplefoam solver because when I run the MRFSimpleFoam ,it shows the error cannot find the file RASProperties. Could you help me ?
jiaojiao is offline   Reply With Quote

Old   March 14, 2014, 03:07
Default
  #8
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
It does not make any sense to do steady state LES simulations. I would be interested in any articles showing this. Of coarse, you can run a transient solver, on a stable, physically steady case, but this does not make it a steady state solver.
Bernhard is offline   Reply With Quote

Old   March 14, 2014, 03:31
Default
  #9
New Member
 
卞凤娇
Join Date: Nov 2013
Location: beijing
Posts: 15
Rep Power: 3
jiaojiao is on a distinguished road
《Steady-State Large-Eddy Simulations to Study the Stratocumulus to Shallow Cumulus Cloud Transition 》 http://journals.ametsoc.org/doi/abs/...urnalCode=atsc
jiaojiao is offline   Reply With Quote

Old   August 11, 2014, 07:37
Default
  #10
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 144
Rep Power: 4
aylalisa is on a distinguished road
Hi jiaojiao,
did u find an answer on doing LES for a steady state flow?
Ayla
aylalisa is offline   Reply With Quote

Old   March 4, 2015, 05:43
Default simpleFoam steady or unsteady
  #11
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 54
Rep Power: 2
Naresh yathuru is on a distinguished road
Hi Foamers,

I know this can be a silly question. I know that simple foam is a steady state solver and the delta T means the iteration number.

When i run my simulation i get this

Time = 1

smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 7.827025e-13, No Iterations 20
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 5.0458368e-13, No Iterations 22
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 3.9496433e-13, No Iterations 25
GAMG: Solving for p, Initial residual = 1, Final residual = 3.6324613e-11, No Iterations 1000
time step continuity errors : sum local = 6.3981153e-14, global = 3.4832047e-17, cumulative = 3.4832047e-17
smoothSolver: Solving for omega, Initial residual = 0.17479046, Final residual = 5.3209563e-13, No Iterations 20
smoothSolver: Solving for k, Initial residual = 1, Final residual = 7.9795701e-13, No Iterations 22
ExecutionTime = 104.1 s ClockTime = 109 s

So what does No iterations mean here?
I think in trasient solvers there are inner iteration loops .
This is confusing me could some one help me. I tried to go through the simpleFoam.c but i couldnt crack it.

Regards,
Naresh
Naresh yathuru is offline   Reply With Quote

Old   March 4, 2015, 06:00
Default
  #12
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
Those iteration numbers are for solution convergence in each time iteration
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   March 4, 2015, 07:22
Default
  #13
Member
 
Naresh Yathuru
Join Date: Feb 2015
Posts: 54
Rep Power: 2
Naresh yathuru is on a distinguished road
Thank you so much Nima for the quick reply.

Just to clarify , please correct me if i m wrong.

1. These iterations depends on the tolerance value i specify in the FVsolution.
And the tolerance is also global so it stops the simulation when the required convergence is achevied.

solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 1e-06;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration on;
agglomerator faceAreaPair;
nCellsInCoarsestLevel 10;
mergeLevels 1;
}

"(U|k|epsilon|omega|R|nuTilda)"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-06;
relTol 1e-06;
}
}

now i have a doubt if "reltol" plays a role in the inner iterations. Thank you for your time.

with regards,
Naresh
Naresh yathuru is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
conversion steady to unsteady Clementhuon CD-adapco 7 January 26, 2012 05:33
steady to unsteady wlt_1985 FLUENT 6 December 4, 2010 17:17
Steady needs unsteady. nico Main CFD Forum 0 September 21, 2007 04:50
Turbulent: Steady or Unsteady: confusion prem FLUENT 0 March 30, 2006 10:40
steady or unsteady? (in dpm) winnie FLUENT 1 April 28, 2003 11:30


All times are GMT -4. The time now is 11:41.