Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Types | Public Member Functions | Public Attributes | List of all members
serac::Thermomechanics< order, dim, parameter_space >::MechanicalMaterialInterface< ThermalMechanicalMaterial > Struct Template Reference

This is an adaptor class that makes a thermomechanical material usable by the solid mechanics module, by discarding the thermal-specific information. More...

#include <thermomechanics.hpp>

Public Types

using State = typename ThermalMechanicalMaterial::State
 internal variables for the wrapped material model
 

Public Member Functions

 MechanicalMaterialInterface (const ThermalMechanicalMaterial &m)
 constructor
 
template<typename T1 , typename T2 , typename... param_types>
SERAC_HOST_DEVICE auto operator() (State &state, const T1 &displacement_gradient, const T2 &temperature, param_types... parameters) const
 glue code to evaluate a thermomechanical material and extract the stress More...
 

Public Attributes

const ThermalMechanicalMaterial mat
 the wrapped material model
 
const double density
 mass density
 

Detailed Description

template<int order, int dim, typename... parameter_space>
template<typename ThermalMechanicalMaterial>
struct serac::Thermomechanics< order, dim, parameter_space >::MechanicalMaterialInterface< ThermalMechanicalMaterial >

This is an adaptor class that makes a thermomechanical material usable by the solid mechanics module, by discarding the thermal-specific information.

Template Parameters
ThermalMechanicalMaterialthe material model being wrapped

Definition at line 319 of file thermomechanics.hpp.

Member Function Documentation

◆ operator()()

template<int order, int dim, typename... parameter_space>
template<typename ThermalMechanicalMaterial >
template<typename T1 , typename T2 , typename... param_types>
SERAC_HOST_DEVICE auto serac::Thermomechanics< order, dim, parameter_space >::MechanicalMaterialInterface< ThermalMechanicalMaterial >::operator() ( State state,
const T1 &  displacement_gradient,
const T2 &  temperature,
param_types...  parameters 
) const
inline

glue code to evaluate a thermomechanical material and extract the stress

Template Parameters
T1the type of the displacement gradient values
T2the type of the temperature value
param_typesthe types of user-specified parameters
Parameters
stateany internal variables needed to evaluate this material
displacement_gradientthe gradient w.r.t. physical coordinates of the displacement
temperaturethe temperature at this quadrature point
parametersvalues and derivatives of any additional user-specified parameters

Definition at line 344 of file thermomechanics.hpp.


The documentation for this struct was generated from the following file: