https://mooseframework.inl.gov
ClosureTest1PhaseAction.C
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 
11 
12 registerMooseAction("ThermalHydraulicsTestApp", ClosureTest1PhaseAction, "meta_action");
13 
16 {
20 
21  return params;
22 }
23 
25  : ClosureTestAction(params), FlowModelSetup1Phase(params)
26 {
27 }
28 
29 void
31 {
34 }
35 
36 void
38 {
40 
41  // add the usual solution variables as aux variables
45 
46  // add the normal aux variables
48 }
49 
50 void
52 {
55 }
56 
57 void
59 {
61 }
Action for setting up a closure test for 2-phase flow.
virtual void addMaterials() override
static InputParameters validParams()
virtual void addInitialConditions() override
virtual void addInitialConditions() override
virtual void addAuxVariables() override
Adds aux variables.
static InputParameters validParams()
virtual void addAuxVariables() override
Adds aux variables.
const VariableName _rhoA_name
Name of rho*A variable.
Action for setting up a closure test for 1-phase flow.
static InputParameters validParams()
void addAuxVariable(const VariableName &var_name)
Adds an aux variable.
registerMooseAction("ThermalHydraulicsTestApp", ClosureTest1PhaseAction, "meta_action")
InputParameters emptyInputParameters()
const VariableName _rhouA_name
Name of rho*u*A variable.
virtual void addUserObjects() override
virtual void addMaterials() override
Adds materials.
virtual void addNonConstantAuxVariables() override
virtual void addMaterials() override
virtual void addInitialConditions() override
Adds the initial conditions.
const VariableName _rhoEA_name
Name of rho*E*A variable.
Helper class to set up some objects for 1-phase flow.
virtual void addUserObjects() override
ClosureTest1PhaseAction(const InputParameters &params)