www.mooseframework.org
PorousFlowJoiner.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 
14 class PorousFlowJoiner;
15 
16 template <>
17 InputParameters validParams<PorousFlowJoiner>();
18 
37 {
38 public:
39  PorousFlowJoiner(const InputParameters & parameters);
40 
41 protected:
42  virtual void initQpStatefulProperties() override;
43  virtual void computeQpProperties() override;
44 
46  const std::string _pf_prop;
47 
49  const MaterialProperty<std::vector<std::vector<Real>>> & _dporepressure_dvar;
50 
52  const MaterialProperty<std::vector<std::vector<Real>>> & _dsaturation_dvar;
53 
55  const MaterialProperty<std::vector<Real>> & _dtemperature_dvar;
56 
58  MaterialProperty<std::vector<Real>> & _property;
59 
61  MaterialProperty<std::vector<std::vector<Real>>> & _dproperty_dvar;
62 
64  std::vector<const MaterialProperty<Real> *> _phase_property;
65 
67  std::vector<const MaterialProperty<Real> *> _dphase_property_dp;
68 
70  std::vector<const MaterialProperty<Real> *> _dphase_property_ds;
71 
73  std::vector<const MaterialProperty<Real> *> _dphase_property_dt;
74 };
75 
PorousFlowMaterialVectorBase
Base class for all PorousFlow vector materials.
Definition: PorousFlowMaterialVectorBase.h:23
PorousFlowJoiner::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlowJoiner.C:75
PorousFlowJoiner::_pf_prop
const std::string _pf_prop
Name of material property to be joined.
Definition: PorousFlowJoiner.h:46
PorousFlowJoiner::_dsaturation_dvar
const MaterialProperty< std::vector< std::vector< Real > > > & _dsaturation_dvar
Derivatives of saturation variable wrt PorousFlow variables at the qps or nodes.
Definition: PorousFlowJoiner.h:52
PorousFlowJoiner::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: PorousFlowJoiner.C:66
PorousFlowJoiner::_dphase_property_dt
std::vector< const MaterialProperty< Real > * > _dphase_property_dt
d(property of each phase)/d(temperature)
Definition: PorousFlowJoiner.h:73
validParams< PorousFlowJoiner >
InputParameters validParams< PorousFlowJoiner >()
Definition: PorousFlowJoiner.C:17
PorousFlowJoiner::_phase_property
std::vector< const MaterialProperty< Real > * > _phase_property
Property of each phase.
Definition: PorousFlowJoiner.h:64
PorousFlowJoiner::_dporepressure_dvar
const MaterialProperty< std::vector< std::vector< Real > > > & _dporepressure_dvar
Derivatives of porepressure variable wrt PorousFlow variables at the qps or nodes.
Definition: PorousFlowJoiner.h:49
PorousFlowJoiner::_dphase_property_dp
std::vector< const MaterialProperty< Real > * > _dphase_property_dp
d(property of each phase)/d(pressure)
Definition: PorousFlowJoiner.h:67
PorousFlowJoiner::_dtemperature_dvar
const MaterialProperty< std::vector< Real > > & _dtemperature_dvar
Derivatives of temperature variable wrt PorousFlow variables at the qps or nodes.
Definition: PorousFlowJoiner.h:55
PorousFlowJoiner::PorousFlowJoiner
PorousFlowJoiner(const InputParameters &parameters)
Definition: PorousFlowJoiner.C:29
PorousFlowJoiner::_dproperty_dvar
MaterialProperty< std::vector< std::vector< Real > > > & _dproperty_dvar
d(property)/d(PorousFlow variable)
Definition: PorousFlowJoiner.h:61
PorousFlowMaterialVectorBase.h
PorousFlowJoiner
Material designed to form a std::vector of property and derivatives of these wrt the nonlinear variab...
Definition: PorousFlowJoiner.h:36
PorousFlowJoiner::_property
MaterialProperty< std::vector< Real > > & _property
Computed property of the phase.
Definition: PorousFlowJoiner.h:58
PorousFlowJoiner::_dphase_property_ds
std::vector< const MaterialProperty< Real > * > _dphase_property_ds
d(property of each phase)/d(saturation)
Definition: PorousFlowJoiner.h:70