Three-Dimensional Navier-Stokes Calculations next up previous contents
Next: Topological information Up: Program structure. Previous: Convergence criteria   Contents

Three-Dimensional Navier-Stokes Calculations

The major routine for three-dimensional Navier-Stokes Calculations (compressible and incompressible fluids) is compfluid.c. The flow diagram for incompressible and compressible fluids is shown in Figure 128 and 129, respectively. Right now, compfluid.c is called once in routine nonlingeo.c. Later on, combined fluid-structure calculations are planned.

The theory behind the fluid calculations is explained in Section 6.8.19. Incompressible fluids (liquids) are calculated using a semi-implicit scheme (the variables compressible and explicit take the value 0), for compressible fluids (gases) an explicit scheme is used ( $ \theta_2 = 0$, the variables compressible and explicit take the value 1).

Depending on the application different systems of equations have to be solved, corresponding to the transport equations of mass, momentum, total internal energy, turbulent kinetic energy $ k$ and turbulence frequency $ \omega$. According to the Characteristic Based Split Method (CBS) [69], a complete increment in time consists of the following steps :

  1. First part of the momentum equation: determination of the first time change of the momentum $ \Delta (\rho \boldsymbol{v^*})$
  2. Conservation of mass: determination of the pressure time change $ \Delta p$ for incompressible fluids and the density time change $ \Delta\rho$ for compressible fluids
  3. Second part of the momentum equation: determination of the second time change of the momentum $ \Delta (\rho \boldsymbol{v^{**}})$
  4. Conservation of energy: determination of the time change of the total internal energy per unit of volume $ \Delta (\rho \epsilon_t) $
  5. Turbulence equations: calculation of the time change of the total kinetic energy $ \Delta (\rho k) $ and the turbulence frequency $ \Delta (\rho \omega) $

The total time change of the momentum is $ \Delta (\rho \boldsymbol{v}) = \Delta (\rho
\boldsymbol{v^{*}}) + \Delta (\rho \boldsymbol{v^{**}})$. Notice that all variables are written in their conservative form. Indeed, it is not $ \boldsymbol{v}$ which is conserved, but $ \rho \boldsymbol{v}$ and so on.

Each of the above sets leads to a linear equation system to be solved for that increment.



Subsections
next up previous contents
Next: Topological information Up: Program structure. Previous: Convergence criteria   Contents
guido dhondt 2012-10-06