Time Discretization
Time Discretization
Δx Δx Δx
Time discretization – 1D
In 2D
t t+Δt T
φ as a function of time T
Time discretization – time derivative
Solving time integral and applying mid point rule for volume integral
CV
W P E
w e
Δx Δx Δx
Time discretization – Diffusion
Integration in time
CV
W P E
w e
Δx Δx Δx
Time discretization – Diffusion
Leads to
Time discretization – Diffusion
• Uses values at new time step • Uses values at old time step
• First order accurate • First order accurate
• Stable at larger time step • Can only use small time
• „Euler“ in OpenFOAM steps
• Not implemented in
OpenFOAM – not stable for
industrial simulations
Time discretization – 2st order Schemes
IMPLICIT 2ND ORDER CRANK NICOLSON
performed
iteratively for Solve pressure correction eq.
PISO solves a
Operators
Solve pressure correction eq.
Correct velocities
t>tmax?
End