![]() |
OGS
|
|
Namespaces | |
| namespace | anonymous_namespace{CreateFunction.cpp} |
| namespace | IAPWSIF97Region1 |
| namespace | IAPWSIF97Region4 |
Classes | |
| class | AverageMolarMass |
| class | BishopsPowerLaw |
| Bishop's power law for effective stress. More... | |
| class | BishopsSaturationCutoff |
| class | CapillaryPressureRegularizedVanGenuchten |
| This class handles the computation of the capillary pressure, \( p_c(S_l) \), with the capillary pressure regularization. More... | |
| class | CapillaryPressureVanGenuchten |
| The van Genuchten capillary pressure model. More... | |
| class | ClausiusClapeyron |
| class | Component |
| This class defines components (substances). More... | |
| class | Constant |
| struct | CubicLawPermeability |
| class | Curve |
| struct | D2ValueConfig |
| struct | D2ValueExpression |
| struct | DriftFluxState |
| class | DupuitPermeability |
| class | EffectiveThermalConductivityPorosityMixing |
| class | EmbeddedFracturePermeability |
| Permeability model as proposed by Olivella&Alonso. More... | |
| struct | ExponentData |
| class | Exponential |
| struct | FormEigenTensor |
| struct | FormEigenVector |
| struct | FormKelvinVector |
| class | Function |
| class | GasPressureDependentPermeability |
| A gas pressure dependent intrinsic permeability model. More... | |
| struct | GetSymmetricTensor |
| class | IdealGasLaw |
| Density function for ideal gases. More... | |
| class | IdealGasLawBinaryMixture |
| Density function for binary ideal gases. More... | |
| struct | IndependentVariable |
| class | KozenyCarmanModel |
| Kozeny-Carman equation. More... | |
| class | Linear |
| class | LinearSaturationSwellingStress |
| This class defines a linear saturation rate dependent swelling stress model for the materials that swell strongly when water content increases. More... | |
| class | LinearWaterVapourLatentHeat |
| An empirical function for the latent heat of vaporization of liquid water, which is given by [37] p.786f. More... | |
| class | LiquidViscosityVogels |
| class | MaterialSpatialDistributionMap |
| class | Medium |
| class | OrthotropicEmbeddedFracturePermeability |
| Extended Permeability model based on Olivella&Alonso. More... | |
| class | Parameter |
| class | PengRobinson |
| Peng-Robinson equation of state. More... | |
| class | PermeabilityMohrCoulombFailureIndexModel |
| A failure index dependent permeability model [44]. More... | |
| class | PermeabilityOrthotropicPowerLaw |
| struct | PerThreadData |
| class | Phase |
| class | PorosityFromMassBalance |
| class | Property |
| class | RelPermBrooksCorey |
| Relative permeability function of the wetting phase proposed by Brooks&Corey. More... | |
| class | RelPermBrooksCoreyNonwettingPhase |
| Relative permeability function of the non-wetting phase proposed by Brooks&Corey. More... | |
| class | RelPermGeneralizedPower |
| class | RelPermGeneralizedPowerNonwettingPhase |
| class | RelPermLiakopoulos |
| Relative permeability function for the wetting phase of the Liakopoulos experiment. More... | |
| class | RelPermNonWettingPhaseVanGenuchtenMualem |
| class | RelPermUdell |
| class | RelPermUdellNonwettingPhase |
| class | RelPermVanGenuchten |
| class | SaturationBrooksCorey |
| A well known soil characteristics function. More... | |
| class | SaturationDependentSwelling |
| class | SaturationExponential |
| A simplistic soil characteristics function. More... | |
| class | SaturationLiakopoulos |
| A well known soil characteristics function. More... | |
| class | SaturationLuMcCartney |
| The Lu - Mc Cartney water retention behavior. More... | |
| class | SaturationVanGenuchten |
| The van Genuchten capillary pressure model. More... | |
| class | SaturationVanGenuchtenWithVolumetricStrain |
| A strain dependent bimodal water retention model. More... | |
| class | SaturationWeightedThermalConductivity |
| Saturation dependent thermal conductivity model for soil. More... | |
| struct | ScalarCopyOp |
| class | Sigmoid |
| class | SpecificHeatCapacityWithLatentHeat |
| class | StrainDependentPermeability |
| A strain dependent intrinsic permeability model. More... | |
| class | TemperatureDependentDiffusion |
| class | TransportPorosityFromMassBalance |
| class | VapourDiffusionDeVries |
| DeVries type Vapour diffusion. More... | |
| class | VapourDiffusionFEBEX |
| FEBEX type Vapour diffusion. More... | |
| class | VapourDiffusionPMQ |
| The Penman-Millington-Quirk (PMQ) Vapour diffusion model. More... | |
| class | VariableArray |
| struct | VariablePair |
| class | VermaPruessModel |
| Verma-Pruess equation [43]. More... | |
| struct | VogelsViscosityConstantsCH4 |
| struct | VogelsViscosityConstantsCO2 |
| struct | VogelsViscosityConstantsWater |
| struct | VoidFractionQuadratic |
| class | VolumeFractionAverage |
| struct | Water |
| class | WaterDensityIAPWSIF97Region1 |
| class | WaterEnthalpyIAPWSIF97Region1 |
| struct | WaterLiquidDensityIAPWSIF97Region4 |
| struct | WaterLiquidEnthalpyIAPWSIF97Region4 |
| struct | WaterSaturationTemperatureIAPWSIF97Region4 |
| class | WaterTemperatureIAPWSIF97Region1 |
| class | WaterThermalConductivityIAPWS |
| A class for thermal conductivity model that is defined by The International Association for the Properties of Water and Steam IAPWS (File accessed at 13.01.2023) - (Daucik and Dooley, 2011) More... | |
| class | WaterVapourDensity |
| A model for water vapour density in the unsaturated porous media. More... | |
| class | WaterVapourDensityIAPWSIF97Region4 |
| class | WaterVapourEnthalpyIAPWSIF97Region4 |
| class | WaterVapourLatentHeatWithCriticalTemperature |
| A latent heat model of vaporisation of water considering the critical temperature. More... | |
| class | WaterViscosityIAPWS |
| A class for viscosity model that is defined by The International Association for the Properties of Water and Steam IAPWS More... | |
| struct | ZeroInitPropertyDataType |
Typedefs | |
| using | PropertyArray |
| using | StringOrVariable = std::variant<std::string, Variable> |
| using | PropertyDataType |
| template<int GlobalDim> | |
| using | SymmetricTensor |
| template<int Dim> | |
| using | Tensor = Eigen::Matrix<double, tensorSize(Dim), 1> |
| using | VariableType |
Functions | |
| template<typename ContainerMedium, typename ContainerSolid, typename ContainerLiquid, typename ContainerGas> | |
| void | checkMaterialSpatialDistributionMap (MeshLib::Mesh const &mesh, MaterialPropertyLib::MaterialSpatialDistributionMap const &media_map, ContainerMedium const &required_properties_medium, ContainerSolid const &required_properties_solid_phase, ContainerLiquid const &required_properties_liquid_phase, ContainerGas const &required_properties_gas_phase) |
| void | checkRequiredProperties (Component const &c, std::span< PropertyType const > const required_properties) |
| std::unique_ptr< Component > | newComponent (std::string const &component_name, bool &isCustomComponent) |
| std::vector< std::unique_ptr< Component > > | createComponents (int const geometry_dimension, std::optional< BaseLib::ConfigTree > const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| MaterialSpatialDistributionMap | createMaterialSpatialDistributionMap (std::map< int, std::shared_ptr< Medium > > const &media, MeshLib::Mesh const &mesh) |
| std::unique_ptr< Medium > | createMedium (int const material_id, int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| std::vector< std::unique_ptr< Phase > > | createPhases (int const geometry_dimension, std::optional< BaseLib::ConfigTree > const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| std::unique_ptr< PropertyArray > | createProperties (int const geometry_dimension, std::optional< BaseLib::ConfigTree > const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| void | checkRequiredProperties (Medium const &medium, std::span< PropertyType const > const required_properties) |
| Phase const & | fluidPhase (Medium const &medium) |
| Returns a gas or aqueous liquid phase of the given medium. | |
| Phase const * | getOptionalPhase (Medium const &medium, PhaseName phase_name) |
| std::string_view | toString (PhaseName phase_name) |
| Convert phase enum to its string representation. | |
| PhaseName | fromString (std::string const &phase_name) |
| Convert string to phase enum. Throws if invalid phase name. | |
| void | checkRequiredProperties (Phase const &phase, std::span< PropertyType const > const required_properties) |
| void | checkSaturationRange (const double Sl) |
| std::unique_ptr< Property > | createCapillaryPressureRegularizedVanGenuchten (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createCapillaryPressureVanGenuchten (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationBrooksCorey > | createSaturationBrooksCorey (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationExponential > | createSaturationExponential (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationLiakopoulos > | createSaturationLiakopoulos (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationLuMcCartney > | createSaturationLuMcCartney (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationVanGenuchten > | createSaturationVanGenuchten (BaseLib::ConfigTree const &config) |
| std::unique_ptr< SaturationVanGenuchtenWithVolumetricStrain > | createSaturationVanGenuchtenWithVolumetricStrain (BaseLib::ConfigTree const &config) |
| std::unique_ptr< AverageMolarMass > | createAverageMolarMass (BaseLib::ConfigTree const &config) |
| std::unique_ptr< BishopsPowerLaw > | createBishopsPowerLaw (BaseLib::ConfigTree const &config) |
| std::unique_ptr< BishopsSaturationCutoff > | createBishopsSaturationCutoff (BaseLib::ConfigTree const &config) |
| std::unique_ptr< ClausiusClapeyron > | createClausiusClapeyron (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Constant > | createConstant (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createCubicLawPermeability (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Curve > | createCurve (BaseLib::ConfigTree const &config, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| std::unique_ptr< DupuitPermeability > | createDupuitPermeability (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Property > | createEffectiveThermalConductivityPorosityMixing (int const geometry_dimension, BaseLib::ConfigTree const &config, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< Property > | createEmbeddedFracturePermeability (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Exponential > | createExponential (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Function > | createFunction (BaseLib::ConfigTree const &config, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves) |
| std::unique_ptr< Property > | createGasPressureDependentPermeability (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< IdealGasLaw > | createIdealGasLaw (BaseLib::ConfigTree const &config) |
| std::unique_ptr< IdealGasLawBinaryMixture > | createIdealGasLawBinaryMixture (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createKozenyCarmanModel (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Linear > | createLinear (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createOrthotropicEmbeddedFracturePermeability (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Parameter > | createParameterProperty (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Property > | createPengRobinson (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createPermeabilityMohrCoulombFailureIndexModel (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< Property > | createPermeabilityOrthotropicPowerLaw (BaseLib::ConfigTree const &config, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< PorosityFromMassBalance > | createPorosityFromMassBalance (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< SaturationDependentSwelling > | createSaturationDependentSwelling (BaseLib::ConfigTree const &config, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< Property > | createSaturationDependentThermalConductivity (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Sigmoid > | createSigmoid (BaseLib::ConfigTree const &config) |
| Create a Sigmoid property from XML configuration. | |
| std::unique_ptr< SpecificHeatCapacityWithLatentHeat > | createSpecificHeatCapacityWithLatentHeat (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createStrainDependentPermeability (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, ParameterLib::CoordinateSystem const *const local_coordinate_system) |
| std::unique_ptr< Property > | createTemperatureDependentDiffusion (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< TransportPorosityFromMassBalance > | createTransportPorosityFromMassBalance (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< Property > | createVermaPruessModel (BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters) |
| std::unique_ptr< VolumeFractionAverage > | createVolumeFractionAverage (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterSaturationTemperatureIAPWSIF97Region4 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterTemperatureIAPWSIF97Region1 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterDensityIAPWSIF97Region1 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterLiquidDensityIAPWSIF97Region4 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterVapourDensity (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterVapourDensityIAPWSIF97Region4 (BaseLib::ConfigTree const &config) |
| static double | saturatedVaporDensity (double const T) |
| \(\rho_{vS}\) | |
| static double | dsaturatedVaporDensitydT (double const T) |
| \(\frac{\partial \rho_{vS}}{\partial T}\) | |
| static double | humidity (double const T, double const p, double const water_density) |
| std::unique_ptr< Property > | createLinearWaterVapourLatentHeat (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterEnthalpyIAPWSIF97Region1 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterLiquidEnthalpyIAPWSIF97Region4 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterVapourEnthalpyIAPWSIF97Region4 (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterVapourLatentHeatWithCriticalTemperature (BaseLib::ConfigTree const &config) |
| template<int D> | |
| static exprtk::symbol_table< double > | createSymbolTable (std::vector< std::string > const &expression_symbol_names, bool const spatial_position_is_required, std::vector< std::string > const &used_curve_names, std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const &curves, VariableArray &variable_array, std::map< std::string, ParameterLib::CurveWrapper > &curve_wrappers) |
| template<std::size_t N> | |
| static std::array< double, N > | evaluateToArray (std::vector< exprtk::expression< double > > const &expressions) |
| static int | currentThreadId (std::string const &property_name, std::size_t const num_slots) |
| std::unique_ptr< RelPermBrooksCorey > | createRelPermBrooksCorey (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermBrooksCoreyNonwettingPhase > | createRelPermBrooksCoreyNonwettingPhase (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermGeneralizedPower > | createRelPermGeneralizedPower (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermGeneralizedPowerNonwettingPhase > | createRelPermGeneralizedPowerNonwettingPhase (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermLiakopoulos > | createRelPermLiakopoulos (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createRelPermNonWettingPhaseVanGenuchtenMualem (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermUdell > | createRelPermUdell (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermUdellNonwettingPhase > | createRelPermUdellNonwettingPhase (BaseLib::ConfigTree const &config) |
| std::unique_ptr< RelPermVanGenuchten > | createRelPermVanGenuchten (BaseLib::ConfigTree const &config) |
| double | computeVanGenuchtenMualemValue (const double S_L, const double S_L_r, const double S_L_max, const double m) |
| static std::optional< std::pair< double, double > > | normalizedState (double const f, double const lower_bound, double const upper_bound) |
| std::unique_ptr< Property > | createLinearSaturationSwellingStress (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createSaturationWeightedThermalConductivity (int const geometry_dimension, BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > ¶meters) |
| std::unique_ptr< Property > | createSoilThermalConductivitySomerton (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterThermalConductivityIAPWS (BaseLib::ConfigTree const &config) |
| template<MeanType MeanType> | |
| double | computeAverage (const double, double const, double const)=delete |
| template<MeanType MeanType> | |
| double | computeDAverage (const double, double const, double const)=delete |
| template<> | |
| double | computeAverage< MeanType::ARITHMETIC_LINEAR > (const double S, double const k_dry, double const k_wet) |
| template<> | |
| double | computeDAverage< MeanType::ARITHMETIC_LINEAR > (const double, double const k_dry, double const k_wet) |
| template<> | |
| double | computeAverage< MeanType::ARITHMETIC_SQUAREROOT > (const double S, double const k_dry, double const k_wet) |
| template<> | |
| double | computeDAverage< MeanType::ARITHMETIC_SQUAREROOT > (const double S, double const k_dry, double const k_wet) |
| template<> | |
| double | computeAverage< MeanType::GEOMETRIC > (const double S, double const k_dry, double const k_wet) |
| template<> | |
| double | computeDAverage< MeanType::GEOMETRIC > (const double S, double const k_dry, double const k_wet) |
| static double | computeBarLambda0Factor (const double barT) |
| static std::array< double, 5 > | computeSeriesFactorTForLambda1 (const double barT) |
| static std::array< double, 6 > | computeSeriesFactorRhoForLambda1 (const double bar_rho) |
| static double | computeBarLambda1Factor (const std::array< double, 5 > &series_factorT, const std::array< double, 6 > &series_factorRho) |
| static double | computedBarLambda_dbarT (const double barT, double bar_rho) |
| static double | computedBarLambda_dbarRho (const double barT, double bar_rho) |
| std::unique_ptr< Property > | createVapourDiffusionDeVries (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createVapourDiffusionFEBEX (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createVapourDiffusionPMQ (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createLiquidViscosityVogels (BaseLib::ConfigTree const &config) |
| std::unique_ptr< Property > | createWaterViscosityIAPWS (BaseLib::ConfigTree const &config) |
| static double | computeBarMu0Factor (const double barT) |
| static std::array< double, 6 > | computeSeriesFactorTForMu1 (const double barT) |
| static std::array< double, 7 > | computeSeriesFactorRhoForMu1 (const double bar_rho) |
| static double | computeBarMu1Factor (const std::array< double, 6 > &series_factorT, const std::array< double, 7 > &series_factorRho) |
| static double | computedBarMu_dbarT (const double barT, double bar_rho) |
| static double | computedBarMu_dbarRho (const double barT, double bar_rho) |
| double | computeTemperature (double const pi, double const eta) |
| PropertyDataType | fromVector (std::vector< double > const &values) |
| template<std::size_t N> | |
| PropertyDataType | fromArray (std::array< double, N > const &values) |
| void | overwriteExistingProperties (PropertyArray &properties, PropertyArray &new_properties, std::variant< Medium *, Phase *, Component * > scale_pointer) |
| void | updatePropertiesForAllPhases (PropertyArray &properties, std::vector< std::unique_ptr< Phase > > const &phases) |
| PropertyType | convertStringToProperty (std::string const &string) |
| void | checkMPLPhasesForSinglePhaseFlow (MeshLib::Mesh const &mesh, MaterialPropertyLib::MaterialSpatialDistributionMap const &media_map) |
| void | checkVanGenuchtenExponentRange (const double m) |
| static double | closureSlipParameter (DriftFluxState const &state) |
| static DriftFluxState | alignDriftWithFlow (DriftFluxState const &state) |
| double | alignedDriftFluxVelocity (double const u_gu, double const v_mix) |
| double | driftFluxProfileParameter (double const dryness) |
| VoidFractionQuadratic | voidFractionQuadratic (DriftFluxState const &state) |
| double | voidFractionResidual (double const alpha, DriftFluxState const &state) |
| std::string | voidFractionClosureDiagnostics (DriftFluxState const &state) |
| double | driftFluxVelocity (double const dryness, double const temperature, double const vapour_water_density, double const liquid_water_density) |
| DriftFluxState | driftFluxState (double const dryness, double const temperature, double const vapour_water_density, double const liquid_water_density, double const v_mix) |
| std::optional< double > | computeVapourVoidFraction (DriftFluxState const &state) |
| double | mixtureSlipParameter (double const alpha, DriftFluxState const &state) |
| template<int GlobalDim> | |
| Eigen::Matrix< double, GlobalDim, GlobalDim > | formEffectiveThermalConductivity (MaterialPropertyLib::PropertyDataType const &solid_thermal_conductivity, const double fluid_thermal_conductivity, const double porosity) |
| template Eigen::Matrix< double, 1, 1 > | formEffectiveThermalConductivity< 1 > (MaterialPropertyLib::PropertyDataType const &solid_thermal_conductivity, const double fluid_thermal_conductivity, const double porosity) |
| template Eigen::Matrix< double, 2, 2 > | formEffectiveThermalConductivity< 2 > (MaterialPropertyLib::PropertyDataType const &solid_thermal_conductivity, const double fluid_thermal_conductivity, const double porosity) |
| template Eigen::Matrix< double, 3, 3 > | formEffectiveThermalConductivity< 3 > (MaterialPropertyLib::PropertyDataType const &solid_thermal_conductivity, const double fluid_thermal_conductivity, const double porosity) |
| template Eigen::Matrix< double, 1, 1 > | formEigenTensor< 1 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 2, 2 > | formEigenTensor< 2 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 3, 3 > | formEigenTensor< 3 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 4, 4 > | formEigenTensor< 4 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 6, 6 > | formEigenTensor< 6 > (MaterialPropertyLib::PropertyDataType const &values) |
| template<int GlobalDim> | |
| constexpr Eigen::Matrix< double, GlobalDim, GlobalDim > | formEigenTensor (MaterialPropertyLib::PropertyDataType const &values) |
| template<int GlobalDim> | |
| Eigen::Matrix< double, GlobalDim, 1 > | formEigenVector (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 1, 1 > | formEigenVector< 1 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 2, 1 > | formEigenVector< 2 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 3, 1 > | formEigenVector< 3 > (MaterialPropertyLib::PropertyDataType const &values) |
| template<int GlobalDim> | |
| MathLib::KelvinVector::KelvinVectorType< GlobalDim > | formKelvinVector (MaterialPropertyLib::PropertyDataType const &values) |
| A function to form a Kelvin vector from strain or stress alike property like thermal expansivity for thermal strain. | |
| template MathLib::KelvinVector::KelvinVectorType< 2 > | formKelvinVector< 2 > (MaterialPropertyLib::PropertyDataType const &values) |
| template MathLib::KelvinVector::KelvinVectorType< 3 > | formKelvinVector< 3 > (MaterialPropertyLib::PropertyDataType const &values) |
| double | getFluidDensity (double const t, double const dt, ParameterLib::SpatialPosition const &pos, Phase const &fluid_phase, VariableArray &vars) |
| It computes fluid density for single phase flow model. | |
| std::tuple< double, double > | getFluidDensityAndViscosity (double const t, double const dt, ParameterLib::SpatialPosition const &pos, Phase const &fluid_phase, VariableArray &vars) |
| It computes fluid density and viscosity for single phase flow model. | |
| double | getLiquidThermalExpansivity (Phase const &phase, VariableArray const &vars, const double density, ParameterLib::SpatialPosition const &pos, double const t, double const dt) |
| template<int GlobalDim> | |
| SymmetricTensor< GlobalDim > | getSymmetricTensor (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 4, 1 > | getSymmetricTensor< 2 > (MaterialPropertyLib::PropertyDataType const &values) |
| template Eigen::Matrix< double, 6, 1 > | getSymmetricTensor< 3 > (MaterialPropertyLib::PropertyDataType const &values) |
| double | steamDryness (double const enthalpy, double const h_sat_liquid, double const h_sat_vapour) |
| constexpr int | tensorSize (int dim) |
| See Tensor type for details. | |
| Variable | convertStringToVariable (std::string const &string) |
| static VariableArray::VariablePointer | dropConst (VariableArray::VariablePointerConst const const_pointer) |
Variables | |
| const MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1 | gibbs_free_energy_ |
| static constexpr double | ref_T_ = 1386 |
| reference temperature in K. | |
| static constexpr double | ref_p_ = 1.653e7 |
| reference pressure in Pa. | |
| constexpr double | T_c |
| Critical temperature. | |
| constexpr double | alpha = 1. / 8. |
| constexpr double | beta = 1. / 3. |
| constexpr double | Delta = 0.79 - beta |
| constexpr std::array | c |
| static constexpr double | max_exp_argument |
| static constexpr double | unused_dt = std::numeric_limits<double>::quiet_NaN() |
| static const double | Li [5] |
| static const double | Lij [5][6] |
| static const double | Hi [4] = {1.67752, 2.20462, 0.6366564, -0.241605} |
| static const double | Hij [6][7] |
| static constexpr std::array | n_T |
| static constexpr std::array | I_T |
| static constexpr std::array | J_T |
| static const std::array< std::string, PropertyType::number_of_properties > | property_enum_to_string |
| static constexpr const char | error_info [] |
| template<int GlobalDim> | |
| constexpr int | symmetric_tensor_size |
| static const std::array< std::string, static_cast< int >(Variable::number_of_variables)> | variable_enum_to_string |
| static const VariableArray | EmptyVariableArray {} |
| typedef std::array< std::unique_ptr< Property >, PropertyType::number_of_properties > MaterialPropertyLib::PropertyArray |
This data type is based on a std::array. It can hold pointers to objects of class Property or its inheritors. The size of this array is determined by the number of entries of the PropertyType enumerator.
Definition at line 34 of file CreateProperty.h.
Definition at line 24 of file MaterialLib/MPL/Property.h.
| typedef std::variant< std::string, Variable > MaterialPropertyLib::StringOrVariable = std::variant<std::string, Variable> |
| using MaterialPropertyLib::SymmetricTensor |
Definition at line 18 of file GetSymmetricTensor.h.
| using MaterialPropertyLib::Tensor = Eigen::Matrix<double, tensorSize(Dim), 1> |
The tensor's components in 3D case are ordered in the usual way: (1,1), (1,2), (1,3) (2,1), (2,2), (2,3) (3,1), (3,2), (3,3).
For the 2D case the 2x2 block is as usual and is followed by the (3,3) component: (1,1), (1,2), (2,1), (2,2), (3,3).
For the 1D case only the diagonal is stored: (1,1), (2,2), (3,3).
Data type for primary variables, designed to contain both scalar and vector data.
Definition at line 86 of file VariableType.h.
|
strong |
| Enumerator | |
|---|---|
| ARITHMETIC_LINEAR | |
| ARITHMETIC_SQUAREROOT | |
| GEOMETRIC | |
Definition at line 20 of file SaturationWeightedThermalConductivity.h.
|
strong |
Enumeration of phase types.
| Enumerator | |
|---|---|
| Solid | |
| AqueousLiquid | |
| Gas | |
| FrozenLiquid | |
| enum MaterialPropertyLib::PropertyType : int |
PropertyType is an enumerator list of all known properties of a substance. This includes all properties on all scales (i.e. component, phase, and medium scales). It is used as an index for the PropertyArray of the materials. If a necessary property is not in the list, simply add a new one in alphabetical order (of course, except for the last entry). Please note that any of these entries must also appear in below convert functions.
| Enumerator | |
|---|---|
| acentric_factor | |
| binary_interaction_coefficient | |
| biot_coefficient | |
| bishops_effective_stress | |
| brooks_corey_exponent | |
| bulk_modulus | |
| capillary_pressure | |
| compressibility | |
| concentration | used to specify decay rate of a substance. |
| critical_density | |
| critical_pressure | |
| critical_temperature | |
| decay_rate | |
| density | |
| diffusion | |
| drhodT | |
| effective_stress | |
| enthalpy | |
| entry_pressure | |
| evaporation_enthalpy | |
| fredlund_parameters | |
| frozen_liquid_saturation | frozen liquid (ice) saturation, i.e. the fraction of the pore space occupied by ice. The corresponding volume fraction is this value times the porosity. |
| heat_capacity | |
| henry_coefficient | |
| longitudinal_dispersivity | used to compute the hydrodynamic dispersion tensor. |
| molality | |
| molar_mass | |
| molar_volume | |
| mole_fraction | |
| molecular_diffusion | ion diffusivity in free water. |
| name | |
| permeability | |
| phase_change_expansivity | |
| phase_velocity | |
| poissons_ratio | |
| pore_diffusion | ion diffusivity in the porous medium with account of the effect of tortuosity and connectivity. |
| porosity | |
| reference_density | |
| reference_pressure | |
| reference_temperature | |
| relative_permeability | |
| relative_permeability_nonwetting_phase | |
| residual_gas_saturation | |
| residual_liquid_saturation | |
| retardation_factor | specify retardation factor used in component transport process. |
| saturation | |
| saturation_density | |
| saturation_enthalpy | |
| saturation_micro | capillary pressure saturation relationship for microstructure. |
| saturation_temperature | |
| specific_heat_capacity | |
| specific_latent_heat | |
| storage | |
| storage_contribution | |
| swelling_stress_rate | |
| temperature | |
| thermal_conductivity | |
| thermal_diffusion_enhancement_factor | Thermal diffusion enhancement factor for water vapor flow. |
| thermal_expansivity | The thermal expansivity corresponds to the linear thermal expansion coefficient for a solid and to the volumetric thermal expansion coefficient for a fluid |
| thermal_expansivity_contribution | |
| thermal_longitudinal_dispersivity | |
| thermal_osmosis_coefficient | |
| thermal_osmosis_permeability | Scalar thermo-osmotic permeability \(\epsilon_T\) in Pa/K, the pore pressure gradient equivalent to a unit temperature gradient. It parametrises the thermo-osmotic coefficient as \(k_T = \epsilon_T k / \mu\), see ProcessLib::getThermoOsmoticCoefficient(); use it instead of, not next to, thermal_osmosis_coefficient. |
| thermal_transversal_dispersivity | |
| tortuosity | |
| transport_porosity | |
| transversal_dispersivity | used to compute the hydrodynamic dispersion tensor. |
| vapour_pressure | |
| viscosity | |
| volume_fraction | |
| youngs_modulus | |
| number_of_properties | |
Definition at line 23 of file PropertyType.h.
|
strong |
Enum Variable is simply a list of all commonly used variables. If the variable of your choice is missing, simply add it somewhere at the list, but above the last entry.
Definition at line 20 of file VariableType.h.
|
static |
The same state with the drift aligned with the mixture flow, which is the closure computeVapourVoidFraction() actually solves.
Definition at line 28 of file DriftFluxModel.cpp.
References alignedDriftFluxVelocity(), MaterialPropertyLib::DriftFluxState::u_gu, and MaterialPropertyLib::DriftFluxState::v_mix.
Referenced by computeVapourVoidFraction(), and voidFractionClosureDiagnostics().
| double MaterialPropertyLib::alignedDriftFluxVelocity | ( | double const | u_gu, |
| double const | v_mix ) |
Drift flux velocity aligned with the mixture flow, \(\operatorname{sign}(v)\, u_{gu}\). The Rouhani-Axelsson closure is derived for co-current flow and has no admissible solution for backflow with a drift velocity that is fixed in the gravity frame, see computeVapourVoidFraction() for the reasoning.
Every use of the drift flux velocity next to a void fraction obtained from that closure, in particular the slip momentum term of the mixture, has to use the same aligned value: the void fraction is even in the mixture velocity, so a raw drift flux velocity leaves the slip term inconsistent with it and lets the term vanish at the finite backflow velocity \(v = -u_{gu} / (C_0 - 1)\).
Definition at line 35 of file DriftFluxModel.cpp.
Referenced by alignDriftWithFlow(), and driftFluxState().
| void MaterialPropertyLib::checkMaterialSpatialDistributionMap | ( | MeshLib::Mesh const & | mesh, |
| MaterialPropertyLib::MaterialSpatialDistributionMap const & | media_map, | ||
| ContainerMedium const & | required_properties_medium, | ||
| ContainerSolid const & | required_properties_solid_phase, | ||
| ContainerLiquid const & | required_properties_liquid_phase, | ||
| ContainerGas const & | required_properties_gas_phase ) |
Definition at line 16 of file CheckMaterialSpatialDistributionMap.h.
References AqueousLiquid, checkRequiredProperties(), Gas, MeshLib::Mesh::getElements(), MaterialPropertyLib::MaterialSpatialDistributionMap::getMedium(), MeshLib::views::ids, and Solid.
Referenced by ProcessLib::HeatConduction::checkMPLProperties(), ProcessLib::HT::checkMPLProperties(), ProcessLib::RichardsFlow::checkMPLProperties(), ProcessLib::SteadyStateDiffusion::checkMPLProperties(), and ProcessLib::WellboreSimulator::checkMPLProperties().
| void MaterialPropertyLib::checkMPLPhasesForSinglePhaseFlow | ( | MeshLib::Mesh const & | mesh, |
| MaterialPropertyLib::MaterialSpatialDistributionMap const & | media_map ) |
Definition at line 17 of file CheckMPLPhasesForSinglePhaseFlow.cpp.
References fluidPhase(), MeshLib::Mesh::getElements(), MeshLib::views::ids, MaterialPropertyLib::MaterialSpatialDistributionMap::media(), and OGS_FATAL.
Referenced by ProcessLib::LiquidFlow::checkMPLProperties(), ProcessLib::HydroMechanics::createHydroMechanicsProcess(), and ProcessLib::LIE::HydroMechanics::createHydroMechanicsProcess().
| void MaterialPropertyLib::checkRequiredProperties | ( | Component const & | c, |
| std::span< PropertyType const > const | required_properties ) |
Definition at line 51 of file Component.cpp.
References c, OGS_FATAL, and property_enum_to_string.
Referenced by checkMaterialSpatialDistributionMap().
| void MaterialPropertyLib::checkRequiredProperties | ( | Medium const & | medium, |
| std::span< PropertyType const > const | required_properties ) |
Definition at line 80 of file Medium.cpp.
References MaterialPropertyLib::Medium::hasProperty(), OGS_FATAL, and property_enum_to_string.
| void MaterialPropertyLib::checkRequiredProperties | ( | Phase const & | phase, |
| std::span< PropertyType const > const | required_properties ) |
Definition at line 112 of file Phase.cpp.
References MaterialPropertyLib::Phase::hasProperty(), OGS_FATAL, MaterialPropertyLib::Phase::phaseName, property_enum_to_string, and toString().
| void MaterialPropertyLib::checkSaturationRange | ( | const double | Sl | ) |
Definition at line 16 of file CapillaryPressureRegularizedVanGenuchten.cpp.
References OGS_FATAL.
Referenced by MaterialPropertyLib::CapillaryPressureRegularizedVanGenuchten::dValue(), and MaterialPropertyLib::CapillaryPressureRegularizedVanGenuchten::value().
| void MaterialPropertyLib::checkVanGenuchtenExponentRange | ( | const double | m | ) |
Definition at line 10 of file CheckVanGenuchtenExponentRange.cpp.
References OGS_FATAL.
Referenced by MaterialPropertyLib::CapillaryPressureRegularizedVanGenuchten::CapillaryPressureRegularizedVanGenuchten(), and MaterialPropertyLib::RelPermNonWettingPhaseVanGenuchtenMualem::RelPermNonWettingPhaseVanGenuchtenMualem().
|
static |
Slip parameter \(S = C_0 (x + (1 - x) \rho_v / \rho_l)\) of the drift-flux closure, see computeVapourVoidFraction().
Definition at line 19 of file DriftFluxModel.cpp.
References MaterialPropertyLib::DriftFluxState::C_0, MaterialPropertyLib::DriftFluxState::dryness, MaterialPropertyLib::DriftFluxState::liquid_water_density, and MaterialPropertyLib::DriftFluxState::vapour_water_density.
Referenced by computeVapourVoidFraction(), voidFractionClosureDiagnostics(), voidFractionQuadratic(), and voidFractionResidual().
|
delete |
| double MaterialPropertyLib::computeAverage< MeanType::ARITHMETIC_LINEAR > | ( | const double | S, |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 30 of file SaturationWeightedThermalConductivity.cpp.
| double MaterialPropertyLib::computeAverage< MeanType::ARITHMETIC_SQUAREROOT > | ( | const double | S, |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 46 of file SaturationWeightedThermalConductivity.cpp.
| double MaterialPropertyLib::computeAverage< MeanType::GEOMETRIC > | ( | const double | S, |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 62 of file SaturationWeightedThermalConductivity.cpp.
|
static |
Definition at line 80 of file WaterThermalConductivityIAPWS.cpp.
References Li.
Referenced by computedBarLambda_dbarRho(), computedBarLambda_dbarT(), and MaterialPropertyLib::WaterThermalConductivityIAPWS::value().
|
static |
Definition at line 117 of file WaterThermalConductivityIAPWS.cpp.
References Lij.
Referenced by computedBarLambda_dbarRho(), computedBarLambda_dbarT(), and MaterialPropertyLib::WaterThermalConductivityIAPWS::value().
|
static |
Definition at line 73 of file WaterViscosityIAPWS.cpp.
References Hi.
Referenced by computedBarMu_dbarRho(), computedBarMu_dbarT(), and MaterialPropertyLib::WaterViscosityIAPWS::value().
|
static |
Definition at line 110 of file WaterViscosityIAPWS.cpp.
References Hij.
Referenced by computedBarMu_dbarRho(), computedBarMu_dbarT(), and MaterialPropertyLib::WaterViscosityIAPWS::value().
|
delete |
| double MaterialPropertyLib::computeDAverage< MeanType::ARITHMETIC_LINEAR > | ( | const double | , |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 38 of file SaturationWeightedThermalConductivity.cpp.
| double MaterialPropertyLib::computeDAverage< MeanType::ARITHMETIC_SQUAREROOT > | ( | const double | S, |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 54 of file SaturationWeightedThermalConductivity.cpp.
| double MaterialPropertyLib::computeDAverage< MeanType::GEOMETRIC > | ( | const double | S, |
| double const | k_dry, | ||
| double const | k_wet ) |
Definition at line 69 of file SaturationWeightedThermalConductivity.cpp.
|
static |
Definition at line 176 of file WaterThermalConductivityIAPWS.cpp.
References computeBarLambda0Factor(), computeBarLambda1Factor(), computeSeriesFactorRhoForLambda1(), computeSeriesFactorTForLambda1(), and Lij.
Referenced by MaterialPropertyLib::WaterThermalConductivityIAPWS::dValue().
|
static |
Definition at line 134 of file WaterThermalConductivityIAPWS.cpp.
References computeBarLambda0Factor(), computeBarLambda1Factor(), computeSeriesFactorRhoForLambda1(), computeSeriesFactorTForLambda1(), Li, and Lij.
Referenced by MaterialPropertyLib::WaterThermalConductivityIAPWS::dValue().
|
static |
Definition at line 168 of file WaterViscosityIAPWS.cpp.
References computeBarMu0Factor(), computeBarMu1Factor(), computeSeriesFactorRhoForMu1(), computeSeriesFactorTForMu1(), and Hij.
Referenced by MaterialPropertyLib::WaterViscosityIAPWS::dValue().
|
static |
Definition at line 127 of file WaterViscosityIAPWS.cpp.
References computeBarMu0Factor(), computeBarMu1Factor(), computeSeriesFactorRhoForMu1(), computeSeriesFactorTForMu1(), Hi, and Hij.
Referenced by MaterialPropertyLib::WaterViscosityIAPWS::dValue().
|
static |
Definition at line 105 of file WaterThermalConductivityIAPWS.cpp.
Referenced by computedBarLambda_dbarRho(), computedBarLambda_dbarT(), and MaterialPropertyLib::WaterThermalConductivityIAPWS::value().
|
static |
Definition at line 98 of file WaterViscosityIAPWS.cpp.
Referenced by computedBarMu_dbarRho(), computedBarMu_dbarT(), and MaterialPropertyLib::WaterViscosityIAPWS::value().
|
static |
Definition at line 92 of file WaterThermalConductivityIAPWS.cpp.
Referenced by computedBarLambda_dbarRho(), computedBarLambda_dbarT(), and MaterialPropertyLib::WaterThermalConductivityIAPWS::value().
|
static |
Definition at line 85 of file WaterViscosityIAPWS.cpp.
Referenced by computedBarMu_dbarRho(), computedBarMu_dbarT(), and MaterialPropertyLib::WaterViscosityIAPWS::value().
| double MaterialPropertyLib::computeTemperature | ( | double const | pi, |
| double const | eta ) |
Definition at line 27 of file WaterTemperatureIAPWSIF97Region1.cpp.
Referenced by MaterialPropertyLib::WaterTemperatureIAPWSIF97Region1::value().
| double MaterialPropertyLib::computeVanGenuchtenMualemValue | ( | const double | S_L, |
| const double | S_L_r, | ||
| const double | S_L_max, | ||
| const double | m ) |
Definition at line 17 of file RelPermNonWettingPhaseVanGenuchtenMualem.cpp.
Referenced by MaterialPropertyLib::RelPermNonWettingPhaseVanGenuchtenMualem::computeSaturationForMinimumRelativePermeability(), and MaterialPropertyLib::RelPermNonWettingPhaseVanGenuchtenMualem::value().
| std::optional< double > MaterialPropertyLib::computeVapourVoidFraction | ( | DriftFluxState const & | state | ) |
Vapour void fraction of the Rouhani-Axelsson drift-flux closure, see Rouhani, Z., and E. Axelsson. "Calculation of volume void fraction in a subcooled and quality region." International Journal of Heat and Mass Transfer 17 (1970): 383-393.
With the mixture density \(\rho_m = \alpha \rho_v + (1 - \alpha) \rho_l\) and the mass flux \(G = \rho_m v\) the closure reads
\[ G (x - \alpha S) - \alpha \rho_v u_{gu} = 0, \quad S = C_0 \left(x + (1 - x) \frac{\rho_v}{\rho_l}\right), \]
which is a quadratic equation in \(\alpha\) because \(\rho_m\) depends on \(\alpha\) linearly.
For co-current upflow, \(v > 0\) and \(0 < x < 1\), the residual is positive at \(\alpha = 0\) and negative at \(\alpha = 1\), hence a root exists, and it is the only root in the admissible interval \([0, \min(1, x / S)]\). The bound \(x / S\) is the homogeneous void fraction divided by the profile parameter and is at most one as long as \(C_0 \ge 1\), which is what driftFluxProfileParameter() gives; the minimum keeps the returned volume fraction below one for a profile parameter below one as well. As long as the phase densities are ordered, \(\rho_l > \rho_v\), the parabola opens upwards and the second root is larger than one. Where the two densities cross, in the immediate vicinity of the critical point, it opens downwards and both roots can lie below one, which is why the root is selected by testing the admissible interval rather than by its position.
The correlation is derived for co-current flow. Written with a drift velocity that is fixed in the gravity frame it has no admissible solution for backflow, \(v < 0\): the denominator \(S G + \rho_v u_{gu}\) of the closure changes sign, so the void fraction has a pole and leaves \([0, 1]\). The drift velocity is therefore aligned with the mixture flow, \(u_{gu} \to \operatorname{sign}(v)\, u_{gu}\), which makes the residual odd under \(v \to -v\) and hence the void fraction an even function of the mixture velocity. Existence and uniqueness above then hold for every mixture velocity, and \(\alpha \sim |v|\) near \(v = 0\), that is the void fraction is continuous but not differentiable where the flow reverses. They hold for the exact closure; the arithmetic that implements it reports no admissible root once the mixture velocity is small enough that the coefficients of the quadratic underflow, below some \(10^{-160}\) m/s, which is answered by a retreat like any other state without a root. A mixture at rest, \(v = 0\) exactly, is resolved by continuity instead, see below.
The kink at \(v = 0\) could be removed by scaling the drift velocity with \(v / \sqrt{v^2 + u_{gu}^2}\), using the drift velocity itself as the velocity scale so that no tuning parameter is introduced. This is not done because it changes the void fraction in the whole band \(|v| \lesssim u_{gu}\); what the kink does to the convergence of the global Newton solver has not been investigated.
Solves the closure in closed form and returns the root in the admissible interval, or no value if the closure has no admissible solution for the given state.
A mixture at rest without drift, \(v = 0\) and \(u_{gu} = 0\), leaves every coefficient of the quadratic zero and the closure is satisfied by every void fraction. It is resolved by continuity: without drift the closure reads \(x = \alpha S\) for every non-zero mixture velocity, independently of it, so the limit is the profile slip alone, \(\alpha = x / S\).
Single phase states, \(x \le 0\) and \(x \ge 1\), return \(0\) and \(1\) without looking at the state, in particular without looking at the density of the absent phase.
For a two-phase state it throws NumLib::AssemblyException for a non-positive phase density and for a non-finite dryness, mixture velocity, drift flux velocity, or profile parameter: all of those follow the solution iterate, so the assembly is aborted rather than the run ended.
What the abort leads to is up to the nonlinear solver, and both of them answer it the same way: the Newton and the Picard solver each catch NumLib::AssemblyException, end the nonlinear iteration and let the time stepping repeat the step with a smaller time step size, with the state of the closure reported.
| state | the state of the closure. |
Definition at line 140 of file DriftFluxModel.cpp.
References alignDriftWithFlow(), alpha, c, closureSlipParameter(), and voidFractionQuadratic().
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
| PropertyType MaterialPropertyLib::convertStringToProperty | ( | std::string const & | string | ) |
This function converts a string (e.g. a string from the configuration-tree) into one of the entries of the PropertyType enumerator.
Definition at line 12 of file PropertyType.cpp.
References number_of_properties, OGS_FATAL, and property_enum_to_string.
Referenced by MaterialPropertyLib::VolumeFractionAverage::VolumeFractionAverage(), and createProperties().
| Variable MaterialPropertyLib::convertStringToVariable | ( | std::string const & | string | ) |
This function converts a string (e.g. a string from the configuration-tree) into one of the entries of the Variable enumerator.
Definition at line 20 of file VariableType.cpp.
References number_of_variables, OGS_FATAL, and variable_enum_to_string.
Referenced by MaterialPropertyLib::Function::Function(), MaterialPropertyLib::PerThreadData::compileExpressions(), createCurve(), createExponential(), createLinear(), createSigmoid(), and createSymbolTable().
| std::unique_ptr< AverageMolarMass > MaterialPropertyLib::createAverageMolarMass | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateAverageMolarMass.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< BishopsPowerLaw > MaterialPropertyLib::createBishopsPowerLaw | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateBishopsPowerLaw.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< BishopsSaturationCutoff > MaterialPropertyLib::createBishopsSaturationCutoff | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateBishopsSaturationCutoff.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createCapillaryPressureRegularizedVanGenuchten | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateCapillaryPressureRegularizedVanGenuchten.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createCapillaryPressureVanGenuchten | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateCapillaryPressureVanGenuchten.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< ClausiusClapeyron > MaterialPropertyLib::createClausiusClapeyron | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateClausiusClapeyron.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), critical_pressure, critical_temperature, DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::vector< std::unique_ptr< Component > > MaterialPropertyLib::createComponents | ( | int const | geometry_dimension, |
| std::optional< BaseLib::ConfigTree > const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system, | ||
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
The method creates components based on config subtree.
Just like a phase, a component can have a name. But, in this case, the name has an important task. If a name is given, a specific component class referring to that name with corresponding physical material properties is created. Assigning a name is optional; If no name is given, a custom component without predefined properties is created.
Definition at line 67 of file CreateComponent.cpp.
Referenced by anonymous_namespace{CreatePhase.cpp}::createPhase().
| std::unique_ptr< Constant > MaterialPropertyLib::createConstant | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateConstant.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), fromVector(), BaseLib::ConfigTree::getConfigParameterOptional(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createCubicLawPermeability | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 15 of file CreateCubicLawPermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Curve > MaterialPropertyLib::createCurve | ( | BaseLib::ConfigTree const & | config, |
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
Definition at line 16 of file CreateCurve.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), convertStringToVariable(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::getOrError(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< DupuitPermeability > MaterialPropertyLib::createDupuitPermeability | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 12 of file CreateDupuitPermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createEffectiveThermalConductivityPorosityMixing | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 11 of file CreateEffectiveThermalConductivityPorosityMixing.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createEmbeddedFracturePermeability | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 10 of file CreateEmbeddedFracturePermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::getConfigParameterOptional(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Exponential > MaterialPropertyLib::createExponential | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 11 of file CreateExponential.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), convertStringToVariable(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::getConfigSubtree(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Function > MaterialPropertyLib::createFunction | ( | BaseLib::ConfigTree const & | config, |
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
Definition at line 30 of file CreateFunction.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigSubtree(), BaseLib::ConfigTree::getConfigSubtreeList(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createGasPressureDependentPermeability | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 18 of file CreateGasPressureDependentPermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< IdealGasLaw > MaterialPropertyLib::createIdealGasLaw | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateIdealGasLaw.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< IdealGasLawBinaryMixture > MaterialPropertyLib::createIdealGasLawBinaryMixture | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateIdealGasLawBinaryMixture.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createKozenyCarmanModel | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 12 of file CreateKozenyCarmanModel.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), and BaseLib::ConfigTree::getConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Linear > MaterialPropertyLib::createLinear | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 11 of file CreateLinear.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), convertStringToVariable(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::getConfigSubtreeList(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createLinearSaturationSwellingStress | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateLinearSaturationSwellingStress.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createLinearWaterVapourLatentHeat | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateLinearWaterVapourLatentHeat.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createLiquidViscosityVogels | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateLiquidViscosityVogels.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), INFO(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| MaterialSpatialDistributionMap MaterialPropertyLib::createMaterialSpatialDistributionMap | ( | std::map< int, std::shared_ptr< Medium > > const & | media, |
| MeshLib::Mesh const & | mesh ) |
Definition at line 11 of file CreateMaterialSpatialDistributionMap.cpp.
References OGS_FATAL, and WARN().
Referenced by ProcessLib::ComponentTransport::createComponentTransportProcess(), ProcessLib::HeatConduction::createHeatConductionProcess(), ProcessLib::HeatTransportBHE::createHeatTransportBHEProcess(), ProcessLib::HMPhaseField::createHMPhaseFieldProcess(), ProcessLib::HT::createHTProcess(), ProcessLib::HydroMechanics::createHydroMechanicsProcess(), ProcessLib::LIE::HydroMechanics::createHydroMechanicsProcess(), ProcessLib::LargeDeformation::createLargeDeformationProcess(), ProcessLib::LiquidFlow::createLiquidFlowProcess(), ProcessLib::RichardsComponentTransport::createRichardsComponentTransportProcess(), ProcessLib::RichardsFlow::createRichardsFlowProcess(), ProcessLib::RichardsMechanics::createRichardsMechanicsProcess(), ProcessLib::SmallDeformation::createSmallDeformationProcess(), ProcessLib::SteadyStateDiffusion::createSteadyStateDiffusion(), ProcessLib::TH2M::createTH2MProcess(), ProcessLib::ThermalTwoPhaseFlowWithPP::createThermalTwoPhaseFlowWithPPProcess(), ProcessLib::ThermoHydroMechanics::createThermoHydroMechanicsProcess(), ProcessLib::ThermoMechanics::createThermoMechanicsProcess(), ProcessLib::ThermoRichardsFlow::createThermoRichardsFlowProcess(), ProcessLib::ThermoRichardsMechanics::createThermoRichardsMechanicsProcessStage2(), ProcessLib::TwoPhaseFlowWithPP::createTwoPhaseFlowWithPPProcess(), ProcessLib::createWellboreCompensateNeumannBoundaryCondition(), and ProcessLib::WellboreSimulator::createWellboreSimulatorProcess().
| std::unique_ptr< Medium > MaterialPropertyLib::createMedium | ( | int const | material_id, |
| int const | geometry_dimension, | ||
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system, | ||
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
This function parses the "phases" and "properties" subtrees of the config tree and calls create methods for the phase vector and the properties array. Medium properties are optional. If not defined, default properties are assigned.
Definition at line 15 of file CreateMedium.cpp.
References createPhases(), createProperties(), BaseLib::ConfigTree::getConfigSubtreeOptional(), and OGS_FATAL.
Referenced by ProjectData::parseMedia().
| std::unique_ptr< Property > MaterialPropertyLib::createOrthotropicEmbeddedFracturePermeability | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 12 of file CreateOrthotropicEmbeddedFracturePermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Parameter > MaterialPropertyLib::createParameterProperty | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 13 of file CreateParameter.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createPengRobinson | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreatePengRobinson.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::getConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createPermeabilityMohrCoulombFailureIndexModel | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 17 of file CreatePermeabilityMohrCoulombFailureIndexModel.cpp.
References c, BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createPermeabilityOrthotropicPowerLaw | ( | BaseLib::ConfigTree const & | config, |
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 10 of file CreatePermeabilityOrthotropicPowerLaw.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::vector< std::unique_ptr< Phase > > MaterialPropertyLib::createPhases | ( | int const | geometry_dimension, |
| std::optional< BaseLib::ConfigTree > const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system, | ||
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
A method that parses the phase details and stores them in the private phases_ member.
This method creates the phases of the medium. Unlike a medium, a phase may have a name. However, this is silly at the moment since this name still has no effect (except of some benefits in regard of readability). Phase components are required (a phase consists of at least one component). Phase properties are optional. If not given, default properties are assigned. These default properties average the component properties, weighted by mole fraction.
Definition at line 72 of file CreatePhase.cpp.
References OGS_FATAL, and toString().
Referenced by createMedium().
| std::unique_ptr< PorosityFromMassBalance > MaterialPropertyLib::createPorosityFromMassBalance | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 12 of file CreatePorosityFromMassBalance.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< PropertyArray > MaterialPropertyLib::createProperties | ( | int const | geometry_dimension, |
| std::optional< BaseLib::ConfigTree > const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system, | ||
| std::map< std::string, std::unique_ptr< MathLib::PiecewiseLinearInterpolation > > const & | curves ) |
The method reads the 'properties' tag in the prj-file and creates component properties accordingly.
First, a new property iy created based on the specified property type. Then, the property name is evaluated and the property is copied into the properties array.
Definition at line 390 of file CreateProperty.cpp.
References convertStringToProperty().
Referenced by anonymous_namespace{CreateComponent.cpp}::createComponent(), createMedium(), and anonymous_namespace{CreatePhase.cpp}::createPhase().
| std::unique_ptr< RelPermBrooksCorey > MaterialPropertyLib::createRelPermBrooksCorey | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermBrooksCorey.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermBrooksCoreyNonwettingPhase > MaterialPropertyLib::createRelPermBrooksCoreyNonwettingPhase | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateRelPermBrooksCoreyNonwettingPhase.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermGeneralizedPower > MaterialPropertyLib::createRelPermGeneralizedPower | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermGeneralizedPower.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermGeneralizedPowerNonwettingPhase > MaterialPropertyLib::createRelPermGeneralizedPowerNonwettingPhase | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 10 of file CreateRelPermGeneralizedPowerNonwettingPhase.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermLiakopoulos > MaterialPropertyLib::createRelPermLiakopoulos | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermLiakopoulos.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createRelPermNonWettingPhaseVanGenuchtenMualem | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateRelPermNonWettingPhaseVanGenuchtenMualem.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermUdell > MaterialPropertyLib::createRelPermUdell | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermUdell.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermUdellNonwettingPhase > MaterialPropertyLib::createRelPermUdellNonwettingPhase | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermUdellNonwettingPhase.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< RelPermVanGenuchten > MaterialPropertyLib::createRelPermVanGenuchten | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateRelPermVanGenuchten.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationBrooksCorey > MaterialPropertyLib::createSaturationBrooksCorey | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateSaturationBrooksCorey.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), entry_pressure, BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationDependentSwelling > MaterialPropertyLib::createSaturationDependentSwelling | ( | BaseLib::ConfigTree const & | config, |
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 10 of file CreateSaturationDependentSwelling.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createSaturationDependentThermalConductivity | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 8 of file CreateSaturationDependentThermalConductivity.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), and OGS_FATAL.
| std::unique_ptr< SaturationExponential > MaterialPropertyLib::createSaturationExponential | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateSaturationExponential.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationLiakopoulos > MaterialPropertyLib::createSaturationLiakopoulos | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateSaturationLiakopoulos.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationLuMcCartney > MaterialPropertyLib::createSaturationLuMcCartney | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 8 of file CreateSaturationLuMcCartney.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationVanGenuchten > MaterialPropertyLib::createSaturationVanGenuchten | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateSaturationVanGenuchten.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::getConfigParameterOptional(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< SaturationVanGenuchtenWithVolumetricStrain > MaterialPropertyLib::createSaturationVanGenuchtenWithVolumetricStrain | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 10 of file CreateSaturationVanGenuchtenWithVolumetricStrain.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), BaseLib::ConfigTree::peekConfigParameter(), residual_gas_saturation, and residual_liquid_saturation.
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createSaturationWeightedThermalConductivity | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > & | parameters ) |
Definition at line 34 of file CreateSaturationWeightedThermalConductivity.cpp.
References ARITHMETIC_LINEAR, ARITHMETIC_SQUAREROOT, BaseLib::ConfigTree::checkConfigParameter(), createSaturationWeightedThermalConductivity(), DBUG(), GEOMETRIC, BaseLib::ConfigTree::getConfigParameter(), ParameterLib::getNamedOrCreateInlineParameter(), BaseLib::getOrError(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty(), and createSaturationWeightedThermalConductivity().
| std::unique_ptr< Sigmoid > MaterialPropertyLib::createSigmoid | ( | BaseLib::ConfigTree const & | config | ) |
Create a Sigmoid property from XML configuration.
Definition at line 13 of file CreateSigmoid.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), convertStringToVariable(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), name, OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createSoilThermalConductivitySomerton | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 11 of file CreateSoilThermalConductivitySomerton.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), and OGS_FATAL.
| std::unique_ptr< SpecificHeatCapacityWithLatentHeat > MaterialPropertyLib::createSpecificHeatCapacityWithLatentHeat | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 13 of file CreateSpecificHeatCapacityWithLatentHeat.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createStrainDependentPermeability | ( | int const | geometry_dimension, |
| BaseLib::ConfigTree const & | config, | ||
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters, | ||
| ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 18 of file CreateStrainDependentPermeability.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), OGS_FATAL, and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
|
static |
Creates a symbol table for one MPL Function thread, registering standard variables (t, x, y, z), VariableArray fields, and curve wrappers. variable_array and curve_wrappers are members of the owning PerThreadData and must already be at their final address.
Definition at line 66 of file Function.cpp.
References convertStringToVariable(), ParameterLib::createBaseSymbolTable(), ParameterLib::isBuiltinSymbol(), MathLib::KelvinVector::kelvin_vector_dimensions(), ParameterLib::registerCurveWrappers(), MathLib::VectorizedTensor::size(), and MaterialPropertyLib::VariableArray::visitVariable().
Referenced by MaterialPropertyLib::PerThreadData::PerThreadData().
| std::unique_ptr< Property > MaterialPropertyLib::createTemperatureDependentDiffusion | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 10 of file CreateTemperatureDependentDiffusion.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), ParameterLib::findParameter(), and BaseLib::ConfigTree::getConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< TransportPorosityFromMassBalance > MaterialPropertyLib::createTransportPorosityFromMassBalance | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 13 of file CreateTransportPorosityFromMassBalance.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createVapourDiffusionDeVries | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateVapourDiffusionDeVries.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createVapourDiffusionFEBEX | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateVapourDiffusionFEBEX.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createVapourDiffusionPMQ | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateVapourDiffusionPMQ.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), BaseLib::ConfigTree::getConfigParameter(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createVermaPruessModel | ( | BaseLib::ConfigTree const & | config, |
| std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const & | parameters ) |
Definition at line 12 of file CreateVermaPruessModel.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), ParameterLib::findParameter(), and BaseLib::ConfigTree::getConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< VolumeFractionAverage > MaterialPropertyLib::createVolumeFractionAverage | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 9 of file CreateVolumeFractionAverage.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterDensityIAPWSIF97Region1 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterDensityIAPWSIF97Region1.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterEnthalpyIAPWSIF97Region1 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterEnthalpyIAPWSIF97Region1.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterLiquidDensityIAPWSIF97Region4 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterLiquidDensityIAPWSIF97Region4.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterLiquidEnthalpyIAPWSIF97Region4 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterLiquidEnthalpyIAPWSIF97Region4.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterSaturationTemperatureIAPWSIF97Region4 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterSaturationTemperatureIAPWSIF97Region4.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterTemperatureIAPWSIF97Region1 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterTemperatureIAPWSIF97Region1.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterThermalConductivityIAPWS | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterThermalConductivityIAPWS.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterVapourDensity | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterVapourDensity.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterVapourDensityIAPWSIF97Region4 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterVapourDensityIAPWSIF97Region4.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterVapourEnthalpyIAPWSIF97Region4 | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterVapourEnthalpyIAPWSIF97Region4.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterVapourLatentHeatWithCriticalTemperature | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterVapourLatentHeatWithCriticalTemperature.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
| std::unique_ptr< Property > MaterialPropertyLib::createWaterViscosityIAPWS | ( | BaseLib::ConfigTree const & | config | ) |
Definition at line 12 of file CreateWaterViscosityIAPWS.cpp.
References BaseLib::ConfigTree::checkConfigParameter(), DBUG(), and BaseLib::ConfigTree::peekConfigParameter().
Referenced by anonymous_namespace{CreateProperty.cpp}::createProperty().
|
static |
OpenMP thread id validated against the number of allocated per-thread data slots. OGS_FATAL if the id exceeds the allocation.
Definition at line 661 of file Function.cpp.
References OGS_FATAL.
Referenced by MaterialPropertyLib::Function::d2Value(), MaterialPropertyLib::Function::dValue(), and MaterialPropertyLib::Function::value().
| double MaterialPropertyLib::driftFluxProfileParameter | ( | double const | dryness | ) |
Profile parameter \(C_0\) of the Rouhani-Axelsson drift-flux closure, the flow-weighted ratio of the cross-sectional averages that accounts for the non-uniform void and velocity profiles over the well cross-section.
| dryness | the vapour mass fraction, dimensionless. |
Definition at line 40 of file DriftFluxModel.cpp.
Referenced by driftFluxState().
| DriftFluxState MaterialPropertyLib::driftFluxState | ( | double const | dryness, |
| double const | temperature, | ||
| double const | vapour_water_density, | ||
| double const | liquid_water_density, | ||
| double const | v_mix ) |
State of the drift-flux closure for a two-phase water mixture, assembled from the quantities a local assembler has at an integration point. The profile parameter and the drift flux velocity are not independent inputs: they follow from the same dryness, temperature and phase densities through driftFluxProfileParameter() and driftFluxVelocity(), and the drift has to be the one aligned with the mixture flow, see alignedDriftFluxVelocity(). Composing them here keeps every caller on the same closure.
| dryness | the vapour mass fraction, dimensionless. |
| temperature | in K. |
| vapour_water_density | in kg/m^3. |
| liquid_water_density | in kg/m^3. |
| v_mix | the mixture velocity in m/s. |
Definition at line 124 of file DriftFluxModel.cpp.
References alignedDriftFluxVelocity(), driftFluxProfileParameter(), driftFluxVelocity(), and temperature.
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
| double MaterialPropertyLib::driftFluxVelocity | ( | double const | dryness, |
| double const | temperature, | ||
| double const | vapour_water_density, | ||
| double const | liquid_water_density ) |
Drift flux velocity \(u_{gu}\) of the Rouhani-Axelsson closure, from the surface tension of the IAPWS correlation, see Cooper, J. R., and R. B. Dooley. "IAPWS release on surface tension of ordinary water substance." International Association for the Properties of Water and Steam (1994).
Both the surface tension correlation and the buoyancy driving the drift are capped at zero at the critical point, where the two phases become identical: beyond it the reduced temperature is negative and the phase densities cross, and std::pow of a negative base with the non-integer exponents of the two correlations is NaN, which would travel into the void fraction closure. Newton iterates do reach that range, so both are capped rather than assumed positive.
| dryness | the vapour mass fraction, dimensionless. |
| temperature | in K. |
| vapour_water_density | in kg/m^3. |
| liquid_water_density | in kg/m^3. |
Definition at line 93 of file DriftFluxModel.cpp.
References temperature, and MaterialLib::PhysicalConstant::CriticalPoint::TemperatureWater.
Referenced by driftFluxState().
|
static |
Definition at line 104 of file VariableType.cpp.
Referenced by MaterialPropertyLib::VariableArray::address_of().
|
static |
\(\frac{\partial \rho_{vS}}{\partial T}\)
Definition at line 21 of file WaterVapourDensity.cpp.
Referenced by MaterialPropertyLib::WaterVapourDensity::dValue().
|
static |
Helper to get fixed-size array from expressions for known sizes. This avoids heap allocation.
Definition at line 508 of file Function.cpp.
Referenced by MaterialPropertyLib::PerThreadData::evaluate().
Returns a gas or aqueous liquid phase of the given medium.
Definition at line 95 of file Medium.cpp.
References AqueousLiquid, Gas, MaterialPropertyLib::Medium::hasPhase(), OGS_FATAL, and MaterialPropertyLib::Medium::phase().
Referenced by checkMPLPhasesForSinglePhaseFlow(), and ProcessLib::Common::HydraulicProcess::checkVolumeBalanceEquationSetting().
| Eigen::Matrix< double, GlobalDim, GlobalDim > MaterialPropertyLib::formEffectiveThermalConductivity | ( | MaterialPropertyLib::PropertyDataType const & | solid_thermal_conductivity, |
| const double | fluid_thermal_conductivity, | ||
| const double | porosity ) |
Definition at line 11 of file FormEffectiveThermalConductivity.cpp.
References formEigenTensor(), and porosity.
Referenced by ProcessLib::ThermalTwoPhaseFlowWithPP::ThermalTwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::assemble().
| template Eigen::Matrix< double, 1, 1 > MaterialPropertyLib::formEffectiveThermalConductivity< 1 > | ( | MaterialPropertyLib::PropertyDataType const & | solid_thermal_conductivity, |
| const double | fluid_thermal_conductivity, | ||
| const double | porosity ) |
References porosity.
| template Eigen::Matrix< double, 2, 2 > MaterialPropertyLib::formEffectiveThermalConductivity< 2 > | ( | MaterialPropertyLib::PropertyDataType const & | solid_thermal_conductivity, |
| const double | fluid_thermal_conductivity, | ||
| const double | porosity ) |
References porosity.
| template Eigen::Matrix< double, 3, 3 > MaterialPropertyLib::formEffectiveThermalConductivity< 3 > | ( | MaterialPropertyLib::PropertyDataType const & | solid_thermal_conductivity, |
| const double | fluid_thermal_conductivity, | ||
| const double | porosity ) |
References porosity.
|
constexpr |
Definition at line 163 of file FormEigenTensor.h.
Referenced by ProcessLib::HeatConduction::LocalAssemblerData< ShapeFunction, GlobalDim >::assemble(), ProcessLib::HT::MonolithicHTFEM< ShapeFunction, GlobalDim >::assemble(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assemble(), ProcessLib::RichardsFlow::LocalAssemblerData< ShapeFunction, GlobalDim >::assemble(), ProcessLib::RichardsMechanics::RichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assemble(), ProcessLib::SteadyStateDiffusion::LocalAssemblerData< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ThermalTwoPhaseFlowWithPP::ThermalTwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleBlockMatrices(), ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleBlockMatricesWithJacobian(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleComponentTransportEquation(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleHeatTransportEquation(), ProcessLib::HT::StaggeredHTFEM< ShapeFunction, GlobalDim >::assembleHeatTransportEquation(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleHydraulicEquation(), ProcessLib::HT::StaggeredHTFEM< ShapeFunction, GlobalDim >::assembleHydraulicEquation(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::assembleMatrixAndVector(), ProcessLib::HeatConduction::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleWithJacobian(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobian(), ProcessLib::ThermoMechanics::ThermoMechanicsLocalAssembler< ShapeFunction, DisplacementDim >::assembleWithJacobian(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assembleWithJacobian(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleWithJacobianComponentTransportEquation(), ProcessLib::RichardsMechanics::RichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobianEvalConstitutiveSetting(), ProcessLib::ThermoMechanics::ThermoMechanicsLocalAssembler< ShapeFunction, DisplacementDim >::assembleWithJacobianForHeatConductionEquations(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobianForPressureEquations(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::assembleWithJacobianHydraulicEquation(), ProcessLib::HMPhaseField::HMPhaseFieldLocalAssembler< ShapeFunction, DisplacementDim >::assembleWithJacobianHydroEquations(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::calculateIntPtDarcyVelocity(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::computeProjectedDarcyVelocity(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::computeSecondaryVariableConcrete(), ProcessLib::RichardsMechanics::RichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::computeSecondaryVariableConcrete(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::computeSecondaryVariableConcrete(), ProcessLib::TH2M::ConstitutiveRelations::ThermalConductivityModel< DisplacementDim >::dEval(), MaterialPropertyLib::EffectiveThermalConductivityPorosityMixing< GlobalDim >::dValue(), ProcessLib::TH2M::ConstitutiveRelations::PermeabilityModel< DisplacementDim >::eval(), ProcessLib::TH2M::ConstitutiveRelations::SwellingModel< DisplacementDim >::eval(), ProcessLib::TH2M::ConstitutiveRelations::ThermalConductivityModel< DisplacementDim >::eval(), ProcessLib::ThermoRichardsMechanics::ConstitutiveStress_StrainTemperature::SwellingModel< DisplacementDim >::eval(), ProcessLib::ThermoRichardsMechanics::PermeabilityModel< DisplacementDim >::eval(), ProcessLib::ThermoRichardsMechanics::TRMHeatStorageAndFluxModel< DisplacementDim >::eval(), formEffectiveThermalConductivity(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::getFlux(), ProcessLib::HT::HTFEM< ShapeFunction, GlobalDim >::getFlux(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::getFlux(), ProcessLib::SteadyStateDiffusion::LocalAssemblerData< ShapeFunction, GlobalDim >::getFlux(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::getIntPtDarcyVelocity(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::getIntPtDarcyVelocity(), ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::getIntPtDarcyVelocity(), ProcessLib::RichardsFlow::LocalAssemblerData< ShapeFunction, GlobalDim >::getIntPtDarcyVelocity(), ProcessLib::SteadyStateDiffusion::LocalAssemblerData< ShapeFunction, GlobalDim >::getIntPtDarcyVelocity(), ProcessLib::HT::HTFEM< ShapeFunction, GlobalDim >::getIntPtDarcyVelocityLocal(), ProcessLib::HeatConduction::LocalAssemblerData< ShapeFunction, GlobalDim >::getIntPtHeatFlux(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::getIntPtMolarFlux(), ProcessLib::ComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::getThermalConductivityDispersivity(), ProcessLib::HT::HTFEM< ShapeFunction, GlobalDim >::getThermalConductivityDispersivity(), ProcessLib::getThermoOsmoticCoefficient(), ProcessLib::LIE::HydroMechanics::HydroMechanicsLocalAssemblerMatrix< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::postTimestepConcreteWithBlockVectors(), ProcessLib::ThermoHydroMechanics::ThermoHydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::updateConstitutiveRelations(), ProcessLib::RichardsMechanics::updateSwellingStressAndVolumetricStrain(), and MaterialPropertyLib::EffectiveThermalConductivityPorosityMixing< GlobalDim >::value().
| template Eigen::Matrix< double, 1, 1 > MaterialPropertyLib::formEigenTensor< 1 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 2, 2 > MaterialPropertyLib::formEigenTensor< 2 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 3, 3 > MaterialPropertyLib::formEigenTensor< 3 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
Referenced by ProcessLib::HeatTransportBHE::HeatTransportBHELocalAssemblerSoil< ShapeFunction >::assemble(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assembleWithJacobian(), MaterialPropertyLib::EmbeddedFracturePermeability< DisplacementDim >::dValue(), MaterialPropertyLib::EmbeddedFracturePermeability< DisplacementDim >::value(), and MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::value().
| template Eigen::Matrix< double, 4, 4 > MaterialPropertyLib::formEigenTensor< 4 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 6, 6 > MaterialPropertyLib::formEigenTensor< 6 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| Eigen::Matrix< double, GlobalDim, 1 > MaterialPropertyLib::formEigenVector | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
Definition at line 98 of file FormEigenVector.cpp.
| template Eigen::Matrix< double, 1, 1 > MaterialPropertyLib::formEigenVector< 1 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 2, 1 > MaterialPropertyLib::formEigenVector< 2 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 3, 1 > MaterialPropertyLib::formEigenVector< 3 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| MathLib::KelvinVector::KelvinVectorType< GlobalDim > MaterialPropertyLib::formKelvinVector | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
A function to form a Kelvin vector from strain or stress alike property like thermal expansivity for thermal strain.
It takes either a scalar number for isotropic thermal expansion or a three element vector or a 3 x 3 matrix for anisotropic properties, to get a Kelvin vector for strain or stress.
| values | e.g., Thermal expansivity, which can be scalar number, a three element vector or a 3 x 3 matrix. |
Definition at line 74 of file FormKelvinVector.cpp.
Referenced by ProcessLib::ThermoMechanics::ThermoMechanicsLocalAssembler< ShapeFunction, DisplacementDim >::assembleWithJacobian(), ProcessLib::ThermoMechanics::ThermoMechanicsLocalAssembler< ShapeFunction, DisplacementDim >::assembleWithJacobianForDeformationEquations(), ProcessLib::TH2M::ConstitutiveRelations::SolidThermalExpansionModel< DisplacementDim >::eval(), ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionModel< DisplacementDim >::eval(), and ProcessLib::ThermoHydroMechanics::ThermoHydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::updateConstitutiveRelations().
| template MathLib::KelvinVector::KelvinVectorType< 2 > MaterialPropertyLib::formKelvinVector< 2 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template MathLib::KelvinVector::KelvinVectorType< 3 > MaterialPropertyLib::formKelvinVector< 3 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| PropertyDataType MaterialPropertyLib::fromArray | ( | std::array< double, N > const & | values | ) |
Conversion of a fixed-size array to PropertyDataType.
Supported sizes: 1, 2, 3, 4, 6, 9 - same semantics as fromVector().
Definition at line 49 of file MaterialLib/MPL/Property.h.
Referenced by MaterialPropertyLib::PerThreadData::evaluate().
|
nodiscard |
Convert string to phase enum. Throws if invalid phase name.
Definition at line 29 of file Phase.cpp.
References AqueousLiquid, FrozenLiquid, Gas, OGS_FATAL, and Solid.
Referenced by anonymous_namespace{CreatePhase.cpp}::createPhase(), anonymous_namespace{PhaseTransition.cpp}::findComponentIndex(), and anonymous_namespace{PhaseTransition.cpp}::numberOfComponents().
| PropertyDataType MaterialPropertyLib::fromVector | ( | std::vector< double > const & | values | ) |
Conversion of a vector to PropertyDataType for different sizes of the vector.
values vector stores all elements of a 2x2 or 3x3 matrix (i.e. the general case for 2x2 and 3x3 matrices), it is assumed to be in row major storage order. Definition at line 14 of file MaterialLib/MPL/Property.cpp.
References OGS_FATAL.
Referenced by createConstant(), MaterialPropertyLib::OrthotropicEmbeddedFracturePermeability< DisplacementDim >::dValue(), MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::dValue(), MaterialPropertyLib::PorosityFromMassBalance::initialValue(), MaterialPropertyLib::TransportPorosityFromMassBalance::initialValue(), MaterialPropertyLib::DupuitPermeability::value(), MaterialPropertyLib::GasPressureDependentPermeability< DisplacementDim >::value(), MaterialPropertyLib::KozenyCarmanModel::value(), MaterialPropertyLib::OrthotropicEmbeddedFracturePermeability< DisplacementDim >::value(), MaterialPropertyLib::Parameter::value(), MaterialPropertyLib::Parameter::value(), MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::value(), MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::value(), MaterialPropertyLib::StrainDependentPermeability< DisplacementDim >::value(), MaterialPropertyLib::TemperatureDependentDiffusion::value(), and MaterialPropertyLib::VermaPruessModel::value().
| double MaterialPropertyLib::getFluidDensity | ( | double const | t, |
| double const | dt, | ||
| ParameterLib::SpatialPosition const & | pos, | ||
| Phase const & | fluid_phase, | ||
| VariableArray & | vars ) |
It computes fluid density for single phase flow model.
Definition at line 13 of file GetFluidDensityAndViscosity.cpp.
References density, MaterialPropertyLib::Phase::hasProperty(), molar_mass, MaterialPropertyLib::VariableArray::molar_mass, and MaterialPropertyLib::Phase::property().
Referenced by ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobianForDeformationEquations(), and getFluidDensityAndViscosity().
| std::tuple< double, double > MaterialPropertyLib::getFluidDensityAndViscosity | ( | double const | t, |
| double const | dt, | ||
| ParameterLib::SpatialPosition const & | pos, | ||
| MaterialPropertyLib::Phase const & | fluid_phase, | ||
| MaterialPropertyLib::VariableArray & | vars ) |
It computes fluid density and viscosity for single phase flow model.
Definition at line 34 of file GetFluidDensityAndViscosity.cpp.
References MaterialPropertyLib::VariableArray::density, getFluidDensity(), and viscosity.
Referenced by ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::assembleMatrixAndVector(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobian(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::assembleWithJacobianForPressureEquations(), ProcessLib::LiquidFlow::LiquidFlowLocalAssembler< ShapeFunction, GlobalDim >::computeProjectedDarcyVelocity(), and ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::getIntPtDarcyVelocity().
| double MaterialPropertyLib::getLiquidThermalExpansivity | ( | Phase const & | phase, |
| VariableArray const & | vars, | ||
| const double | density, | ||
| ParameterLib::SpatialPosition const & | pos, | ||
| double const | t, | ||
| double const | dt ) |
It gets the thermal expansion coefficient.
If the the thermal expansion coefficient is given in the project file via the media property of thermal_expansivity, e.g
* <property> * <name>thermal_expansivity</name> * <type>Constant</type> * <value>2.07e-4</value> * </property> *
it returns the value of the given property. Otherwise it returns the value computed from the density model by the following formula
\[ (\frac{\partial \rho}{\partial T})/\rho \]
where \(\rho\) is the density, \(T\) is the temperature.
Definition at line 12 of file GetLiquidThermalExpansivity.cpp.
References density, MaterialPropertyLib::Phase::hasProperty(), MaterialPropertyLib::Phase::property(), temperature, and thermal_expansivity.
Referenced by ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assemble(), ProcessLib::ThermoRichardsFlow::ThermoRichardsFlowLocalAssembler< ShapeFunction, GlobalDim >::assembleWithJacobian(), ProcessLib::ThermoRichardsMechanics::FluidThermalExpansionModel< DisplacementDim >::eval(), and ProcessLib::ThermoHydroMechanics::ThermoHydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::updateConstitutiveRelations().
Returns a pointer to the phase with the given type, or nullptr if the phase does not exist in the medium.
Definition at line 110 of file Medium.cpp.
References MaterialPropertyLib::Medium::hasPhase(), and MaterialPropertyLib::Medium::phase().
Referenced by MaterialPropertyLib::EffectiveThermalConductivityPorosityMixing< GlobalDim >::dValue(), ProcessLib::ThermoRichardsMechanics::TRMVaporDiffusionModel< DisplacementDim >::eval(), and MaterialPropertyLib::EffectiveThermalConductivityPorosityMixing< GlobalDim >::value().
| SymmetricTensor< GlobalDim > MaterialPropertyLib::getSymmetricTensor | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
Definition at line 99 of file GetSymmetricTensor.cpp.
| template Eigen::Matrix< double, 4, 1 > MaterialPropertyLib::getSymmetricTensor< 2 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
| template Eigen::Matrix< double, 6, 1 > MaterialPropertyLib::getSymmetricTensor< 3 > | ( | MaterialPropertyLib::PropertyDataType const & | values | ) |
|
static |
Definition at line 26 of file WaterVapourDensity.cpp.
References MaterialLib::PhysicalConstant::SpecificGasConstant::WaterVapour.
Referenced by MaterialPropertyLib::WaterVapourDensity::dValue(), and MaterialPropertyLib::WaterVapourDensity::value().
| double MaterialPropertyLib::mixtureSlipParameter | ( | double const | alpha, |
| DriftFluxState const & | state ) |
Slip parameter \(\gamma\) of the two-phase mixture, the momentum flux carried by the relative motion of the phases, see Akbar, Somaieh, N. Fathianpour, and Rafid Al Khoury. "A finite element model for high enthalpy two-phase flow in geothermal wellbores." Renewable Energy 94 (2016): 223-236.
\[ \gamma = \frac{\alpha \rho_l \rho_v \rho_m}{(1 - \alpha) \left(\alpha C_0 \rho_v + (1 - \alpha C_0) \rho_l\right)^2} \left((C_0 - 1) v + u_{gu}\right)^2 \]
with the mixture density \(\rho_m = \alpha \rho_v + (1 - \alpha) \rho_l\).
A void fraction of one, which computeVapourVoidFraction() returns at a dryness of one, would divide by zero. There is no liquid phase left to slip against and the limit is zero slip: both the liquid fraction \(1 - \alpha\) and the bracket \((C_0 - 1) v + u_{gu}\) vanish linearly in \(1 - x\), and the bracket enters squared, so the quotient is of the order of \(1 - x\).
The dryness of state does not enter; the void fraction it leads to is passed instead.
| alpha | the vapour void fraction, dimensionless. |
| state | the state of the closure the void fraction was solved from. |
Definition at line 291 of file DriftFluxModel.cpp.
References alpha, MaterialPropertyLib::DriftFluxState::C_0, MaterialPropertyLib::DriftFluxState::liquid_water_density, MaterialPropertyLib::DriftFluxState::u_gu, MaterialPropertyLib::DriftFluxState::v_mix, and MaterialPropertyLib::DriftFluxState::vapour_water_density.
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
| std::unique_ptr< Component > MaterialPropertyLib::newComponent | ( | std::string const & | component_name, |
| bool & | isCustomComponent ) |
Method for creating a new component based on the specified component name.
This function creates a new component based on the (optional) component name that is given in the prj-file.
The method evaluates the string in the 'name'-object and calls the constructors of the derived component classes (if found) or that of the base class (if no name is specified).
References c.
|
static |
Definition at line 27 of file Sigmoid.cpp.
Referenced by MaterialPropertyLib::Sigmoid::d2Value(), and MaterialPropertyLib::Sigmoid::dValue().
|
inline |
Definition at line 361 of file MaterialLib/MPL/Property.h.
Referenced by MaterialPropertyLib::Component::Component(), MaterialPropertyLib::Medium::Medium(), and MaterialPropertyLib::Phase::Phase().
|
static |
\(\rho_{vS}\)
Definition at line 15 of file WaterVapourDensity.cpp.
Referenced by MaterialPropertyLib::WaterVapourDensity::dValue(), and MaterialPropertyLib::WaterVapourDensity::value().
| double MaterialPropertyLib::steamDryness | ( | double const | enthalpy, |
| double const | h_sat_liquid, | ||
| double const | h_sat_vapour ) |
Steam dryness \(x\), the vapour mass fraction, from the specific enthalpy of the mixture and the saturation enthalpies of the two phases.
The dryness is capped at the two ends of the two-phase range, but the two caps do not carry the same weight.
Below the range, \(h < h_l\), the state is subcooled liquid. The callers detect it as a dryness of zero and then re-evaluate the liquid density and the temperature off the saturation line, so the cap only removes a negative vapour mass fraction from an otherwise fully represented state.
Above the range, \(h > h_v\), the state is superheated steam and there is no counterpart: the mixture is described by the saturation line alone, so such a section keeps the saturation temperature and the saturation vapour density, and its superheat is lost rather than represented. The cap is still applied, because the drift-flux closure is only defined on \([0, 1]\), but it is reported so that it does not pass silently.
A non-finite ratio, which the saturation enthalpies produce where they coincide at the critical point, passes through both caps unchanged and is rejected by the closure that consumes the dryness.
Definition at line 10 of file SteamDryness.cpp.
References enthalpy, and WARN().
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
|
constexpr |
See Tensor type for details.
Definition at line 13 of file Tensor.h.
References OGS_FATAL.
Referenced by ProcessLib::LargeDeformation::computeSigmaGeom(), MaterialLib::Solids::MFront::Variable< Derived >::rows(), and MaterialLib::Solids::MFront::OGSMFrontTangentOperatorBlocksView< DisplacementDim, ForcesGradsCombinations >::size().
|
nodiscard |
Convert phase enum to its string representation.
Definition at line 13 of file Phase.cpp.
References AqueousLiquid, FrozenLiquid, Gas, OGS_FATAL, and Solid.
Referenced by checkRequiredProperties(), MaterialPropertyLib::SaturationDependentSwelling::checkScale(), anonymous_namespace{CreatePhase.cpp}::createPhase(), createPhases(), MaterialPropertyLib::Phase::description(), MaterialPropertyLib::Medium::phase(), and MaterialPropertyLib::VolumeFractionAverage::setProperties().
|
inline |
Definition at line 377 of file MaterialLib/MPL/Property.h.
Referenced by MaterialPropertyLib::Medium::Medium().
| std::string MaterialPropertyLib::voidFractionClosureDiagnostics | ( | DriftFluxState const & | state | ) |
State of the drift-flux closure and its residuals at the ends of the admissible interval \([0, x / S]\), formatted for the message of an assembly aborted because computeVapourVoidFraction() found no admissible void fraction. The residuals are reported for the closure and the interval that computeVapourVoidFraction() actually solves on, that is with the drift aligned with the mixture flow and up to \(x / S\) rather than one.
The caller prepends its own context, the process or boundary condition, the element, and the primary variables it has at hand.
| state | the state of the closure, reported with its residuals. |
Definition at line 69 of file DriftFluxModel.cpp.
References alignDriftWithFlow(), MaterialPropertyLib::DriftFluxState::C_0, closureSlipParameter(), MaterialPropertyLib::DriftFluxState::dryness, MaterialPropertyLib::DriftFluxState::liquid_water_density, MaterialPropertyLib::DriftFluxState::u_gu, MaterialPropertyLib::DriftFluxState::vapour_water_density, and voidFractionResidual().
Referenced by ProcessLib::WellboreCompensateNeumannBoundaryConditionLocalAssembler< ShapeFunction, GlobalDim >::assemble(), and ProcessLib::WellboreSimulator::WellboreSimulatorFEM< ShapeFunction, GlobalDim >::assemble().
| VoidFractionQuadratic MaterialPropertyLib::voidFractionQuadratic | ( | DriftFluxState const & | state | ) |
Coefficients of the drift-flux closure written as a quadratic equation in the void fraction, see computeVapourVoidFraction().
| state | the state of the closure. |
Definition at line 45 of file DriftFluxModel.cpp.
References closureSlipParameter(), MaterialPropertyLib::DriftFluxState::dryness, MaterialPropertyLib::DriftFluxState::liquid_water_density, MaterialPropertyLib::DriftFluxState::u_gu, MaterialPropertyLib::DriftFluxState::v_mix, and MaterialPropertyLib::DriftFluxState::vapour_water_density.
Referenced by computeVapourVoidFraction().
| double MaterialPropertyLib::voidFractionResidual | ( | double const | alpha, |
| DriftFluxState const & | state ) |
Residual of the drift-flux closure. Kept for testing and for the residuals reported with a non-solvable state; the void fraction itself is computed in closed form.
| alpha | the vapour void fraction, dimensionless. |
| state | the state of the closure. |
Definition at line 58 of file DriftFluxModel.cpp.
References alpha, closureSlipParameter(), MaterialPropertyLib::DriftFluxState::dryness, MaterialPropertyLib::DriftFluxState::liquid_water_density, MaterialPropertyLib::DriftFluxState::u_gu, MaterialPropertyLib::DriftFluxState::v_mix, and MaterialPropertyLib::DriftFluxState::vapour_water_density.
Referenced by voidFractionClosureDiagnostics().
|
constexpr |
Definition at line 18 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
Referenced by MaterialPropertyLib::SaturationLuMcCartney::capillary_water_content(), computeVapourVoidFraction(), MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::dValue(), mixtureSlipParameter(), MaterialPropertyLib::PengRobinson::value(), MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::value(), and voidFractionResidual().
|
constexpr |
Definition at line 19 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
Referenced by MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::dValue(), MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::value(), and MaterialPropertyLib::IAPWSIF97Region4::waterSaturationTemperature().
|
constexpr |
Definition at line 22 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
Referenced by MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::PermeabilityMohrCoulombFailureIndexModel(), checkRequiredProperties(), computeVapourVoidFraction(), createComponents(), createPermeabilityMohrCoulombFailureIndexModel(), MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::dValue(), newComponent(), MaterialPropertyLib::SaturationLuMcCartney::psi_max(), MaterialPropertyLib::AverageMolarMass::value(), MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::value(), and MaterialPropertyLib::SaturationLuMcCartney::zeta_s().
|
constexpr |
Definition at line 20 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
Referenced by MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::dValue(), and MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::value().
|
static |
Definition at line 202 of file VariableType.h.
Referenced by MaterialPropertyLib::Property::dValue(), MaterialPropertyLib::Property::initialValue(), ProcessLib::HydroMechanics::HydroMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::postNonLinearSolverConcrete(), and MaterialPropertyLib::Property::value().
|
staticconstexpr |
Definition at line 10 of file FormKelvinVector.cpp.
Referenced by MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator()(), MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator()(), MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator()(), MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator()(), and MaterialPropertyLib::FormKelvinVector< GlobalDim >::operator()().
| const MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1 MaterialPropertyLib::gibbs_free_energy_ |
Definition at line 16 of file WaterEnthalpyIAPWSIF97Region1.cpp.
Referenced by MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::dValue(), MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::value(), MaterialPropertyLib::WaterLiquidDensityIAPWSIF97Region4::value(), and MaterialPropertyLib::WaterLiquidEnthalpyIAPWSIF97Region4::value().
|
static |
Definition at line 13 of file WaterViscosityIAPWS.cpp.
Referenced by computeBarMu0Factor(), and computedBarMu_dbarT().
|
static |
Definition at line 14 of file WaterViscosityIAPWS.cpp.
Referenced by computeBarMu1Factor(), computedBarMu_dbarRho(), and computedBarMu_dbarT().
|
staticconstexpr |
Definition at line 21 of file WaterTemperatureIAPWSIF97Region1.cpp.
Referenced by computeTemperature().
|
staticconstexpr |
Definition at line 24 of file WaterTemperatureIAPWSIF97Region1.cpp.
Referenced by computeTemperature().
|
static |
Definition at line 14 of file WaterThermalConductivityIAPWS.cpp.
Referenced by computeBarLambda0Factor(), and computedBarLambda_dbarT().
|
static |
Definition at line 16 of file WaterThermalConductivityIAPWS.cpp.
Referenced by computeBarLambda1Factor(), computedBarLambda_dbarRho(), and computedBarLambda_dbarT().
|
staticconstexpr |
Definition at line 17 of file Sigmoid.cpp.
Referenced by MaterialPropertyLib::Sigmoid::value().
|
staticconstexpr |
Definition at line 12 of file WaterTemperatureIAPWSIF97Region1.cpp.
Referenced by computeTemperature().
|
static |
Definition at line 120 of file PropertyType.h.
Referenced by checkRequiredProperties(), checkRequiredProperties(), checkRequiredProperties(), ProcessLib::checkThermoOsmosisProperties(), convertStringToProperty(), anonymous_namespace{PhaseTransition.cpp}::findComponentIndex(), MaterialPropertyLib::Component::property(), MaterialPropertyLib::Medium::property(), MaterialPropertyLib::Phase::property(), and MaterialPropertyLib::VolumeFractionAverage::setProperties().
|
staticconstexpr |
reference pressure in Pa.
Definition at line 19 of file WaterEnthalpyIAPWSIF97Region1.cpp.
Referenced by MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::dValue(), MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::value(), MaterialPropertyLib::WaterLiquidDensityIAPWSIF97Region4::value(), MaterialPropertyLib::WaterLiquidEnthalpyIAPWSIF97Region4::value(), MaterialPropertyLib::WaterTemperatureIAPWSIF97Region1::value(), MaterialPropertyLib::WaterVapourDensityIAPWSIF97Region4::value(), and MaterialPropertyLib::WaterVapourEnthalpyIAPWSIF97Region4::value().
|
staticconstexpr |
reference temperature in K.
Definition at line 18 of file WaterEnthalpyIAPWSIF97Region1.cpp.
Referenced by MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::dValue(), MaterialPropertyLib::WaterEnthalpyIAPWSIF97Region1::value(), MaterialPropertyLib::WaterLiquidDensityIAPWSIF97Region4::value(), MaterialPropertyLib::WaterLiquidEnthalpyIAPWSIF97Region4::value(), MaterialPropertyLib::WaterVapourDensityIAPWSIF97Region4::value(), and MaterialPropertyLib::WaterVapourEnthalpyIAPWSIF97Region4::value().
|
constexpr |
Definition at line 14 of file GetSymmetricTensor.h.
|
constexpr |
Critical temperature.
Definition at line 16 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
Referenced by MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::dValue(), and MaterialPropertyLib::WaterVapourLatentHeatWithCriticalTemperature::value().
|
staticconstexpr |
Definition at line 22 of file Sigmoid.cpp.
Referenced by MaterialPropertyLib::Sigmoid::d2Value(), and MaterialPropertyLib::Sigmoid::dValue().
|
static |
Definition at line 55 of file VariableType.h.
Referenced by MaterialPropertyLib::ScalarCopyOp::apply(), convertStringToVariable(), MaterialPropertyLib::Function::d2Value(), MaterialPropertyLib::Function::dValue(), and MaterialPropertyLib::PerThreadData::updateNonScalarVariables().