|
[Sponsors] |
July 14, 2016, 16:21 |
steady and unsteady case
|
#1 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
i am a new user of OpenFoam and CFD.
i have used ansys fluent and there is no input parameter for time in steady case simulation,but for every simulation of OpenFoam we have to specify delta T (time) and end time, so how can i simulate steady case? how can i decide that my simulation is now in steady state. please explain. can you suggest me some tutorial or guide for learning openfoam. |
|
July 14, 2016, 16:38 |
|
#2 |
Member
Joćo Ferreira
Join Date: Nov 2014
Location: Braga, Portugal
Posts: 53
Rep Power: 12 |
The delta T you specify on the steady state cases are just for counting the iterations, so the best practice is to use 1.
A steady state case can be solve using steady state solvers, like simpleFoam. Check the pitzDaily tutorial, the fvSolution contains the entry for the simple algorithm which defines the residual values for each variable. As soon as the residuals are below that value, the simulation stops and the case is considered converged (keep in mind that these values are inserted by the user). Code:
$FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily |
|
July 19, 2016, 10:05 |
|
#3 | |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
Quote:
so we can use any unsteady solver for steady simulation and we just need to modify delta time as 1? am i right? so icoFoam will work for steady, laminar, Newtonian fluid if i change delta time to 1? and in openfoam manual simpleFoam is for Steady-state solver for incompressible, turbulent flow. i read in a post and tried for laminar case by modifying turbulenceProperties file in constant folder model as 'laminar' and turbulent off but i got a message FOAM FATAL ERROR: Unknown RASModel type laminar Valid RASModel types: 17 ( LRR LamBremhorstKE LaunderSharmaKE LienCubicKE LienLeschziner RNGkEpsilon SSG ShihQuadraticKE SpalartAllmaras kEpsilon kOmega kOmegaSST kOmegaSSTSAS kkLOmega qZeta realizableKE v2f ) pls help me thank! |
||
July 19, 2016, 10:24 |
|
#4 |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
i tried icoFoam for steady case with delta time = 1 and i got an error
Courant Number mean: 4185.94 max: 25065.3 #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:? #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<d ouble>&, Foam::Field<double> const&, unsigned char, int) const at ??:? #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 ? at ??:? #7 ? at ??:? #8 ? at ??:? #9 ? at ??:? #10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #11 ? at ??:? Floating point exception (core dumped) |
|
July 19, 2016, 10:37 |
|
#5 | |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 12 |
Quote:
Code:
ddtSchemes { default steadyState; } Setting delta to 1 is just a convention. When using a steady state solver, the solver will still do "time" iterations. these however are physically meaningless so they are used to count iterations. Setting deltat to 0.001 or to 1 has no impact on the results. |
||
July 19, 2016, 10:40 |
|
#6 | |
Member
Saurav Kumar
Join Date: Jul 2016
Posts: 80
Rep Power: 10 |
Quote:
thanks again |
||
July 19, 2016, 10:55 |
|
#7 | |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 12 |
Quote:
It seems that IcoFOAM is indeed the best choice, but you will have to read some more on the correct numerical schemes to be used. I'm afraid i don't know enough about this to provide any meaningful help. Alternatevely, SimpleFOAM can be used. Depending on your problem you may find a tutorial that is highly identical to yours, just be sure to turn off turbulence by setting Code:
simulationType laminar; |
||
September 9, 2024, 07:18 |
|
#8 |
New Member
Dhiraj Lote
Join Date: Jul 2015
Location: Mumbai, India
Posts: 20
Rep Power: 11 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulating an unsteady phenomenon with a steady model | JochemGrietens | Main CFD Forum | 2 | April 13, 2016 12:51 |
Is it possible to use Unsteady DPM with Steady flow case ? | souria | FLUENT | 0 | October 9, 2014 12:48 |
Steady and Unsteady nature | Natali_Beginner | FLUENT | 15 | April 21, 2013 13:43 |
Steady or Unsteady Case | aqib | FLUENT | 0 | December 22, 2010 02:55 |
steady or unsteady? (in dpm) | winnie | FLUENT | 1 | April 28, 2003 12:30 |