|
[Sponsors] |
April 5, 2020, 23:35 |
local-time stepping (LTS)
|
#1 |
New Member
Diego Jerez
Join Date: Feb 2020
Posts: 11
Rep Power: 6 |
Hi to all,
anyone can help me to understand better how "local-time stepping (LTS)" works? I know its a kind of pseudo transient method but actually i dont know how this method choose his delta t for each iteration (for example in ansys fluent you know how the method set this delta t.) If some one have some document or information, i'd be very grateful. Greetings! |
|
April 6, 2020, 13:13 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
This information was provided when it was first incorporated : https://openfoam.org/release/2-0-0/steady-state-vof/. Basically, the solution is accelerated to steady state because a time step "field" is computed, so each cell has its own timestep instead of one global timestep. The timestep field is smoothed (and changes between iterations are damped) to maintain stability.
Caelan |
|
April 6, 2020, 13:45 |
|
#3 | |
New Member
Diego Jerez
Join Date: Feb 2020
Posts: 11
Rep Power: 6 |
Quote:
i already knew that info, but how this time step field for each element is calculated? or just take the maximun time to keep the courant number in each element? Greetings! |
||
April 6, 2020, 14:01 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
At the bottom of the link there are paths to source files -- so you know that there is one to compute the time step "field" on the solver end and other files in src to facilitate. So check out interFoam for a modern version and we see a setRDeltaT.H file (actually, there is a general collection of VoF-related files in the multiphase solvers folder). This is where the (inverse) time step field is computed. It is commented to designate smoothing, etc.
Caelan |
|
April 6, 2020, 20:50 |
|
#5 | |
New Member
Diego Jerez
Join Date: Feb 2020
Posts: 11
Rep Power: 6 |
Quote:
Can you (or anyone who knows and want to) help me to understand better that code with words, please? Greetings! |
||
April 6, 2020, 21:26 |
|
#6 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
The comments give us the gist of what is happening in setRDeltaT.H. Working through essentially gives us -- compute "timesteps" for each cell based off a max courant number, smooth this timestep field (in space) to improve stability, and then damp this timestep field (in time, as in limit changes) to further improve stability. As far as I'm aware, these steps are included in each instance of setRDeltaT; other damping may be applied, e.g. for the multiphase solvers based on interface location, or for reacting solvers based on heat release. Hope this was a bit clearer.
Caelan |
|
April 6, 2020, 22:09 |
|
#7 |
New Member
Diego Jerez
Join Date: Feb 2020
Posts: 11
Rep Power: 6 |
Great! that explain a lot.
Now im wondering, what is the criteria in Ansys Fluent, because when you use pseudo transient method in a steady simulation, you cant choose a Courant number. In that case, the under-relaxation is controlled through the pseudo time step size, but there is not relation with courant number, or in that case just use a time for each iteration until the program converge? thank you for your help, is very usefull for me. Greetings! Edit: I found this https://www.afs.enea.it/project/nept...underrelax-eqn I hope this i'd be usefull for someone else. Cheers! Last edited by djerezg; April 7, 2020 at 12:54. |
|
March 4, 2023, 04:13 |
|
#8 | |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10 |
Quote:
|
||
Tags |
lts, pseudo, transient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting up Lid driven Cavity Benchmark with 1M cells for multiple cores | puneet336 | OpenFOAM Running, Solving & CFD | 11 | April 7, 2019 01:58 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |