OGS
SmallDeformation/ConstitutiveRelations/ConstitutiveModels.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include "
Gravity.h
"
7
#include "
ProcessLib/ConstitutiveRelations/Base.h
"
8
#include "
ProcessLib/Graph/ConstructModels.h
"
9
#include "
SolidDensity.h
"
10
#include "
SolidMechanics.h
"
11
12
namespace
ProcessLib::SmallDeformation
13
{
14
namespace
ConstitutiveRelations
15
{
17
template
<
int
DisplacementDim>
18
using
ConstitutiveModels
= std::tuple<SolidMechanicsModel<DisplacementDim>,
19
SolidDensityModel
,
20
GravityModel<DisplacementDim>
>;
21
22
template
<
int
DisplacementDim,
typename
SDProcessData>
23
ConstitutiveModels<DisplacementDim>
createConstitutiveModels
(
24
SDProcessData
const
& process_data,
25
SolidConstitutiveRelation<DisplacementDim>
const
& solid_material)
26
{
27
return
ProcessLib::Graph::constructModels
<
28
ConstitutiveModels<DisplacementDim>
>(
29
ProcessLib::ConstitutiveRelations::SpecificBodyForce<DisplacementDim>
(
30
process_data.specific_body_force),
31
solid_material);
32
}
33
}
// namespace ConstitutiveRelations
34
}
// namespace ProcessLib::SmallDeformation
Base.h
ConstructModels.h
Gravity.h
SolidDensity.h
SolidMechanics.h
ProcessLib::ConstitutiveRelations::SpecificBodyForce
BaseLib::StrongType< GlobalDimVector< DisplacementDim >, struct SpecificBodyForceTag > SpecificBodyForce
Definition
ConstitutiveRelations/Base.h:32
ProcessLib::Graph::constructModels
TupleOfModels constructModels(Args &&... args)
Definition
ConstructModels.h:62
ProcessLib::SmallDeformation::ConstitutiveRelations
Definition
SmallDeformation/ConstitutiveRelations/ConstitutiveData.h:17
ProcessLib::SmallDeformation::ConstitutiveRelations::SolidConstitutiveRelation
MaterialLib::Solids::MechanicsBase< DisplacementDim > SolidConstitutiveRelation
Definition
SmallDeformation/ConstitutiveRelations/SolidMechanics.h:25
ProcessLib::SmallDeformation::ConstitutiveRelations::ConstitutiveModels
std::tuple< SolidMechanicsModel< DisplacementDim >, SolidDensityModel, GravityModel< DisplacementDim > > ConstitutiveModels
Constitutive models used for assembly.
Definition
SmallDeformation/ConstitutiveRelations/ConstitutiveModels.h:18
ProcessLib::SmallDeformation::ConstitutiveRelations::createConstitutiveModels
ConstitutiveModels< DisplacementDim > createConstitutiveModels(SDProcessData const &process_data, SolidConstitutiveRelation< DisplacementDim > const &solid_material)
Definition
SmallDeformation/ConstitutiveRelations/ConstitutiveModels.h:23
ProcessLib::SmallDeformation
Definition
SmallDeformation/ConstitutiveRelations/Base.h:10
ProcessLib::SmallDeformation::GravityModel
Definition
SmallDeformation/ConstitutiveRelations/Gravity.h:18
ProcessLib::SmallDeformation::SolidDensityModel
Definition
SmallDeformation/ConstitutiveRelations/SolidDensity.h:14
ProcessLib
SmallDeformation
ConstitutiveRelations
ConstitutiveModels.h
Generated by
1.14.0