https://mooseframework.inl.gov
Loading...
Searching...
No Matches
HeatConductionModel.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
12class THMProblem;
14class Factory;
17
18#include "MooseObject.h"
19#include "NamingInterface.h"
20#include "libmesh/fe_type.h"
21
28{
29public:
31
35 virtual void addVariables();
36
40 virtual void addInitialConditions();
41
45 virtual void addMaterials() {}
46
50 virtual void addHeatEquationXYZ();
51
55 virtual void addHeatEquationRZ();
56
61 static const libMesh::FEType & feType() { return _fe_type; }
62
63protected:
72 const std::string _comp_name;
73
74public:
75 // variable names
76 static const std::string DENSITY;
77 static const std::string TEMPERATURE;
78 static const std::string THERMAL_CONDUCTIVITY;
79 static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE;
80
82
83protected:
84 // FE type used for heat conduction
86
87 friend class Simulation;
88};
Intermediate class for components that have mesh.
Provides functions to setup the heat conduction model.
static const std::string THERMAL_CONDUCTIVITY
static const libMesh::FEType & feType()
Get the FE type used for heat conduction.
virtual void addHeatEquationRZ()
Add heat conduction equation for RZ coordinate system.
static InputParameters validParams()
static const std::string TEMPERATURE
virtual void addMaterials()
Add materials used by this model.
virtual void addInitialConditions()
Add initial conditions.
static libMesh::FEType _fe_type
static const std::string SPECIFIC_HEAT_CONSTANT_PRESSURE
Factory & _factory
The Factory associated with the MooseApp.
const std::string _comp_name
Name of the component.
GeometricalComponent & _geometrical_component
The geometrical component that built this class.
static const std::string DENSITY
virtual void addVariables()
Add field variables used by this model.
HeatStructureInterface & _hs_interface
The heat structure interface that built this class.
virtual void addHeatEquationXYZ()
Add heat conduction equation for cartesian coordinate system.
Interface class for heat structure components.
Interface for handling names.
Main class for simulation (the driver of the simulation)
Definition Simulation.h:30
Specialization of FEProblem to run with component subsystem.
Definition THMProblem.h:19