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

Meaning of time step and time in SimpleFoam.

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2021, 10:01
Default Meaning of time step and time in SimpleFoam.
  #1
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5
night-hawk is on a distinguished road
Hi Everyone,


I am doing a simulation with MRF. Simulation must run up to 10s . Does setting end time = 10 in controlDict works? For PimpleFoam it is easy to understand this thing. But in simplefoam what does it mean?
night-hawk is offline   Reply With Quote

Old   October 14, 2021, 10:31
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hi,

Since simpleFoam is a steady solver there is no notion of time, but only a number of iteration. So basically timeStep is 1 and endTime is the maximum number of iterations you want to run. (lets say, 2000)

But you can set timeStep to 0.1 and endTime to 200, it will be exactly the same (it will run 2000 iterations)

Saying "Simulation must run up to 10s" does not really make sense with a steady solver.

Keep in mind OpenFOAM is coded to be very generic so controlDict is meant to deal with time and timesteps despite those names are not really relevant for the specific case of steady solvers.

I hope this helps,
Yann
night-hawk likes this.
Yann is offline   Reply With Quote

Old   October 14, 2021, 11:14
Default
  #3
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5
night-hawk is on a distinguished road
Quote:
Originally Posted by Yann View Post
Hi,

Since simpleFoam is a steady solver there is no notion of time, but only a number of iteration. So basically timeStep is 1 and endTime is the maximum number of iterations you want to run. (lets say, 2000)

But you can set timeStep to 0.1 and endTime to 200, it will be exactly the same (it will run 2000 iterations)

Saying "Simulation must run up to 10s" does not really make sense with a steady solver.

Keep in mind OpenFOAM is coded to be very generic so controlDict is meant to deal with time and timesteps despite those names are not really relevant for the specific case of steady solvers.

I hope this helps,
Yann
What about simpleFoam with MRF? If I apply rotation using MRF with simpleFoam.
night-hawk is offline   Reply With Quote

Old   October 14, 2021, 11:48
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
I am sorry but I am not sure to understand your question, using MRF or not does not make a difference for what is written in my previous post.

MRF is a steady state method to model rotating objects, there is no mesh or part motion. (You could not use a transient modeling technique in a steady solver framework anyway)

Yann
Yann is offline   Reply With Quote

Old   October 14, 2021, 11:59
Default
  #5
Member
 
Ashutosh
Join Date: Jul 2021
Location: India
Posts: 76
Rep Power: 5
night-hawk is on a distinguished road
Quote:
Originally Posted by Yann View Post
I am sorry but I am not sure to understand your question, using MRF or not does not make a difference for what is written in my previous post.

MRF is a steady state method to model rotating objects, there is no mesh or part motion. (You could not use a transient modeling technique in a steady solver framework anyway)

Yann
Thanks for your reply, My confusion was if I do simulation with pimpleFoam + MRF and take it readings after it becomes steady and doing same simulation with simpleFoam + MRF will answer be different?
night-hawk 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
Convergence problem of OF WUYing OpenFOAM Running, Solving & CFD 2 September 20, 2021 11:09
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores puneet336 OpenFOAM Running, Solving & CFD 11 April 7, 2019 01:58
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58


All times are GMT -4. The time now is 01:33.