My Project
programmer's documentation
|
The following table provides a non-exhaustive list of local variables which are used in the code in a recurring manner.
Fortran code | C code | Description |
---|---|---|
iel | cell_id | Cell index |
ifac | face_id | Face index |
ig | g_id | Interior face number of associated groups (OpenMP) |
it | t_id | Interior face number of threads (OpenMP) |
idimtr | tr_dim | Indicator for tensor perodicity of rotation |
flumas | i_massflux | Mass flux at interior faces |
flumab | b_massflux | Mass flux at boundary faces |
viscf | i_visc | |
viscb | b_visc | |
smbrp | rhs | Right hand side |
Rules have been stablished for local names denoting fields, depending on their nature. The convention, applying both in Fortran and in C, is as follows:
i
at the beginning of the word.The following examples ilustrate this convention:
cvar_pr:
Values of the variable pressure field defined at the cell centers, at the current time step.
cvara_pr:
Values of the variable pressure field defined at the cell centers, at the previous time step.
cpro_cp:
Values of the property specific heat defined field at the cell centers.