Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions/Subroutines
distyp.f90 File Reference

This subroutine computes the dimensionless distance to the wall solving a transport equation. More...

Functions/Subroutines

subroutine distyp
 

Detailed Description

This subroutine computes the dimensionless distance to the wall solving a transport equation.

This function solves the following transport equation on $ \varia $:

\[ \dfrac{\partial \varia}{\partial t} + \divs \left( \varia \vect{V} \right) - \divs \left( \vect{V} \right) \varia = 0 \]

where the vector field $ \vect{V} $ is defined by:

\[ \vect{V} = \dfrac{ \grad y }{\norm{\grad y} } \]

The boundary conditions on $ \varia $ read:

\[ \varia = \dfrac{u_\star}{\nu} \textrm{ on walls} \]

\[ \dfrac{\partial \varia}{\partial n} = 0 \textrm{ elsewhere} \]

Then the dimensionless distance is deduced by:

\[ y^+ = y \varia \]

Remarks:

Function/Subroutine Documentation

subroutine distyp ( )
Parameters
[in]nvartotal number of variables
[in]nscaltotal number of scalars
[in]itypfbboundary face types
[in]distpatab des distances a la paroi
[in]propcephysical properties at cell centers
[out]distydimensionless distance $ y^+ $

Here is the call graph for this function: