Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
solid_mechanics_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 
62 
67  std::vector<var_solid_material_t> materials;
68 
73  std::unordered_map<std::string, input::BoundaryConditionInputOptions> boundary_conditions;
74 
81  std::optional<input::CoefficientInputOptions> initial_displacement;
82 
87  std::optional<input::CoefficientInputOptions> initial_velocity;
88 };
89 
90 } // namespace serac
91 
97 template <>
98 struct FromInlet<serac::SolidMechanicsInputOptions> {
100  serac::SolidMechanicsInputOptions operator()(const axom::inlet::Container& base);
101 };
A file defining some enums and structs that are used by the different physics modules.
Accelerator functionality.
Definition: serac.cpp:38
GeometricNonlinearities
Enum to set the geometric nonlinearity flag.
Definition: common.hpp:32
This file contains functions for reading a material from input files.
Parameters for an iterative linear solution scheme.
Nonlinear solution scheme parameters.
Stores all information held in the input file that is used to configure the solver.
std::optional< input::CoefficientInputOptions > initial_displacement
The initial displacement.
static void defineInputFileSchema(axom::inlet::Container &container)
Input file parameters specific to this class.
NonlinearSolverOptions nonlin_solver_options
The linear solver options.
int order
The order of the discretization.
std::vector< var_solid_material_t > materials
The material options.
std::unordered_map< std::string, input::BoundaryConditionInputOptions > boundary_conditions
Boundary condition information.
TimesteppingOptions timestepping_options
The timestepping options.
std::optional< input::CoefficientInputOptions > initial_velocity
The initial velocity.
GeometricNonlinearities geom_nonlin
Geometric nonlinearities flag.
LinearSolverOptions lin_solver_options
The linear solver options.
A timestep and boundary condition enforcement method for a dynamic solver.