|
[Sponsors] |
how to limit the velocity and courant number in SonicFoam? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 13, 2021, 17:37 |
how to limit the velocity and courant number in SonicFoam?
|
#1 |
New Member
BC
Join Date: Jul 2021
Posts: 5
Rep Power: 4 |
SonicFoam is applied.
Max Velocity is defined in fvSolution file “UMax”, but the results showed that the velocity limit did not work. Courant number limit is defined in ControlDict file, but it did not work either. The way how to limit Courant number is from the solutions in this forum。 Anyone knows how to fix these problems? |
|
September 14, 2021, 01:41 |
|
#2 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4 |
I never used SonicFoam, but for other Solvers its possible to limit U in the constant/fvOptions file. If you use Foam 9 fvOption is splitted in two parts.
Code:
limitU { type limitVelocity; active yes; selectionMode all; max 40; } |
|
September 14, 2021, 13:58 |
|
#3 |
New Member
BC
Join Date: Jul 2021
Posts: 5
Rep Power: 4 |
Thanks, Lukas, I created fvoptions file in constant and it works. Do you know how to limit courant number?
|
|
September 15, 2021, 05:41 |
|
#4 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4 |
Courant number can be limited only for transient runs and then it is limited through the controlDict in system
add this : Code:
adjustTimeStep yes; maxCo 0.25; #maxAlphaCo 0.05; #is used for two phaseflows maxDeltaT 0.1; # upper limit |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OLAFLOW] The OLAFLOW Thread | Phicau | OpenFOAM Community Contributions | 457 | March 27, 2024 00:59 |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 13:38 |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 09:08 |
Courant Number | waseeqsiddiqui | FLUENT | 3 | December 27, 2018 10:43 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |