https://mooseframework.inl.gov
PorousFlowFullySaturatedUpwindHeatAdvection.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 "PorousFlowDarcyBase.h"
13 
22 template <bool is_ad>
24 {
25 public:
27 
29 
30 protected:
31  virtual GenericReal<is_ad> mobility(unsigned nodenum, unsigned phase) const override;
32  virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override;
33 
36 
39 
46 };
47 
Moose::GenericType< Real, is_ad > GenericReal
PorousFlowFullySaturatedUpwindHeatAdvectionTempl< true > ADPorousFlowFullySaturatedUpwindHeatAdvection
const InputParameters & parameters() const
PorousFlowFullySaturatedUpwindHeatAdvectionTempl< false > PorousFlowFullySaturatedUpwindHeatAdvection
Darcy advective flux.
const GenericMaterialProperty< std::vector< Real >, is_ad > & _enthalpy
Enthalpy of each phase.
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Advection of heat via flux of a single-phase fluid.
virtual GenericReal< is_ad > mobility(unsigned nodenum, unsigned phase) const override
The mobility of the fluid.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real dmobility(unsigned nodenum, unsigned phase, unsigned pvar) const override
The derivative of mobility with respect to PorousFlow variable pvar – non-AD path only...
const MaterialProperty< std::vector< std::vector< Real > > > *const _denthalpy_dvar
Derivative of the enthalpy wrt PorousFlow variables – null for AD path.