|
My Project
|
Provides the Darcy flux module. More...
#include <darcyfluxmodule.hh>
Public Member Functions | |
| const DimMatrix & | intrinsicPermability () const |
| Returns the intrinsic permeability tensor for a given sub-control volume face. | |
| const EvalDimVector & | potentialGrad (unsigned phaseIdx) const |
| Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m]. | |
| const EvalDimVector & | filterVelocity (unsigned phaseIdx) const |
| Return the filter velocity of a fluid phase at the face's integration point [m/s]. | |
| const Evaluation & | volumeFlux (unsigned phaseIdx) const |
Return the volume flux of a fluid phase at the face's integration point ![]() | |
Protected Member Functions | |
| short | upstreamIndex_ (unsigned phaseIdx) const |
| short | downstreamIndex_ (unsigned phaseIdx) const |
| void | calculateGradients_ (const ElementContext &elemCtx, unsigned faceIdx, unsigned timeIdx) |
| Calculate the gradients which are required to determine the volumetric fluxes. | |
| template<class FluidState > | |
| void | calculateBoundaryGradients_ (const ElementContext &elemCtx, unsigned boundaryFaceIdx, unsigned timeIdx, const FluidState &fluidState) |
| Calculate the gradients at the grid boundary which are required to determine the volumetric fluxes. | |
| void | calculateFluxes_ (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| Calculate the volumetric fluxes of all phases. | |
| void | calculateBoundaryFluxes_ (const ElementContext &elemCtx, unsigned boundaryFaceIdx, unsigned timeIdx) |
| Calculate the volumetric fluxes at a boundary face of all fluid phases. | |
| void | calculateFilterVelocity_ (unsigned phaseIdx) |
Protected Attributes | |
| DimMatrix | K_ |
| Evaluation | mobility_ [numPhases] |
| EvalDimVector | filterVelocity_ [numPhases] |
| Evaluation | volumeFlux_ [numPhases] |
| EvalDimVector | potentialGrad_ [numPhases] |
| short | upstreamDofIdx_ [numPhases] |
| short | downstreamDofIdx_ [numPhases] |
| short | interiorDofIdx_ |
| short | exteriorDofIdx_ |
Provides the Darcy flux module.
The commonly used Darcy relation looses its validity for Reynolds numbers 
The Darcy equation is given by the following relation:
![\[
\vec{v}_\alpha =
\left( \nabla p_\alpha - \rho_\alpha \vec{g}\right)
\frac{\mu_\alpha}{k_{r,\alpha} K}
\]](form_34.png)
|
inlineprotected |
Calculate the volumetric fluxes at a boundary face of all fluid phases.
The pressure potentials and upwind directions must already be determined before calling this method!
|
inlineprotected |
Calculate the gradients at the grid boundary which are required to determine the volumetric fluxes.
The the upwind directions is also determined by method.
|
inlineprotected |
Calculate the volumetric fluxes of all phases.
The pressure potentials and upwind directions must already be determined before calling this method!
|
inlineprotected |
Calculate the gradients which are required to determine the volumetric fluxes.
The the upwind directions is also determined by method.
|
inline |
Return the filter velocity of a fluid phase at the face's integration point [m/s].
| phaseIdx | The index of the fluid phase |
|
inline |
Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m].
| phaseIdx | The index of the fluid phase |
|
inline |
Return the volume flux of a fluid phase at the face's integration point ![$[m^3/s / m^2]$](form_35.png)
This is the fluid volume of a phase per second and per square meter of face area.
| phaseIdx | The index of the fluid phase |