www.mooseframework.org
PorousFlowSinglePhaseBase.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 
12 #include "PorousFlowActionBase.h"
13 
15 
16 template <>
18 
23 {
24 public:
25  PorousFlowSinglePhaseBase(const InputParameters & params);
26 
27 protected:
28  virtual void addDictator() override;
29  virtual void addKernels() override;
30  virtual void addAuxObjects() override;
31  virtual void addMaterialDependencies() override;
32  virtual void addMaterials() override;
33 
35  const VariableName _pp_var;
36 
38  const enum class CouplingTypeEnum {
39  Hydro,
44 
46  const bool _thermal;
47  const bool _mechanical;
48 
50  const UserObjectName & _fp;
51 
53  const Real _biot_coefficient;
54 
56  const bool _add_darcy_aux;
57 
59  const bool _add_stress_aux;
60 
62  const bool _use_brine;
63 
65  const unsigned _nacl_index;
66 };
67 
PorousFlowSinglePhaseBase
Base class for actions involving a single fluid phase.
Definition: PorousFlowSinglePhaseBase.h:22
PorousFlowSinglePhaseBase::_coupling_type
enum PorousFlowSinglePhaseBase::CouplingTypeEnum _coupling_type
PorousFlowActionBase.h
PorousFlowSinglePhaseBase::CouplingTypeEnum::Hydro
PorousFlowSinglePhaseBase::_nacl_index
const unsigned _nacl_index
Index of NaCl in list of fluid components.
Definition: PorousFlowSinglePhaseBase.h:65
PorousFlowSinglePhaseBase::_mechanical
const bool _mechanical
Definition: PorousFlowSinglePhaseBase.h:47
PorousFlowSinglePhaseBase::addAuxObjects
virtual void addAuxObjects() override
Add all AuxVariables and AuxKernels.
Definition: PorousFlowSinglePhaseBase.C:207
PorousFlowSinglePhaseBase::PorousFlowSinglePhaseBase
PorousFlowSinglePhaseBase(const InputParameters &params)
Definition: PorousFlowSinglePhaseBase.C:65
PorousFlowSinglePhaseBase::CouplingTypeEnum
CouplingTypeEnum
Determines the coupling type.
Definition: PorousFlowSinglePhaseBase.h:38
PorousFlowSinglePhaseBase::_biot_coefficient
const Real _biot_coefficient
Fluid specific heat capacity at constant volume.
Definition: PorousFlowSinglePhaseBase.h:53
PorousFlowSinglePhaseBase::_add_stress_aux
const bool _add_stress_aux
Add AuxVariables for stress.
Definition: PorousFlowSinglePhaseBase.h:59
PorousFlowSinglePhaseBase::_use_brine
const bool _use_brine
Use PorousFlowBrine material.
Definition: PorousFlowSinglePhaseBase.h:62
PorousFlowSinglePhaseBase::CouplingTypeEnum::ThermoHydroMechanical
PorousFlowSinglePhaseBase::CouplingTypeEnum::HydroMechanical
PorousFlowSinglePhaseBase::_pp_var
const VariableName _pp_var
Porepressure NonlinearVariable name.
Definition: PorousFlowSinglePhaseBase.h:35
PorousFlowSinglePhaseBase::_fp
const UserObjectName & _fp
Name of the fluid-properties UserObject.
Definition: PorousFlowSinglePhaseBase.h:50
PorousFlowSinglePhaseBase::addKernels
virtual void addKernels() override
Add all Kernels.
Definition: PorousFlowSinglePhaseBase.C:127
validParams< PorousFlowSinglePhaseBase >
InputParameters validParams< PorousFlowSinglePhaseBase >()
Definition: PorousFlowSinglePhaseBase.C:18
PorousFlowSinglePhaseBase::CouplingTypeEnum::ThermoHydro
PorousFlowSinglePhaseBase::addMaterialDependencies
virtual void addMaterialDependencies() override
Add all material dependencies so that the correct version of each material can be added.
Definition: PorousFlowSinglePhaseBase.C:97
PorousFlowSinglePhaseBase::addMaterials
virtual void addMaterials() override
Add all Materials.
Definition: PorousFlowSinglePhaseBase.C:219
PorousFlowSinglePhaseBase::addDictator
virtual void addDictator() override
Add the PorousFlowDictator object.
Definition: PorousFlowSinglePhaseBase.C:277
PorousFlowSinglePhaseBase::_thermal
const bool _thermal
Flags to indicate whether thermal or mechanical effects are included.
Definition: PorousFlowSinglePhaseBase.h:46
PorousFlowSinglePhaseBase::_add_darcy_aux
const bool _add_darcy_aux
Add a AuxVariables to record Darcy velocity.
Definition: PorousFlowSinglePhaseBase.h:56
PorousFlowActionBase
Base class for PorousFlow actions.
Definition: PorousFlowActionBase.h:35