https://mooseframework.inl.gov
HeatTransferApp.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 
10 #include "HeatTransferApp.h"
11 #include "Moose.h"
12 #include "AppFactory.h"
13 #include "MooseSyntax.h"
14 #include "RayTracingApp.h"
15 
18 {
20 
21  params.set<bool>("use_legacy_material_output") = false;
22  params.set<bool>("use_legacy_initial_residual_evaluation_behavior") = false;
23 
24  return params;
25 }
26 
27 registerKnownLabel("HeatTransferApp");
28 
30 {
32 }
33 
35 
36 void
38 {
39  registerApp(HeatTransferApp);
40 
42 }
43 
44 void
46 {
48  Registry::registerObjectsTo(f, {"HeatTransferApp"});
49  Registry::registerActionsTo(af, {"HeatTransferApp"});
50 
51  // This registers an action to add the "secondary_flux" vector to the system at the right time
52  registerTask("add_secondary_flux_vector", false);
53  addTaskDependency("add_secondary_flux_vector", "ready_to_init");
54  addTaskDependency("setup_dampers", "add_secondary_flux_vector");
55 
56  registerSyntax("HeatConductionCG", "Physics/HeatConduction/FiniteElement/*");
57  registerSyntax("HeatConductionFV", "Physics/HeatConduction/FiniteVolume/*");
58 
59  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_aux_kernel");
60  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_aux_variable");
61  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_bc");
62  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_dirac_kernel");
63  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_material");
64  registerSyntaxTask("ThermalContactAction", "ThermalContact/*", "add_secondary_flux_vector");
65 
66  registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "append_mesh_generator");
67  registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "setup_mesh_complete");
68  registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "add_user_object");
69  registerSyntaxTask("RadiationTransferAction", "GrayDiffuseRadiation/*", "add_bc");
70  registerSyntaxTask(
71  "RadiationTransferAction", "GrayDiffuseRadiation/*", "add_ray_boundary_condition");
72 
73  registerSyntaxTask(
74  "MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "append_mesh_generator");
75  registerSyntaxTask(
76  "MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_mortar_variable");
77  registerSyntaxTask("MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_constraint");
78  registerSyntaxTask("MortarGapHeatTransferAction", "MortarGapHeatTransfer/*", "add_user_object");
79 }
80 
81 extern "C" void
83 {
85 }
86 extern "C" void
88 {
90 }
static void registerApps()
T & set(const std::string &name, bool quiet_mode=false)
registerKnownLabel("HeatTransferApp")
static void registerObjectsTo(Factory &f, const std::set< std::string > &labels)
virtual ~HeatTransferApp()
Syntax _syntax
Syntax & syntax()
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)
Definition: RayTracingApp.C:38
static InputParameters validParams()
static void registerApps()
Definition: RayTracingApp.C:57
static InputParameters validParams()
void HeatTransferApp__registerAll(Factory &f, ActionFactory &af, Syntax &s)
static void registerActionsTo(ActionFactory &f, const std::set< std::string > &labels)
Real f(Real x)
Test function for Brents method.
ActionFactory _action_factory
void HeatTransferApp__registerApps()
HeatTransferApp(const InputParameters &parameters)
Factory _factory
static void registerAll(Factory &f, ActionFactory &af, Syntax &s)