|
Code_Saturne
CFD tool
|
This function builds the matrix of advection/diffusion for a vector field. More...
Functions/Subroutines | |
| subroutine | matrxv |
This function builds the matrix of advection/diffusion for a vector field.
The advection is upwind, the diffusion is not reconstructed. The matrix is splitted into a diagonal block (3x3 times number of cells) and an extra diagonal part (of dimension 2 time the number of internal faces).
| subroutine matrxv | ( | ) |
| [in] | ncelet | number of extended (real + ghost) cells |
| [in] | ncel | number of cells |
| [in] | nfac | number of interior faces |
| [in] | nfabor | number of boundary faces |
| [in] | iconvp | indicator
|
| [in] | idiffp | indicator
|
| [in] | ndircp | indicator
|
| [in] | isym | indicator
|
| [in] | thetap | weightening coefficient for the theta-schema,
|
| [in] | ifacel | cell indexes of interior faces |
| [in] | ifabor | no de l'elt voisin d'une face de bord |
| [in] | coefbu | boundary condition array for the variable (Impplicit part - 3x3 tensor array) |
| [in] | cofbfu | boundary condition array for the variable flux (Impplicit part - 3x3 tensor array) |
| [in] | flumas | mass flux at interior faces |
| [in] | flumab | mass flux at border faces |
| [in] | viscf | at interior faces for the matrix |
| [in] | viscb | at border faces for the matrix |
| [out] | da | diagonal part of the matrix |
| [out] | xa | extra interleaved diagonal part of the matrix |

1.8.8