|  | programmer's documentation | 
Compute distance to wall by solving a 3d diffusion equation. Solve
![\[ \divs ( \grad \varia ) = -1 \]](form_178.png) 
with: More...
| Functions/Subroutines | |
| subroutine | distpr (itypfb, distpa) | 
Compute distance to wall by solving a 3d diffusion equation. Solve
![\[ \divs ( \grad \varia ) = -1 \]](form_178.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_181.png) 
| subroutine distpr | ( | integer, dimension(nfabor) | itypfb, | 
| double precision, dimension(ncelet) | distpa | ||
| ) | 
| [in] | itypfb | boundary face types | 
| [out] | distpa | distance to wall | 
 1.8.3.1
 1.8.3.1