|
[Sponsors] |
June 27, 2021, 04:24 |
automatic time step control
|
#1 |
Member
Andy
Join Date: Jul 2017
Posts: 62
Rep Power: 9 |
Hi folks,
I want an atomatically adaptive time step in order to keep the convective clf stable. However I don't want to use an udf right now, since I don't have to time to learn anpther pseudo-language. So I just want to use expressions. This should be actually very simple, I just want to use the maximum clf-number in the field to correct the current time step. For that I see two options, each with an own problem: 1. I use the existing parameter "delta-time" and combine it mathematically with the expression of the "Maximum(ElementConvectionCourantNumber,['int_fluid'], Weight=None)". Problem here is that in the window fot the calculation of expressions I don't see a way to implement parameters. 2. I just use an pseudo-variable to adapt each time step according to the current max-clf. However again, I don't know hot to create/use a variable, which is not connected to any quantity in the system and which can be just increased/decreased at each timestep. Please solve one of the two problems, or provide me with a third option. Thank you very much Anrew |
|
Tags |
automatic, expression, time step, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 7, 2024 23:17 |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 07:09 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 07:56 |