https://mooseframework.inl.gov
FVPorousFlowMassTimeDerivative.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 
12 #include "FVTimeKernel.h"
13 
14 class PorousFlowDictator;
15 
20 {
21 public:
24 
25 protected:
26  ADReal computeQpResidual() override;
27 
31  const unsigned int _num_phases;
33  const unsigned int _fluid_component;
34 
38 
42 
46 
50 };
const ADMaterialProperty< std::vector< Real > > & _saturation
Fluid phase saturation.
const MaterialProperty< std::vector< Real > > & _density_old
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions
Mass fraction of fluid components in fluid phases.
const unsigned int _fluid_component
Index of the fluid component this kernel applies to.
const MaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions_old
const ADMaterialProperty< Real > & _porosity
Porosity.
const ADMaterialProperty< std::vector< Real > > & _density
Fluid density.
const MaterialProperty< std::vector< Real > > & _saturation_old
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const unsigned int _num_phases
Number of fluid phases present.
const MaterialProperty< Real > & _porosity_old
const InputParameters & parameters() const
const PorousFlowDictator & _dictator
UserObject that holds information (number of phases, components, etc)
FVPorousFlowMassTimeDerivative(const InputParameters &parameters)