https://mooseframework.inl.gov
Q2PPiecewiseLinearSinkFlux.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 "LinearInterpolation.h"
14 #include "RichardsDensity.h"
15 #include "RichardsRelPerm.h"
16 
17 class Function;
18 
19 // Forward Declarations
20 
31 {
32 public:
34 
36 
37 protected:
38  virtual Real computeQpIntegral();
39 
42 
44  const Function & _m_func;
45 
47  const VariableValue & _pp;
48 
51 
54 
56  const RichardsDensity * const _density;
57 
60 
62  const RichardsRelPerm * const _relperm;
63 
66 
69 };
Base class for Richards relative permeability classes that provide relative permeability as a functio...
Real _viscosity
fluid viscosity, optional
const VariableValue & _pp
the porepressure variable
const Function & _m_func
the multiplier function
Q2PPiecewiseLinearSinkFlux(const InputParameters &parameters)
This postprocessor computes the fluid flux to a Q2PPiecewiseLinearSink.
const MaterialProperty< RealTensorValue > & _permeability
medium permeability
OutputTools< Real >::VariableValue VariableValue
const RichardsRelPerm *const _relperm
fluid relative permeaility, optional
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool _use_relperm
whether to include relative permeability in the flux
const InputParameters & parameters() const
LinearInterpolation _sink_func
the sink function, which is a piecewise linear function of porepressure values
Base class for fluid density as a function of porepressure The functions density, ddensity and d2dens...
const RichardsDensity *const _density
fluid density, optional
static InputParameters validParams()
bool _use_mobility
whether to include density*permeability_nn/viscosity in the flux
const VariableValue & _sat
saturation variable, optional