28 #ifndef EWOMS_FLASH_EXTENSIVE_QUANTITIES_HH
29 #define EWOMS_FLASH_EXTENSIVE_QUANTITIES_HH
51 template <
class TypeTag>
59 typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
60 typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
62 enum { enableDiffusion =
GET_PROP_VALUE(TypeTag, EnableDiffusion) };
72 void update(
const ElementContext& elemCtx,
unsigned scvfIdx,
unsigned timeIdx)
75 DiffusionExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
76 EnergyExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
82 template <
class Context,
class Flu
idState>
86 const FluidState& fluidState,
87 typename FluidSystem::template ParameterCache<typename FluidState::Scalar>& paramCache)
90 DiffusionExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
91 EnergyExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
Provides the quantities required to calculate energy fluxes.
Definition: energymodule.hh:704
This template class contains the data which is required to calculate all fluxes of components over a ...
Definition: flashextensivequantities.hh:52
#define GET_PROP_VALUE(TypeTag, PropTagName)
Access the value attribute of a property for a type tag.
Definition: propertysystem.hh:469
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: flashextensivequantities.hh:83
Contains the classes required to consider energy as a conservation quantity in a multi-phase module...
Declares the properties required by the compositional multi-phase model based on flash calculations...
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: flashextensivequantities.hh:72
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
Provides the quantities required to calculate diffusive mass fluxes.
Definition: diffusionmodule.hh:292
Classes required for molecular diffusion.