https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowSinkPTDefiner.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 "PorousFlowSink.h"
13
20{
21public:
23
25
26protected:
29
32
35
38
41
43 virtual Real ptVar() const;
44
46 virtual Real dptVar(unsigned pvar) const;
47};
const InputParameters & parameters() const
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...
const MaterialProperty< std::vector< Real > > *const _dtemp_dvar
d(Nodal temperature)/d(PorousFlow variable)
virtual Real ptVar() const
Provides the variable value (either porepressure, or temperature, depending on _involves_fluid)
const VariableValue & _pt_shift
Subtract this from porepressure or temperature before evaluating PiecewiseLinearSink,...
const MaterialProperty< Real > *const _temp
Nodal temperature.
static InputParameters validParams()
const MaterialProperty< std::vector< Real > > *const _pp
Nodal pore pressure in each phase.
const MaterialProperty< std::vector< std::vector< Real > > > *const _dpp_dvar
d(Nodal pore pressure in each phase)/d(PorousFlow variable)
virtual Real dptVar(unsigned pvar) const
Provides the d(variable)/(d PorousFlow Variable pvar)
Applies a flux sink to a boundary.
VariableValueTempl< false > VariableValue