Research Article

Scalability of OpenFOAM Density-Based Solver with Runge–Kutta Temporal Discretization Scheme

Algorithm 2

The time integration of the resulting ordinary differential equations system is carried out by a third-order, four-stage Runge–Kutta algorithm.
Result: Calculate the three conservative variables
for (int ){
 / The following calculates the three conservative variables, specifically density (ρ), momentum density () and total energy density () /
;
;
;
}