|
[Sponsors] |
interFOAM courant number is less than hand calculated |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 22, 2022, 02:20 |
interFOAM courant number is less than hand calculated
|
#1 |
New Member
HR
Join Date: Nov 2022
Posts: 17
Rep Power: 4 |
I am running a simulation with gas and water mixture using interFOAM. The smallest cell in my mesh is approximately 6e-5m. By considering a courant number of 1 I calculated that the minimum timestep should be 3.27e-4s. However when I run the simulation the timestep adjusted by the solver is in the order of e-7. I want to know why this happens ?
|
|
November 22, 2022, 04:50 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
What velocity did you use to manually calculate your time step?
|
|
November 22, 2022, 05:20 |
|
#3 |
New Member
HR
Join Date: Nov 2022
Posts: 17
Rep Power: 4 |
||
November 22, 2022, 06:02 |
|
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
The velocity used to compute the Courant number is the local velocity in the cell, this is probably why you get different results.
There is a function object allowing to write the Courant number as a volume field if you want to investigate where is your maximum Courant number:
|
|
November 22, 2022, 09:07 |
|
#5 | |
New Member
HR
Join Date: Nov 2022
Posts: 17
Rep Power: 4 |
Quote:
Thank you for the explanation |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) | AndreP | STAR-CCM+ | 10 | August 2, 2018 08:48 |
TwoPhaseEulerFoam high courant number | mwaqas | OpenFOAM Running, Solving & CFD | 11 | July 11, 2017 15:19 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 15:49 |
[blockMesh] --> foam fatal error: | lillo763 | OpenFOAM Meshing & Mesh Conversion | 0 | March 5, 2014 11:27 |