Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Types | Public Member Functions | Public Attributes | List of all members
serac::solid_mechanics::NeoHookeanWithFieldDensity Struct Reference

Neo-Hookean material model This struct differs in style relative to the older materials as it needs to evaluate both stress and density. As a result, we want to clearly name these functions. This is likely going to be a new design going forward, at the moment it works with the SolidResidual class. More...

#include <solid_material.hpp>

Public Types

using State = Empty
 this material has no internal variables
 

Public Member Functions

template<typename T , int dim, typename Density >
SERAC_HOST_DEVICE auto pkStress (State &, const tensor< T, dim, dim > &du_dX, const Density &) const
 stress calculation for a NeoHookean material model More...
 
template<typename Density >
SERAC_HOST_DEVICE auto density (const Density &density) const
 interpolates density field
 

Public Attributes

double K
 bulk modulus
 
double G
 shear modulus
 

Detailed Description

Neo-Hookean material model This struct differs in style relative to the older materials as it needs to evaluate both stress and density. As a result, we want to clearly name these functions. This is likely going to be a new design going forward, at the moment it works with the SolidResidual class.

Definition at line 490 of file solid_material.hpp.

Member Function Documentation

◆ pkStress()

template<typename T , int dim, typename Density >
SERAC_HOST_DEVICE auto serac::solid_mechanics::NeoHookeanWithFieldDensity::pkStress ( State ,
const tensor< T, dim, dim > &  du_dX,
const Density &   
) const
inline

stress calculation for a NeoHookean material model

Template Parameters
Ttype of float or dual in tensor
dimDimensionality of space
Parameters
du_dXdisplacement gradient with respect to the reference configuration When applied to 2D displacement gradients, the stress is computed in plane strain, returning only the in-plane components.
Returns
The first Piola stress

Definition at line 503 of file solid_material.hpp.


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