The following table provides a non-exhaustive list of local variables which are used in the code in a recurring manner.
C code | Fortran code | Description |
---|---|---|
cell_id | iel | Cell index |
face_id | ifac | Face index |
tr_dim | idimtr | Indicator for tensor perodicity of rotation |
i_massflux | flumas | Mass flux at interior faces |
b_massflux | flumab | Mass flux at boundary faces |
i_visc | viscf | ![]() at interior faces for the r.h.s. |
b_visc | viscb | ![]() at border faces for the r.h.s. |
rhs | smbrp | Right hand side ![]() |
Rules have been established 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 illustrate 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.