https://mooseframework.inl.gov
FlowModelSetup1Phase.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 "FlowModelSetup.h"
13 
18 {
19 public:
20  FlowModelSetup1Phase(const InputParameters & params);
21 
22 protected:
23  virtual void addInitialConditions() override;
24  virtual void addSolutionVariables() override;
25  virtual void addNonConstantAuxVariables() override;
26  virtual void addMaterials() override;
27  virtual void addUserObjects() override;
28 
30  const FunctionName _p_fn;
32  const FunctionName _T_fn;
34  const FunctionName _vel_fn;
36  const FunctionName _A_fn;
38  const FunctionName _D_h_fn;
39 
41  const UserObjectName _fp_1phase_name;
42 
44  const VariableName _unity_name;
46  const VariableName _A_name;
48  const VariableName _D_h_name;
50  const VariableName _rhoA_name;
52  const VariableName _rhouA_name;
54  const VariableName _rhoEA_name;
56  const VariableName _rho_name;
58  const VariableName _vel_name;
60  const VariableName _p_name;
62  const VariableName _T_name;
64  const VariableName _v_name;
66  const VariableName _e_name;
68  const VariableName _H_name;
70  const VariableName _mu_name;
71 
73  const bool & _ad;
74 
75 public:
77 };
virtual void addMaterials() override
const FunctionName _p_fn
Pressure function name.
virtual void addInitialConditions() override
const VariableName _rhoA_name
Name of rho*A variable.
const VariableName _A_name
Name of area variable.
static InputParameters validParams()
const FunctionName _T_fn
Temperature function name.
const FunctionName _D_h_fn
Hydraulic diameter function name.
const VariableName _p_name
Name of pressure variable.
FlowModelSetup1Phase(const InputParameters &params)
const VariableName _v_name
Name of specific volume variable.
const VariableName _rho_name
Name of rho variable.
const VariableName _rhouA_name
Name of rho*u*A variable.
virtual void addUserObjects() override
const UserObjectName _fp_1phase_name
Single-phase fluid properties object name.
const VariableName _e_name
Name of specific internal energy variable.
const FunctionName _A_fn
Area function name.
const FunctionName _vel_fn
Velocity function name.
virtual void addNonConstantAuxVariables() override
const bool & _ad
True for setting up testing with AD, false otherwise.
virtual void addSolutionVariables() override
const VariableName _rhoEA_name
Name of rho*E*A variable.
Base helper class to provide interfaces to common flow model setup functions.
Helper class to set up some objects for 1-phase flow.
const VariableName _H_name
Name of specific total enthalpy variable.
const VariableName _vel_name
Name of velocity variable.
const VariableName _D_h_name
Name of the hydraulic diameter.
const VariableName _mu_name
Name of dynamic viscosity variable.
const VariableName _T_name
Name of temperature variable.
const VariableName _unity_name
Name of unity.