version 3.11-dev
Loading...
Searching...
No Matches
solidmechanics/hyperelastic_voliso/model.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
52#ifndef DUMUX_SOLIDMECHANICS_HYPERELASTIC_VOLISO_MODEL_HH
53#define DUMUX_SOLIDMECHANICS_HYPERELASTIC_VOLISO_MODEL_HH
54
58
59#include "localresidual.hh"
60#include "variables.hh"
61
62namespace Dumux {
63
64// ============================================================
65// Momentum subdomain traits
66// ============================================================
67
72template<int dim>
74{
75 static constexpr int displacement(int i) { return i; }
76 static constexpr int momentum(int i) { return i; }
77};
78
83template<int dim>
85{
87 static constexpr int numEq() { return dim; }
88};
89
90template<class PV, class MT>
93
94// ============================================================
95// Pressure subdomain traits
96// ============================================================
97
103{
104 static constexpr int pressureIdx = 0;
105 static constexpr int pressureEqIdx = 0;
106};
107
113{
115 static constexpr int numEq() { return 1; }
116};
117
118template<class PV, class MT>
121
122} // end namespace Dumux
123
124// ============================================================
125// Property registrations
126// ============================================================
127namespace Dumux::Properties::TTag {
132struct HyperelasticVolIsoMomentumModel { using InheritsFrom = std::tuple<ModelProperties>; };
137struct HyperelasticVolIsoPressureModel { using InheritsFrom = std::tuple<ModelProperties>; };
138} // end namespace Dumux::Properties::TTag
139
140namespace Dumux::Properties {
141
142template<class TypeTag>
143struct ModelTraits<TypeTag, TTag::HyperelasticVolIsoMomentumModel>
144{
147};
148
149template<class TypeTag>
150struct LocalResidual<TypeTag, TTag::HyperelasticVolIsoMomentumModel>
152
153template<class TypeTag>
161
163template<class TypeTag>
164struct VolumeVariables<TypeTag, TTag::HyperelasticVolIsoMomentumModel>
166
168template<class TypeTag>
169struct GridVariables<TypeTag, TTag::HyperelasticVolIsoMomentumModel>
171
172template<class TypeTag>
173struct ModelTraits<TypeTag, TTag::HyperelasticVolIsoPressureModel>
175
176template<class TypeTag>
177struct LocalResidual<TypeTag, TTag::HyperelasticVolIsoPressureModel>
179
180template<class TypeTag>
188
190template<class TypeTag>
191struct VolumeVariables<TypeTag, TTag::HyperelasticVolIsoPressureModel>
193
195template<class TypeTag>
196struct GridVariables<TypeTag, TTag::HyperelasticVolIsoPressureModel>
198
199} // end namespace Dumux::Properties
200
201#endif
Momentum local residual for the mixed – hyperelastic model.
Definition solidmechanics/hyperelastic_voliso/localresidual.hh:54
Volume variables for the momentum subdomain (displacement).
Definition solidmechanics/hyperelastic_voliso/variables.hh:26
Pressure local residual for the mixed – hyperelastic model.
Definition solidmechanics/hyperelastic_voliso/localresidual.hh:187
Volume variables for the pressure subdomain (bulk pressure).
Definition solidmechanics/hyperelastic_voliso/variables.hh:92
Defines a type tags and some fundamental properties for all models.
Defines all properties used in Dumux.
Grid variables with the variables cache selected depending on the element discretization.
GridVariables< GetPropType< TypeTag, Properties::GridGeometry >, DefaultGridVariablesCache< GetPropType< TypeTag, Properties::GridGeometry >, GetPropType< TypeTag, Properties::Problem >, Variables, getPropValue< TypeTag, Properties::EnableGridVolumeVariablesCache >() > > DefaultGridVariables
The grid variables of a model whose variables are defined per local degree of freedom.
Definition defaultgridvariables.hh:82
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Type tag for numeric models.
Definition grid.hh:24
The energy balance equation for a porous solid.
Definition common/properties.hh:26
Definition adapt.hh:17
Local residuals for the volumetric-isochoric split hyperelastic mixed – model.
Volume variables for the volumetric-isochoric split hyperelastic mixed – model.
Index set for the momentum subdomain.
Definition solidmechanics/hyperelastic_voliso/model.hh:74
static constexpr int momentum(int i)
Definition solidmechanics/hyperelastic_voliso/model.hh:76
static constexpr int displacement(int i)
Definition solidmechanics/hyperelastic_voliso/model.hh:75
Model traits for the momentum subdomain ( displacement DOFs per node).
Definition solidmechanics/hyperelastic_voliso/model.hh:85
static constexpr int numEq()
Definition solidmechanics/hyperelastic_voliso/model.hh:87
HyperelasticVolIsoMomentumIndices< dim > Indices
Definition solidmechanics/hyperelastic_voliso/model.hh:86
Definition solidmechanics/hyperelastic_voliso/model.hh:92
MT ModelTraits
Definition solidmechanics/hyperelastic_voliso/model.hh:92
PV PrimaryVariables
Definition solidmechanics/hyperelastic_voliso/model.hh:92
Index set for the pressure subdomain.
Definition solidmechanics/hyperelastic_voliso/model.hh:103
static constexpr int pressureEqIdx
Definition solidmechanics/hyperelastic_voliso/model.hh:105
static constexpr int pressureIdx
Definition solidmechanics/hyperelastic_voliso/model.hh:104
Model traits for the pressure subdomain (1 pressure DOF per node).
Definition solidmechanics/hyperelastic_voliso/model.hh:113
HyperelasticVolIsoPressureIndices Indices
Definition solidmechanics/hyperelastic_voliso/model.hh:114
static constexpr int numEq()
Definition solidmechanics/hyperelastic_voliso/model.hh:115
Definition solidmechanics/hyperelastic_voliso/model.hh:120
MT ModelTraits
Definition solidmechanics/hyperelastic_voliso/model.hh:120
PV PrimaryVariables
Definition solidmechanics/hyperelastic_voliso/model.hh:120
Dumux::Experimental::DefaultGridVariables< TypeTag > type
Definition solidmechanics/hyperelastic_voliso/model.hh:170
Dumux::Experimental::DefaultGridVariables< TypeTag > type
Definition solidmechanics/hyperelastic_voliso/model.hh:197
HyperelasticVolIsoMomentumLocalResidual< TypeTag > type
Definition solidmechanics/hyperelastic_voliso/model.hh:151
HyperelasticVolIsoPressureLocalResidual< TypeTag > type
Definition solidmechanics/hyperelastic_voliso/model.hh:178
HyperelasticVolIsoMomentumModelTraits< GetPropType< TypeTag, Properties::GridGeometry >::GridView::dimension > type
Definition solidmechanics/hyperelastic_voliso/model.hh:145
HyperelasticVolIsoPressureModelTraits type
Definition solidmechanics/hyperelastic_voliso/model.hh:174
Type tag for the momentum subdomain of the mixed – model.
Definition solidmechanics/hyperelastic_voliso/model.hh:132
std::tuple< ModelProperties > InheritsFrom
Definition solidmechanics/hyperelastic_voliso/model.hh:132
Type tag for the pressure subdomain of the mixed – model.
Definition solidmechanics/hyperelastic_voliso/model.hh:137
std::tuple< ModelProperties > InheritsFrom
Definition solidmechanics/hyperelastic_voliso/model.hh:137
GetPropType< TypeTag, Properties::ModelTraits > MT
Definition solidmechanics/hyperelastic_voliso/model.hh:157
GetPropType< TypeTag, Properties::PrimaryVariables > PV
Definition solidmechanics/hyperelastic_voliso/model.hh:156
HyperelasticVolIsoMomentumVariables< HyperelasticVolIsoMomentumVVTraits< PV, MT > > type
Definition solidmechanics/hyperelastic_voliso/model.hh:158
GetPropType< TypeTag, Properties::PrimaryVariables > PV
Definition solidmechanics/hyperelastic_voliso/model.hh:183
GetPropType< TypeTag, Properties::ModelTraits > MT
Definition solidmechanics/hyperelastic_voliso/model.hh:184
HyperelasticVolIsoPressureVariables< HyperelasticVolIsoPressureVVTraits< PV, MT > > type
Definition solidmechanics/hyperelastic_voliso/model.hh:185
GetPropType< TypeTag, Properties::Variables > type
Definition solidmechanics/hyperelastic_voliso/model.hh:165
GetPropType< TypeTag, Properties::Variables > type
Definition solidmechanics/hyperelastic_voliso/model.hh:192