Check boundary condition code.
More...
|
subroutine | vericl (nvar, nscal, itypfb, icodcl, rcodcl) |
|
subroutine | sync_bc_err (nerloc, nerrcd, errcod) |
| synchronize boundary condition error logging across MPI ranks. More...
|
|
Check boundary condition code.
◆ sync_bc_err()
subroutine sync_bc_err |
( |
integer |
nerloc, |
|
|
integer |
nerrcd, |
|
|
integer, dimension(nerrcd) |
errcod |
|
) |
| |
synchronize boundary condition error logging across MPI ranks.
- Parameters
-
[in,out] | nerloc | number of errors (local rank in, global out) |
[in] | nerrcd | number of codes saved at error faces |
[in,out] | errcod | codes saved at one error face (local in, |
◆ vericl()
subroutine vericl |
( |
integer |
nvar, |
|
|
integer |
nscal, |
|
|
integer, dimension(nfabor) |
itypfb, |
|
|
integer, dimension(nfabor,nvar) |
icodcl, |
|
|
double precision, dimension(nfabor,nvar,3) |
rcodcl |
|
) |
| |
- Parameters
-
[in] | nvar | total number of variables |
[in] | nscal | total number of scalars |
[in,out] | itypfb | face boundary condition type |
[in,out] | icodcl | face boundary condition code:
- 1 Dirichlet
- 2 Radiative outlet
- 3 Neumann
- 4 sliding and

- 5 smooth wall and

- 6 rough wall and

- 9 free inlet/outlet (input mass flux blocked to 0)
- 13 Dirichlet for the advection operator and Neumann for the diffusion operator
|
[in,out] | rcodcl | boundary condition values:
- rcodcl(1) value of the dirichlet
- rcodcl(2) value of the exterior exchange coefficient (infinite if no exchange)
- rcodcl(3) value flux density (negative if gain) in w/m2 or roughness in m if icodcl=6
- for the velocity

- for the pressure

- for a scalar
|