#include "cs_defs.h" Include dependency graph for cs_wall_distance.h:
 Include dependency graph for cs_wall_distance.h:Go to the source code of this file.
| Data Structures | |
| struct | cs_wall_distance_options_t | 
| Functions | |
| void | cs_wall_distance (int iterns) | 
| Compute distance to wall by solving a 3d diffusion equation. Solve.  More... | |
| void | cs_wall_distance_yplus (cs_real_t visvdr[]) | 
| This subroutine computes the dimensionless distance to the wall solving a steady transport equation.  More... | |
| cs_wall_distance_options_t * | cs_get_glob_wall_distance_options (void) | 
| Provide read/write access to cs_glob_wall_distance.  More... | |
| Variables | |
| const cs_wall_distance_options_t * | cs_glob_wall_distance_options | 
| cs_wall_distance_options_t* cs_get_glob_wall_distance_options | ( | void | ) | 
Provide read/write access to cs_glob_wall_distance.
| void cs_wall_distance | ( | int | iterns | ) | 
Compute distance to wall by solving a 3d diffusion equation. Solve.
![\[ -\divs ( \grad \varia ) = 1 \]](form_280.png) 
with:
 at the wall
 at the wall elsewhere The wall distance is then equal to:
 elsewhere The wall distance is then equal to: 
![\[ d \simeq -|\grad \varia | + \sqrt{ \grad \varia \cdot \grad \varia +2 \varia } \]](form_283.png) 
| [in] | iterns | iteration number on Navier-Stokes equations | 
| void cs_wall_distance_yplus | ( | cs_real_t | visvdr[] | ) | 
This subroutine computes the dimensionless distance to the wall solving a steady transport equation.
This function solves the following steady pure convection equation on  :
: 
![\[ \divs \left( \varia \vect{V} \right) - \divs \left( \vect{V} \right) \varia = 0 \]](form_284.png) 
 where the vector field  is defined by:
 is defined by: 
![\[ \vect{V} = \dfrac{ \grad y }{\norm{\grad y} } \]](form_286.png) 
 The boundary conditions on  read:
 read: 
![\[ \varia = \dfrac{u_\star}{\nu} \textrm{ on walls} \]](form_287.png) 
![\[ \dfrac{\partial \varia}{\partial n} = 0 \textrm{ elsewhere} \]](form_78.png) 
Then the dimensionless distance is deduced by:
![\[ y^+ = y \varia \]](form_288.png) 
Then, Imposition of an amortization of Van Driest type for the LES.  is absorbed by
 is absorbed by  where
 where  is set at 26.
 is set at 26.
| [in] | visvdr | dynamic viscosity in edge cells after driest velocity amortization | 
| 
 | extern |