|
[Sponsors] |
June 9, 2018, 08:26 |
adjusting the maxCo during solution
|
#1 |
New Member
javad haqqani
Join Date: Dec 2017
Posts: 16
Rep Power: 9 |
Hi. I want for the maxCo to change within the solve due to some criterion. How that can be done?
I already tried just simply assigning a value to it with a line maxCo=something; within the .C file; but it didn't work. |
|
June 9, 2018, 13:21 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
You have to set it in system/controlDict
The line Code:
writeControl adjustableRunTime; Code:
maxCo 0.3; It is often useful to start with a low value vor maxCo and inreasing it, when the simulated flow gets stable.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
June 10, 2018, 06:30 |
|
#3 |
New Member
javad haqqani
Join Date: Dec 2017
Posts: 16
Rep Power: 9 |
Thanks; but I need it to change programmatically (not by me). As you mentioned, I want it to increase and decrease duo to some criteria.
|
|
Tags |
adjustable time-step, maxco |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
grid dependancy | gueynard a. | Main CFD Forum | 19 | June 27, 2014 22:22 |
Why 3D solid-pore geometry showing diverged solution? | Sargam05 | OpenFOAM | 0 | December 3, 2012 16:45 |
Analytic solution for 2D steady Euler equations | jojo81 | Main CFD Forum | 0 | October 15, 2012 13:05 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 02:16 |