|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 7 ![]() |
Hi, in the description of simpleFoam solver have been written for steady state case but If i want to use simple algorithm for transient problem, which solver is proper than others?!
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12 ![]() |
simpleFoam is a steady state solver. You can use pimpleFoam for solving transient problems.
If you want to use simple algorithm for transient problems, then to will have to modify the source code of simpleFoam and make new solver by including the time derivative term also. simpleFoam U.Eqn { fvm::div(phi, U) + turbulence->divDevReff(U) == fvOptions(U) } pimpleFoam U.Eqn { fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) == fvOptions(U) } you can see that the time derivative term is absent in simpleFoam So if you want to use it for transient, you have to include the time derivative terms both in U.Eqn and p.Eqn and rebuild the solver. Always try to make a copy the existing solver edit it and rename the new solver. Do not make any changes in the existing solvers. The procedures to be followed while modifying solver are dicussed in other threads. check that too. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 7 ![]() |
Thank you for comprehensive reply,but I think the pimpleFoam solver is suitable for dynamic mesh.but my problem is not, Can I use this solver for non-dynamic mesh geometries?!
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12 ![]() |
Yes, pimpleFoam can be used only for non-dynamic meshes.
For dynamic meshes you have to use pimpleDymFoam. Check the userguide of openfoam to know the usage of each solver. It is clearly mentioned there the conditions at which each solver can be used. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
MPI error with simpleFoam | blaise | OpenFOAM Running, Solving & CFD | 0 | November 7, 2015 14:01 |
simpleFoam parallel solver & Fluent polyhedral mesh | Zlatko | OpenFOAM Running, Solving & CFD | 3 | September 26, 2014 06:53 |
Laminar simpleFoam and inviscid simpleFoam | herenger | OpenFOAM Running, Solving & CFD | 7 | July 11, 2013 06:27 |
Trying to run a benchmark case with simpleFoam | spsb | OpenFOAM | 3 | February 24, 2012 09:07 |