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

simpleFoam for transient

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By allenjohngeorge
  • 1 Post By allenjohngeorge

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2018, 16:20
Default simpleFoam for transient
  #1
New Member
 
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 7
majidsvn7 is on a distinguished road
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?!
majidsvn7 is offline   Reply With Quote

Old   December 18, 2018, 11:33
Default
  #2
New Member
 
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12
allenjohngeorge is on a distinguished road
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.
majidsvn7 likes this.
allenjohngeorge is offline   Reply With Quote

Old   December 19, 2018, 03:46
Default
  #3
New Member
 
Majid Arjmandi
Join Date: Oct 2018
Posts: 21
Rep Power: 7
majidsvn7 is on a distinguished road
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?!
majidsvn7 is offline   Reply With Quote

Old   December 19, 2018, 11:29
Default
  #4
New Member
 
Allen George
Join Date: Dec 2013
Posts: 16
Rep Power: 12
allenjohngeorge is on a distinguished road
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.
majidsvn7 likes this.
allenjohngeorge 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
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


All times are GMT -4. The time now is 16:43.