I have a PDE, which I need to calculate the Courant number for. Does anyone have any resources on that which can help I. I do want a general way of calculating the number if that is possible, so I can use it further.
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
The wikipedia article explains it pretty clearly: http://en.wikipedia.org/wiki/Courant%E2%80%93Friedrichs%E2%80%93Lewy_condition
It's simply the velocity in the given direction multiplied by the time step and divided by the step size in the given direction.
In 1D that would be: vx * dt / dx.
If you're talking about the constant that the Courant number needs to be smaller than, that's dependent on your system.