|
My Project
programmer's documentation
|
This subroutine computes the dimensionless distance to the wall solving a transport equation. More...
Functions/Subroutines | |
| subroutine | distyp (itypfb, visvdr) |
This subroutine computes the dimensionless distance to the wall solving a transport equation.
This function solves the following transport equation on 
![\[
\dfrac{\partial \varia}{\partial t} + \divs \left( \varia \vect{V} \right)
- \divs \left( \vect{V} \right) \varia = 0
\]](form_348.png)
where the vector field 
![\[
\vect{V} = \dfrac{ \grad y }{\norm{\grad y} }
\]](form_350.png)
The boundary conditions on 
![\[
\varia = \dfrac{u_\star}{\nu} \textrm{ on walls}
\]](form_351.png)
![\[
\dfrac{\partial \varia}{\partial n} = 0 \textrm{ elsewhere}
\]](form_352.png)
Then the dimensionless distance is deduced by:
![\[
y^+ = y \varia
\]](form_353.png)
Remarks:
Then, Imposition of an amortization of Van Driest type for the LES. 


| subroutine distyp | ( | integer, dimension(nfabor) | itypfb, |
| double precision, dimension(ncelet) | visvdr | ||
| ) |
| [in] | itypfb | boundary face types |
| [in] | visvdr | dynamic viscosity in edge cells after driest velocity amortization |