https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowEnthalpySink.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 "IntegratedBC.h"
13
16class Function;
17
22{
23public:
25
27
28protected:
29 virtual Real computeQpResidual() override;
30 virtual Real computeQpJacobian() override;
31 virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32
35
38
40 const unsigned int _ph;
41
44
47
50
52 const Real & _T_in;
53
56
58 Real jac(unsigned int jvar) const;
59};
const InputParameters & parameters() const
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
Applies a flux sink of heat energy to a boundary with specified mass flux and inlet temperature.
static InputParameters validParams()
const VariableValue * _pressure
Pressure (from aux variable)
const Real & _T_in
Specified inlet temperature.
const MaterialProperty< std::vector< Real > > & _pp
Computed nodal values of porepressure of the phases.
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const PorousFlowDictator & _dictator
PorousFlowDictator UserObject.
Real jac(unsigned int jvar) const
Derivative of residual with respect to the jvar variable.
virtual Real computeQpJacobian() override
const MaterialProperty< std::vector< std::vector< Real > > > & _dpp_dvar
d(porepressure)/d(PorousFlow variable)
const SinglePhaseFluidProperties & _fp
Fluid properties UserObject.
const Function & _m_func
The mass flux.
const unsigned int _ph
The phase number.
virtual Real computeQpResidual() override
Common class for single phase fluid properties.
VariableValueTempl< false > VariableValue