www.mooseframework.org
RichardsPiecewiseLinearSinkFlux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "LinearInterpolation.h"
14 #include "RichardsVarNames.h"
15 
16 class Function;
17 
18 // Forward Declarations
19 
30 {
31 public:
33 
35 
36 protected:
37  virtual Real computeQpIntegral();
38 
41 
44 
47 
49  const Function & _m_func;
50 
53 
59  unsigned int _pvar;
60 
63 
66 
69 
72 
75 };
const MaterialProperty< std::vector< Real > > & _density
fluid density
LinearInterpolation _sink_func
the sink function, which is a piecewise linear function of porepressure values
const MaterialProperty< std::vector< Real > > & _pp
porepressure values (only the _pvar component is used)
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels...
bool _use_mobility
whether to include density*permeability_nn/viscosity in the flux
const MaterialProperty< RealTensorValue > & _permeability
medium permeability
unsigned int _pvar
the index into _richards_name_UO corresponding to this Postprocessor&#39;s variable eg, if the richards names are &#39;pwater pgas poil pplasma&#39; and the variable of this Postprocessor is pgas, then _pvar=1
const MaterialProperty< std::vector< Real > > & _rel_perm
fluid relative permeability
bool _use_relperm
whether to include relative permeability in the flux
This postprocessor computes the fluid flux to a RichardsPiecewiseLinearSink.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
RichardsPiecewiseLinearSinkFlux(const InputParameters &parameters)
const MaterialProperty< std::vector< Real > > & _viscosity
fluid viscosity
const Function & _m_func
the multiplier function
const RichardsVarNames & _richards_name_UO
holds info regarding the Richards variable names, and their values in the simulation ...