28 #ifndef EWOMS_PVS_EXTENSIVE_QUANTITIES_HH
29 #define EWOMS_PVS_EXTENSIVE_QUANTITIES_HH
49 template <
class TypeTag>
57 typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
58 typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
60 enum { enableDiffusion =
GET_PROP_VALUE(TypeTag, EnableDiffusion) };
70 void update(
const ElementContext& elemCtx,
unsigned scvfIdx,
unsigned timeIdx)
73 DiffusionExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
74 EnergyExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
80 template <
class Context,
class Flu
idState>
84 const FluidState& fluidState,
85 typename FluidSystem::template ParameterCache<typename FluidState::Scalar>& paramCache)
88 DiffusionExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
89 EnergyExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
void update(const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
Update the extensive quantities for a given sub-control-volume-face.
Definition: pvsextensivequantities.hh:70
Provides the quantities required to calculate energy fluxes.
Definition: energymodule.hh:704
#define GET_PROP_VALUE(TypeTag, PropTagName)
Access the value attribute of a property for a type tag.
Definition: propertysystem.hh:469
Contains the classes required to consider energy as a conservation quantity in a multi-phase module...
Contains all data which is required to calculate all fluxes at a flux integration point for the prima...
Definition: pvsextensivequantities.hh:50
void updateBoundary(const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState, typename FluidSystem::template ParameterCache< typename FluidState::Scalar > ¶mCache)
Update the extensive quantities for a given boundary face.
Definition: multiphasebaseextensivequantities.hh:116
void update(const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
Update the extensive quantities for a given sub-control-volume-face.
Definition: multiphasebaseextensivequantities.hh:81
This class calculates the pressure potential gradients and the filter velocities for multi-phase flow...
This class calculates the pressure potential gradients and the filter velocities for multi-phase flow...
Definition: multiphasebaseextensivequantities.hh:50
Declares the properties required for the compositional multi-phase primary variable switching model...
Provides the quantities required to calculate diffusive mass fluxes.
Definition: diffusionmodule.hh:292
void updateBoundary(const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState, typename FluidSystem::template ParameterCache< typename FluidState::Scalar > ¶mCache)
Update the extensive quantities for a given boundary face.
Definition: pvsextensivequantities.hh:81
Classes required for molecular diffusion.