24#ifndef DUMUX_SOLID_ENERGY_LOCAL_RESIDUAL_HH
25#define DUMUX_SOLID_ENERGY_LOCAL_RESIDUAL_HH
35template<
class TypeTag>
47 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
48 using SubControlVolumeFace =
typename FVElementGeometry::SubControlVolumeFace;
50 using Element =
typename GridView::template Codim<0>::Entity;
53 using ParentType::ParentType;
65 const SubControlVolume& scv,
66 const VolumeVariables& volVars)
const
69 storage[0] = volVars.temperatureSolid()
70 * volVars.solidHeatCapacity()
71 * volVars.solidDensity()
72 * (1.0 - volVars.porosity());
89 const Element& element,
90 const FVElementGeometry& fvGeometry,
91 const ElementVolumeVariables& elemVolVars,
92 const SubControlVolumeFace& scvf,
93 const ElementFluxVariablesCache& elemFluxVarsCache)
const
95 FluxVariables fluxVars;
96 fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache);
97 return fluxVars.heatConductionFlux();
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Element-wise calculation of the residual.
Definition: porousmediumflow/solidenergy/localresidual.hh:37
NumEqVector computeStorage(const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const
Evaluate the rate of change of all conservation quantites.
Definition: porousmediumflow/solidenergy/localresidual.hh:64
NumEqVector computeFlux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const
Evaluate the energy flux over a face of a sub control volume.
Definition: porousmediumflow/solidenergy/localresidual.hh:88
Declares all properties used in Dumux.