https://mooseframework.inl.gov
FVPorousFlowAdvectiveFluxBC.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 "FVFluxBC.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 _phase;
35  const unsigned int _fluid_component;
36 
40 
44 
48 
52 
56 
60 
63 
65  const Real _pp_value;
66 };
const ADMaterialProperty< std::vector< Real > > & _pressure_neighbor
static InputParameters validParams()
const RealVectorValue & _gravity
Gravity vector.
const ADMaterialProperty< std::vector< Real > > & _pressure
Fluid pressure.
const ADMaterialProperty< RealTensorValue > & _permeability
Permeability.
const unsigned int _num_phases
Number of fluid phases present.
const unsigned int _fluid_component
Index of the fluid component this BC applies to.
Flux boundary condition where an advective flux is applied.
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions_neighbor
const ADMaterialProperty< std::vector< Real > > & _relperm_neighbor
const ADMaterialProperty< RealTensorValue > & _permeability_neighbor
const ADMaterialProperty< std::vector< std::vector< Real > > > & _mass_fractions
Mass fraction of fluid components in fluid phases.
const ADMaterialProperty< std::vector< Real > > & _viscosity
Fluid viscosity.
const ADMaterialProperty< std::vector< Real > > & _density_neighbor
const ADMaterialProperty< std::vector< Real > > & _relperm
Relative permeability.
const Real _pp_value
The porepressure value at the boundary.
virtual ADReal computeQpResidual() override
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 ADMaterialProperty< std::vector< Real > > & _viscosity_neighbor
const PorousFlowDictator & _dictator
UserObject that holds information (number of phases, components, etc)
FVPorousFlowAdvectiveFluxBC(const InputParameters &params)
const ADMaterialProperty< std::vector< Real > > & _density
Fluid density.
const unsigned int _phase
Index of the fluid phase this BC applies to.