https://mooseframework.inl.gov
FVPorousFlowAdvectiveFlux.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 "FVFluxKernel.h"
13 
14 class PorousFlowDictator;
15 
20 {
21 public:
24 
25 protected:
26  virtual ADReal computeQpResidual() override;
27 
31  const unsigned int _num_phases;
33  const unsigned int _fluid_component;
34 
38 
42 
46 
50 
54 
59 
62 };
static InputParameters validParams()
const ADMaterialProperty< std::vector< RealGradient > > & _grad_p
const RealVectorValue & _gravity
Gravity vector.
const ADMaterialProperty< RealTensorValue > & _permeability
Permeability.
virtual ADReal computeQpResidual() override
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions
Mass fraction of fluid components in fluid phases.
const ADMaterialProperty< std::vector< Real > > & _viscosity_neighbor
const PorousFlowDictator & _dictator
UserObject that holds information (number of phases, components, etc)
const ADMaterialProperty< std::vector< Real > > & _viscosity
Fluid viscosity.
const ADMaterialProperty< std::vector< Real > > & _density
Fluid density.
const unsigned int _fluid_component
Index of the fluid component this kernel applies to.
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions_neighbor
const ADMaterialProperty< std::vector< Real > > & _density_neighbor
FVPorousFlowAdvectiveFlux(const InputParameters &params)
const unsigned int _num_phases
Number of fluid phases present.
const ADMaterialProperty< std::vector< Real > > & _relperm_neighbor
const ADMaterialProperty< std::vector< Real > > & _relperm
Relative permeability.
const ADMaterialProperty< std::vector< Real > > & _pressure
Fluid pressure.
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
Advective flux of fluid component k in fluid phase alpha.
const ADMaterialProperty< RealTensorValue > & _permeability_neighbor
const ADMaterialProperty< std::vector< Real > > & _pressure_neighbor