https://mooseframework.inl.gov
FVPorousFlowFluidMass.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 #include "PorousFlowDictator.h"
14 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpIntegral() override;
28 
32  const unsigned int _fluid_component;
34  std::vector<unsigned int> _phase_index;
36  const std::string _base_name;
38  const bool _has_total_strain;
51 };
const std::string _base_name
base name used in the Tensor Mechanics strain calculator
FVPorousFlowFluidMass(const InputParameters &parameters)
const ADMaterialProperty< std::vector< Real > > & _fluid_density
Phase density (kg/m^3)
std::vector< unsigned int > _phase_index
The phase indices that this Postprocessor is restricted to.
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fraction
Mass fraction of each fluid component in each phase.
Postprocessor that calculates the mass of a given fluid component in the given phase(s) in a given bl...
const MaterialProperty< RankTwoTensor > *const _total_strain
Value of total strain calculated by a Tensor Mechanics strain calculator, if it exists, otherwise nullptr.
const ADMaterialProperty< Real > & _porosity
Porosity.
const Real _saturation_threshold
Saturation threshold - only fluid mass at saturations below this are calculated.
const ADMaterialProperty< std::vector< Real > > & _fluid_saturation
Phase saturation (-)
const unsigned int _fluid_component
The fluid component index that this Postprocessor applies to.
virtual Real computeQpIntegral() override
const bool _has_total_strain
Whether there is a Material called _base_name_total_strain.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const InputParameters & parameters() const
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
static InputParameters validParams()