|
[Sponsors] |
August 27, 2017, 13:01 |
rhoCentralFoam tutorial Courant nan
|
#1 |
New Member
Gustavo Cordoba
Join Date: Aug 2017
Location: Pasto, Colombia
Posts: 9
Rep Power: 9 |
Hello,
I installed openFoam 4.0 from Debian repository. First, the examples did not run properly. Thus, I downloaded the tutorial from the openFoam site repository for the 4.0 version. At least the incompressible cavity example ran ok. However, when the compressible rhoCentralFoam was tested with shocktube example, it reports inmediatelly: --------- Mean and max Courant Numbers = nan nan deltaT = 1.19904e-06 Time = 1.19904e-06 --------- The program then runs each of the time step with nan on each of the variables. Any idea? |
|
August 27, 2017, 13:16 |
test with sonicFoam
|
#2 |
New Member
Gustavo Cordoba
Join Date: Aug 2017
Location: Pasto, Colombia
Posts: 9
Rep Power: 9 |
Hi, perhaps this helps:
The example "prism" within compressible/sonicFoam/ras works fine. Whereas the "shocktube" example within compressible/sonicFoam/laminar result in a similar error that the one reported in rhoCantralFoam: --------------------- Creating turbulence model Selecting turbulence model type laminar Creating field kinetic energy K No MRF models present No finite volume options present Starting time loop Time = 1e-05 Courant Number mean: nan max: nan ---------------------------- |
|
August 27, 2017, 13:37 |
|
#3 |
New Member
Gustavo Cordoba
Join Date: Aug 2017
Location: Pasto, Colombia
Posts: 9
Rep Power: 9 |
Fixed!
I did not know that setFields command must be run before typing rhoCentralFoam I suggest that tutorials should have at least a minimalistic README |
|
August 28, 2017, 06:11 |
|
#4 |
Senior Member
|
Hi,
Most tutorials have a Allrun script that shows the steps. I think those show the general way to run a particular tutorial. If there is no Allrun script it probably is just blockMesh and then the solver. In OpenFOAM 4.x there is at least a script that shows that setFields is needed for the shocktube tutorial. Not sure if it was missing in OpenFOAM 4.0, but I think it would not need a README in this case. Regards, Tom |
|
Tags |
courant number, nan, rhocentralfoam, tutorial |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
cyclicACMI gives Courant number nan | Drew1 | OpenFOAM | 0 | July 22, 2014 17:46 |
SixDoFRigidBodyMotion under OF2.3 ( self oscillating cylinder) | Scabbard | OpenFOAM Running, Solving & CFD | 1 | July 22, 2014 05:50 |
Why simulation results showing "nan" values? | Sargam05 | OpenFOAM | 4 | September 10, 2012 13:37 |
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread | wyldckat | OpenFOAM Installation | 2 | July 11, 2012 17:01 |
pls help fluctuating residuals due to courant no | sagar | CFX | 3 | March 28, 2006 02:10 |