https://mooseframework.inl.gov
JacobianTest1PhaseRDGAction.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 "JacobianTestAction.h"
13 #include "MooseEnum.h"
14 
19 {
20 public:
22 
23 protected:
24  virtual void addObjects() override;
25  virtual void addMesh() override;
26  virtual void addInitialConditions() override;
27  virtual void addSolutionVariables() override;
28  virtual void addAuxVariables() override;
29  virtual void addMaterials() override;
30  virtual void addUserObjects() override;
31 
39  void addSolutionVariablesRiemannIC(const std::vector<VariableName> & variables,
40  const std::vector<Real> & values_left,
41  const std::vector<Real> & values_right);
42 
44  const VariableName _A_name;
46  const VariableName _A_linear_name;
48  const VariableName _rhoA_name;
50  const VariableName _rhouA_name;
52  const VariableName _rhoEA_name;
53 
55  const bool _add_dg_kernel;
57  const bool _add_bc;
58 
60  const UserObjectName _numerical_flux_name;
62  const UserObjectName _boundary_flux_name;
63 
67  const FunctionName & _A_fn_name;
68 
71 
73  const std::string _reconstruction_material_name;
74 
76  const MaterialPropertyName _direction_name;
77 
79  const UserObjectName _fp_name;
80 
81 public:
83 };
Sets up a Jacobian test for 1-phase rDG.
const UserObjectName _boundary_flux_name
name of boundary flux user object being tested
const VariableName _rhoA_name
rho*A variable name
static InputParameters validParams()
virtual void addAuxVariables() override
Adds aux variables.
const bool _use_slope_reconstruction
option to use slope reconstruction
const VariableName _rhoEA_name
rho*E*A variable name
virtual void addObjects() override
Adds all non-mesh objects.
const UserObjectName _fp_name
fluid properties object name
JacobianTest1PhaseRDGAction(const InputParameters &params)
const UserObjectName _numerical_flux_name
name of numerical flux user object being tested
const MooseEnum _ic_option
initial conditions option
void addSolutionVariablesRiemannIC(const std::vector< VariableName > &variables, const std::vector< Real > &values_left, const std::vector< Real > &values_right)
Adds solution variables with Riemann problem IC (constant left and right states)
Base class for adding common actions for Jacobian tests.
const bool _add_dg_kernel
option to add DG kernel
virtual void addUserObjects() override
Adds user objects.
const FunctionName & _A_fn_name
area function name
const VariableName _rhouA_name
rho*u*A variable name
virtual void addSolutionVariables() override
Adds the solution variables.
virtual void addMaterials() override
Adds materials.
const std::string _reconstruction_material_name
reconstruction material name
virtual void addInitialConditions() override
Adds the initial conditions.
const VariableName _A_linear_name
cross-sectional area variable name, linear Lagrange
const MaterialPropertyName _direction_name
direction material property name
const VariableName _A_name
cross-sectional area variable name, elemental average
virtual void addMesh() override
Adds the mesh.