Skip to content

Commit

Permalink
Brief comment on divQ in theory and code base
Browse files Browse the repository at this point in the history
  • Loading branch information
spdomin committed Jan 20, 2020
1 parent 3565cdd commit df8e218
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion docs/source/theory/supportedEquationSet.rst
Expand Up @@ -303,7 +303,13 @@ energy equation, subtracting the mechanical energy equation and
enforcing the variable density continuity equation. Note that the above
equation includes possible source terms due to thermal radiatitive
transport, viscous dissipation, pressure work,
and external driving sources (:math:`S_\theta`).
and external driving sources (:math:`S_\theta`).

Above, :math:`\frac{\partial \bar{q}_i^r}{\partial x_i}` represents the divergence
of the radiative flux and is active when participating media radiation (PMR) coupling
is active. At present, there is no sophisticated absorption coefficient model supported in
the gas phase. Therefore, this source term is fully applied to the enthalpy along with
any possible linearizations that solely originate from the PMR realm solve and transfer.

The simple Fickian diffusion velocity approximation,
Equation :eq:`diffvel1`, is assumed, so that the mean diffusive heat flux
Expand Down
2 changes: 1 addition & 1 deletion src/EnthalpyPmrSrcNodeSuppAlg.C
Expand Up @@ -58,7 +58,7 @@ EnthalpyPmrSrcNodeSuppAlg::node_execute(
const double divQLin = *stk::mesh::field_data(*divRadFluxLin_, node );
const double specificHeat = *stk::mesh::field_data(*specificHeat_, node );
const double dualVolume = *stk::mesh::field_data(*dualNodalVolume_, node );

// divQ = absorption[k]*(4.0*sb*T*T*T*T-G) = (4.0*pi*rad_source - absorption*G)
rhs[0] -= divQ*dualVolume;
lhs[0] += divQLin/specificHeat*dualVolume;
}
Expand Down

0 comments on commit df8e218

Please sign in to comment.