28 #ifndef EWOMS_NCP_EXTENSIVE_QUANTITIES_HH
29 #define EWOMS_NCP_EXTENSIVE_QUANTITIES_HH
46 template <
class TypeTag>
54 typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem;
55 typedef typename GET_PROP_TYPE(TypeTag, ElementContext) ElementContext;
57 enum { enableDiffusion =
GET_PROP_VALUE(TypeTag, EnableDiffusion) };
67 void update(
const ElementContext& elemCtx,
unsigned scvfIdx,
unsigned timeIdx)
70 DiffusionExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
71 EnergyExtensiveQuantities::update_(elemCtx, scvfIdx, timeIdx);
77 template <
class Context,
class Flu
idState>
81 const FluidState& fluidState,
82 typename FluidSystem::template ParameterCache<typename FluidState::Scalar>& paramCache)
85 DiffusionExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
86 EnergyExtensiveQuantities::updateBoundary_(context, bfIdx, timeIdx, fluidState);
Provides the quantities required to calculate energy fluxes.
Definition: energymodule.hh:704
This template class represents the extensive quantities of the compositional NCP model.
Definition: ncpextensivequantities.hh:47
#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...
Declares the properties required for the NCP compositional multi-phase model.
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
void update(const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx)
Update the extensive quantities for a given sub-control-volume-face.
Definition: ncpextensivequantities.hh:67
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
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: ncpextensivequantities.hh:78
Classes required for molecular diffusion.