22 "The VaporMixtureFluidProperties object");
24 "Computes the binary diffusion coefficient of a gas mixture from its fluid properties.");
35 _p(getADMaterialProperty<Real>(
THM::PRESSURE)),
36 _T(getADMaterialProperty<Real>(
THM::TEMPERATURE)),
38 _diff_coef(declareADProperty<Real>(
THM::MASS_DIFFUSION_COEFFICIENT))
41 paramError(
"vapor_mixture_fp",
"The gas mixture must have exactly two components.");
registerMooseObject("ThermalHydraulicsApp", FluidPropertiesBinaryDiffusionCoefMaterial)
Computes the binary diffusion coefficient of the primary and secondary gases of a binary gas mixture ...
FluidPropertiesBinaryDiffusionCoefMaterial(const InputParameters ¶meters)
const ADMaterialProperty< Real > & _T
Temperature.
ADMaterialProperty< Real > & _diff_coef
Binary diffusion coefficient.
const VaporMixtureFluidProperties & _fp_mix
Gas mixture fluid properties.
const ADMaterialProperty< Real > & _p
Pressure.
static InputParameters validParams()
virtual void computeQpProperties() override
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
Base class for fluid properties of vapor mixtures.
virtual Real binaryDiffusionCoefficient(Real p, Real T, unsigned int i, unsigned int j) const
Computes the binary diffusion coefficient of a pair of components [m^2/s].
virtual unsigned int numberOfComponents() const =0
Returns the number of components in the mixture.