Go to the documentation of this file.
37 Real
stoichiometry(
unsigned reaction_num,
unsigned primary_num)
const;
const std::vector< Real > _primary_activity_coefficients
Activity coefficients for the primary species (dimensionless)
Base class for all PorousFlow vector materials.
Real rateConstantQp(unsigned reaction_num) const
virtual void dQpReactionRate_dprimary(unsigned reaction_num, std::vector< Real > &drr) const
Computes derivative of the reaction rate with respect to the primary concentrations.
const Real _one_over_ref_temp
1/reference_temperature (1/K)
const unsigned _num_equilibrium_constants
Number of equilibrium_constants provided.
const unsigned int _num_primary
Number of primary species.
const MaterialProperty< Real > & _porosity_old
Old values of the porosity.
Real stoichiometry(unsigned reaction_num, unsigned primary_num) const
The stoichiometric coefficient.
const MaterialProperty< std::vector< Real > > & _saturation
Saturation.
const std::vector< Real > _r_area
Reactive surface area (m^2/L) for each reaction.
const unsigned int _aq_ph
Aqueous phase number.
void computeQpProperties() override
MaterialProperty< std::vector< std::vector< Real > > > & _dreaction_rate_dvar
d(reaction rate of mineralisation)/d(porous flow var)
const Real _gas_const
Gas constant (J/(mol K))
const MaterialProperty< std::vector< Real > > & _sec_conc_old
PorousFlowAqueousPreDisChemistry(const InputParameters ¶meters)
const unsigned int _num_reactions
Number of equations in the aqueous geochemistry system.
std::vector< const VariableValue * > _initial_conc
Initial values of the secondary species concentrations.
const MaterialProperty< Real > & _temperature
Temperature.
virtual void computeQpReactionRates()
Compute the secondary-species concentration as defined by the chemistry Must be overridden by derived...
InputParameters validParams< PorousFlowAqueousPreDisChemistry >()
const bool _equilibrium_constants_as_log10
Whether the equilibium constants are written in their log10 form, or in absolute terms.
std::vector< Real > _mineral_sat
Mineral saturation ratio - a useful temporary variable during computeQpProperties.
virtual Real dQpReactionRate_dT(unsigned reaction_num) const
Computes derivative of the reaction rate with respect to the temperature.
const std::vector< Real > _theta_exponent
Theta exponent for the precipitation-dissolution for each reaction.
void findZeroConcentration(unsigned &zero_conc_index, unsigned &zero_count) const
Checks gamp[i] = _primary_activity_coefficients[i] * (*_primary[i])[qp].
const std::vector< Real > _eta_exponent
Eta exponent for the precipitation-dissolution for each reaction.
std::vector< unsigned int > _primary_var_num
The variable number of the primary variables.
std::vector< bool > _bounded_rate
Whether the reaction rate has to be bounded in order that the precipitate stays inside [0,...
const std::vector< Real > _ref_kconst
Rate constant (mol/(m^2 s)) at reference temperature for each reaction.
const std::vector< Real > _molar_volume
Molar volume (L/mol) for each secondary species.
const std::vector< Real > _e_act
Activation energy (J/mol) for each reaction.
const MaterialProperty< std::vector< Real > > & _dtemperature_dvar
d(temperature)/(d porflow variable)
const std::vector< Real > _reactions
Stoichiometry defining the aqeuous geochemistry equilibrium reactions.
Material designed to form a std::vector of mass fractions of mineral concentrations from primary-spec...
MaterialProperty< std::vector< Real > > & _reaction_rate
Reaction rate of mineralisation.
void initQpStatefulProperties() override
std::vector< const VariableValue * > _equilibrium_constants
Equilibrium constants (dimensionless)
std::vector< const VariableValue * > _primary
Values of the primary species' concentrations (dimensionless)