-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Jianhong, Assuming your inflow with pipe wall is on the low-y direction (as in the DiffBunsen2D case), this would work indeed. To clarify why, the
This logic is definitely not user-friendly, but you seem to have gotten it right ! Cheers |
Beta Was this translation helpful? Give feedback.
-
Thanks @esclapez for the clarification. Much appreciated! |
Beta Was this translation helpful? Give feedback.
Hi Jianhong,
Assuming your inflow with pipe wall is on the low-y direction (as in the DiffBunsen2D case), this would work indeed.
To clarify why, the
zero_visc
function is called in thegetDiffusivity
function which computes face-centered transport coefficients by averaging cell-centered coefficients. The cell-centered data MultiFab hasNUM_SPECIES+1
components for species and temperature, but the face-centered one only hasnComp
components. Thebeta_comp
refers to the index in the cell-centered container. So:beta_comp == 0
andnComp == NUM_SPECIES
,getDiffusivity
(and thuszero_visc
) is called to handle species diffusivities.beta_comp == NUM_SPECIES
and