|
[Sponsors] |
![]() |
![]() |
#1 |
Guest
Posts: n/a
|
Hi:
I am a new user of OpenFoam,I have some questions about OpenFoam: 1)when I run sonicFoam/forwardstep case,I change the initial internal U field from (0,0,0) to (3,0,0),why the calculation became divergence? 2)I want a calculation with sonicTurbFoam to keep the CoNum constant instand of DeltaT constant ,how can I do this? |
|
![]() |
![]() |
![]() |
#2 |
Guest
Posts: n/a
|
Hi,
I did 2) in the following way: added the following line to the code after calculating CoNumber (# include CourantNo.H) alfat = CFL/CoNum; runTime.setDeltaT(alfat*runTime.deltaT().value()); Obviously, alfat had been previously defined as scalar and CFL was read from a file (defined as float). Cheers, Luiz |
|
![]() |
![]() |
![]() |
#3 |
Guest
Posts: n/a
|
Sampaio
Thanks for your help.It works fine. |
|
![]() |
![]() |
![]() |
#4 |
Guest
Posts: n/a
|
You should be aware that OpenFOAM already has a mechanism for maintaining a steady maximum CFL number.
See the dambreak tutorial and interFoam solver for details. Eugene |
|
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Damp turbulent behaviour for a steady state calculation | andimb | OpenFOAM Running, Solving & CFD | 0 | May 4, 2006 06:39 |
Steady LES? | GER | Main CFD Forum | 3 | May 12, 2005 15:37 |
Steady RANS calculation | Rasmus Gjesing (Gjesing) | OpenFOAM Running, Solving & CFD | 1 | February 8, 2005 10:55 |
Steady/Unsteady | Pravesh Kumar | FLUENT | 11 | September 18, 2003 01:21 |
BFS: steady? | Jan Ramboer | Main CFD Forum | 1 | September 9, 1999 15:04 |