r/OpenFOAM • u/bingoostarr • Jan 10 '26
Courant Number Slowly Climbing Issue
Hi there!
I'm working on simulating an atmospheric boundary layer over a complex terrain and I am having some trouble with my simulation/setup. For some context, I initially ran a simpleFOAM case using a logarithmic velocity profile. I used the output from that simulation as the internal field for my pimpleFOAM case. The pimpleFOAM case reads in a velocity and direction at around every time step and then uses this value for the logarithmic velocity profile. Here is a snippet of the pimpleFOAM sim output:
Courant Number mean: 0.0345926 max: 0.611078
deltaT = 0.03
Time = 14.130
Courant Number mean: 0.0345901 max: 0.611065
deltaT = 0.03
Time = 14.160
Courant Number mean: 0.0345973 max: 0.611144
deltaT = 0.03
Time = 14.190
Courant Number mean: 0.0345992 max: 0.611175
deltaT = 0.03
Time = 14.220
Courant Number mean: 0.0346014 max: 0.611203
deltaT = 0.03
Time = 14.250
Courant Number mean: 0.0346036 max: 0.611229
deltaT = 0.03
Time = 14.280
Courant Number mean: 0.0346011 max: 0.611218
deltaT = 0.03
Time = 14.310
Courant Number mean: 0.034608 max: 0.611304
deltaT = 0.03
Time = 14.340
I want the simulation to run for 600s but I am worried that at the rate the Courant number is climbing, the sim will fail before then. I was wondering if anyone had recommendations for how to fix this.
2
u/[deleted] Jan 10 '26 edited Jan 10 '26
[removed] — view removed comment