OGS
SolidMechanics.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Base.h
"
13
#include "
FreeEnergyDensity.h
"
14
#include "
MaterialLib/SolidModels/MechanicsBase.h
"
15
#include "
MaterialState.h
"
16
#include "
ProcessLib/ConstitutiveRelations/StrainData.h
"
17
#include "
ProcessLib/ConstitutiveRelations/StressData.h
"
18
19
namespace
ProcessLib::SmallDeformation
20
{
21
namespace
ConstitutiveRelations
22
{
23
template
<
int
DisplacementDim>
24
struct
SolidMechanicsDataStateless
25
{
26
KelvinMatrix<DisplacementDim>
stiffness_tensor
=
27
KV::KMnan<DisplacementDim>();
28
};
29
30
template
<
int
DisplacementDim>
31
using
SolidConstitutiveRelation
=
32
MaterialLib::Solids::MechanicsBase<DisplacementDim>
;
33
34
template
<
int
DisplacementDim>
35
struct
SolidMechanicsModel
36
{
37
explicit
SolidMechanicsModel
(
38
SolidConstitutiveRelation<DisplacementDim>
const
& solid_material)
39
:
solid_material_
(solid_material)
40
{
41
}
42
43
void
eval
(
SpaceTimeData
const
& x_t,
44
Temperature
const
& temperature,
45
StrainData<DisplacementDim>
const
& eps_data,
46
PrevState
<
StrainData<DisplacementDim>
>
const
& eps_data_prev,
47
MaterialStateData<DisplacementDim>
& mat_state,
48
PrevState
<
StressData<DisplacementDim>
>
const
& stress_data_prev,
49
StressData<DisplacementDim>
& stress_data,
50
SolidMechanicsDataStateless<DisplacementDim>
& current_stateless,
51
FreeEnergyDensityData
& free_energy_density_data)
const
;
52
53
auto
getInternalVariables
()
const
54
{
55
return
solid_material_
.getInternalVariables();
56
}
57
58
private
:
59
SolidConstitutiveRelation<DisplacementDim>
const
&
solid_material_
;
60
};
61
62
extern
template
struct
SolidMechanicsModel<2>
;
63
extern
template
struct
SolidMechanicsModel<3>
;
64
}
// namespace ConstitutiveRelations
65
}
// namespace ProcessLib::SmallDeformation
FreeEnergyDensity.h
MechanicsBase.h
Base.h
MaterialState.h
StrainData.h
StressData.h
ProcessLib::SmallDeformation::MaterialStateData
Definition
MaterialState.h:18
ProcessLib::SmallDeformation
Definition
Base.h:20
ProcessLib::SmallDeformation::KelvinMatrix
KV::KelvinMatrixType< DisplacementDim > KelvinMatrix
Definition
Base.h:29
BaseLib::StrongType
Definition
StrongType.h:25
MaterialLib::Solids::MechanicsBase
Definition
MechanicsBase.h:53
ProcessLib::ConstitutiveRelations::PrevState
Represents a previous state of type T.
Definition
Base.h:21
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::ConstitutiveRelations::StrainData
Definition
StrainData.h:19
ProcessLib::ConstitutiveRelations::StressData
Definition
StressData.h:19
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsDataStateless
Definition
SolidMechanics.h:25
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsDataStateless::stiffness_tensor
KelvinMatrix< DisplacementDim > stiffness_tensor
Definition
SolidMechanics.h:26
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsModel
Definition
SolidMechanics.h:36
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsModel::solid_material_
SolidConstitutiveRelation< DisplacementDim > const & solid_material_
Definition
SolidMechanics.h:59
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsModel::SolidMechanicsModel
SolidMechanicsModel(SolidConstitutiveRelation< DisplacementDim > const &solid_material)
Definition
SolidMechanics.h:37
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsModel::eval
void eval(SpaceTimeData const &x_t, Temperature const &temperature, StrainData< DisplacementDim > const &eps_data, PrevState< StrainData< DisplacementDim > > const &eps_data_prev, MaterialStateData< DisplacementDim > &mat_state, PrevState< StressData< DisplacementDim > > const &stress_data_prev, StressData< DisplacementDim > &stress_data, SolidMechanicsDataStateless< DisplacementDim > ¤t_stateless, FreeEnergyDensityData &free_energy_density_data) const
Definition
SolidMechanics.cpp:17
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidMechanicsModel::getInternalVariables
auto getInternalVariables() const
Definition
SolidMechanics.h:53
ProcessLib::SmallDeformation::FreeEnergyDensityData
Definition
FreeEnergyDensity.h:17
ProcessLib
SmallDeformation
ConstitutiveRelations
SolidMechanics.h
Generated by
1.10.0