Skip to content

Setting of an adiabatic wall surrounding a fuel inflow #390

Answered by esclapez
hong27 asked this question in Q&A
Discussion options

You must be logged in to vote

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 the getDiffusivity function which computes face-centered transport coefficients by averaging cell-centered coefficients. The cell-centered data MultiFab has NUM_SPECIES+1 components for species and temperature, but the face-centered one only has nComp components. The beta_comp refers to the index in the cell-centered container. So:

  • when called with beta_comp == 0 and nComp == NUM_SPECIES, getDiffusivity (and thus zero_visc) is called to handle species diffusivities.
  • when called with beta_comp == NUM_SPECIES and

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hong27
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants