My Project
|
This class calculates the threshold pressure for grid faces according to the Eclipse Reference Manual. More...
#include <FlowThresholdPressure.hpp>
Public Member Functions | |
FlowThresholdPressure (const Simulator &simulator) | |
void | finishInit () |
Actually compute the threshold pressures over a face as a pre-compute step. | |
![]() | |
GenericThresholdPressure (const CartesianIndexMapper &cartMapper, const GetPropType< TypeTag, Properties::GridView > &gridView, const GetPropType< TypeTag, Properties::ElementMapper > &elementMapper, const EclipseState &eclState) | |
GetPropType< TypeTag, Properties::Scalar > | thresholdPressure (int elem1Idx, int elem2Idx) const |
Returns the theshold pressure [Pa] for the intersection between two elements. | |
const std::vector< GetPropType< TypeTag, Properties::Scalar > > & | data () const |
Return the raw array with the threshold pressures. | |
void | setFromRestart (const std::vector< double > &values) |
Set the threshold pressures from a raw array. | |
std::vector< GetPropType< TypeTag, Properties::Scalar > > | getRestartVector () const |
Returns a fully expanded vector for restart file writing. | |
This class calculates the threshold pressure for grid faces according to the Eclipse Reference Manual.
If the difference of the pressure potential between two cells is below the threshold pressure, the pressure potential difference is assumed to be zero, if it is larger than the threshold pressure, it is reduced by the threshold pressure.