Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
heat_transfer_input.hpp
Go to the documentation of this file.
1 // Copyright (c) 2019-2024, Lawrence Livermore National Security, LLC and
2 // other Serac Project Developers. See the top-level LICENSE file for
3 // details.
4 //
5 // SPDX-License-Identifier: (BSD-3-Clause)
6 
14 #pragma once
15 
17 #include "serac/physics/common.hpp"
18 
19 namespace serac {
20 
31  static void defineInputFileSchema(axom::inlet::Container& container);
32 
37  int order;
38 
44 
50 
56 
61  std::vector<var_thermal_material_t> materials;
62 
67  std::optional<input::CoefficientInputOptions> source_coef;
68 
72  std::unordered_map<std::string, input::BoundaryConditionInputOptions> boundary_conditions;
73 
80  std::optional<input::CoefficientInputOptions> initial_temperature;
81 };
82 
83 } // namespace serac
84 
90 template <>
91 struct FromInlet<serac::HeatTransferInputOptions> {
93  serac::HeatTransferInputOptions operator()(const axom::inlet::Container& base);
94 };
A file defining some enums and structs that are used by the different physics modules.
Accelerator functionality.
Definition: serac.cpp:38
Stores all information held in the input file that is used to configure the solver.
NonlinearSolverOptions nonlin_solver_options
The linear solver options.
TimesteppingOptions timestepping_options
The timestepping options.
std::optional< input::CoefficientInputOptions > source_coef
Source function coefficient.
std::unordered_map< std::string, input::BoundaryConditionInputOptions > boundary_conditions
The boundary condition information.
LinearSolverOptions lin_solver_options
The linear solver options.
int order
The order of the discretized field.
std::vector< var_thermal_material_t > materials
The material options.
static void defineInputFileSchema(axom::inlet::Container &container)
Input file parameters specific to this class.
std::optional< input::CoefficientInputOptions > initial_temperature
The initial temperature field.
Parameters for an iterative linear solution scheme.
Nonlinear solution scheme parameters.
A timestep and boundary condition enforcement method for a dynamic solver.
This file contains functions for reading a material from input files.