CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

strategy to enhance of time steps

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2016, 03:27
Red face strategy to enhance of time steps
  #1
New Member
 
faraz
Join Date: Nov 2015
Posts: 8
Rep Power: 10
farazmardazad is on a distinguished road
Hi all,
I try to simulate an unsteady multiphase issue with vof model, but time step size for continuity convergence is order of e^10-6, and flow time is about an hour, so i can't simulate it because of very high computational expense.

Are there a strategy to enhance time step size?

thank you for answers.
farazmardazad is offline   Reply With Quote

Old   June 7, 2016, 16:04
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 17
fluid23 is on a distinguished road
Can you describe how you arrived at your time step and why the total simulation time needs to be one hour?
fluid23 is offline   Reply With Quote

Old   June 7, 2016, 17:34
Cool
  #3
New Member
 
faraz
Join Date: Nov 2015
Posts: 8
Rep Power: 10
farazmardazad is on a distinguished road
Quote:
Originally Posted by MBdonCFD View Post
Can you describe how you arrived at your time step and why the total simulation time needs to be one hour?
I use variable time step with courant number=2, time step automatically change to near 10^-6. i simulate a big tank fill process that have about one hour filling time.
farazmardazad is offline   Reply With Quote

Old   June 7, 2016, 17:50
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by farazmardazad View Post
I use variable time step with courant number=2, time step automatically change to near 10^-6. i simulate a big tank fill process that have about one hour filling time.

what about the physical dimensions of the tank, the size of the computational domain and the velocity?
FMDenaro is online now   Reply With Quote

Old   June 7, 2016, 18:03
Default
  #5
New Member
 
faraz
Join Date: Nov 2015
Posts: 8
Rep Power: 10
farazmardazad is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
what about the physical dimensions of the tank, the size of the computational domain and the velocity?
volume of tank =5 cubic meter
number of mesh = 170000, but it's low
mass flow rate = 0.15 kg/s.
farazmardazad is offline   Reply With Quote

Old   June 7, 2016, 18:27
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by farazmardazad View Post
volume of tank =5 cubic meter
number of mesh = 170000, but it's low
mass flow rate = 0.15 kg/s.

well, consider that in each direction ci = ui dt/ hi but, depending on the scheme you are using, the numerical stability does not depend only on the courant number but is it a combination with the diffusive constraint.
Are you using an explicit time integration?
FMDenaro is online now   Reply With Quote

Old   June 7, 2016, 18:53
Default
  #7
New Member
 
faraz
Join Date: Nov 2015
Posts: 8
Rep Power: 10
farazmardazad is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
well, consider that in each direction ci = ui dt/ hi but, depending on the scheme you are using, the numerical stability does not depend only on the courant number but is it a combination with the diffusive constraint.
Are you using an explicit time integration?
No, i am using implicit formulation, because of pressure-based solver.
farazmardazad is offline   Reply With Quote

Old   June 8, 2016, 03:06
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by farazmardazad View Post
No, i am using implicit formulation, because of pressure-based solver.
that should allow higher time step.... I suggest to check during the solution to write the values of max(ci) and max(alphai), this latter being the diffusive stability parameter.

But with your small time step the solution is physically acceptable after a certain amount of steps? I always suspect a bug in the solver.
FMDenaro is online now   Reply With Quote

Old   June 8, 2016, 06:45
Default
  #9
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
It is not clear to me if this is a commercial code, community code, or something you've developed. The time step will be determined by the smallest cell in the mesh. If you have a inlet tube and some transition cells feeding into the tank or, if you have applied boundary layer stretching near walls, some of those cells could have a very small length scale with a typical velocity value, and that makes the CFL number time step very small.
mprinkey is offline   Reply With Quote

Old   June 8, 2016, 07:08
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by mprinkey View Post
It is not clear to me if this is a commercial code, community code, or something you've developed. The time step will be determined by the smallest cell in the mesh. If you have a inlet tube and some transition cells feeding into the tank or, if you have applied boundary layer stretching near walls, some of those cells could have a very small length scale with a typical velocity value, and that makes the CFL number time step very small.

I agree ... but he wrote of being using an implicit formulation and that makes me having some doubts...for that reason I suggested to write the resulting max cfl in the computation
FMDenaro is online now   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 09:08
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34


All times are GMT -4. The time now is 04:35.