OOFEM 3.0
Loading...
Searching...
No Matches
simpleinterfacemat.h
Go to the documentation of this file.
1/*
2 *
3 * ##### ##### ###### ###### ### ###
4 * ## ## ## ## ## ## ## ### ##
5 * ## ## ## ## #### #### ## # ##
6 * ## ## ## ## ## ## ## ##
7 * ## ## ## ## ## ## ## ##
8 * ##### ##### ## ###### ## ##
9 *
10 *
11 * OOFEM : Object Oriented Finite Element Code
12 *
13 * Copyright (C) 1993 - 2025 Borek Patzak
14 *
15 *
16 *
17 * Czech Technical University, Faculty of Civil Engineering,
18 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35#ifndef simpleinterfacemat_h
36#define simpleinterfacemat_h
37
40
42
43#define _IFT_SimpleInterfaceMaterial_Name "simpleintermat"
44#define _IFT_SimpleInterfaceMaterial_kn "kn"
45#define _IFT_SimpleInterfaceMaterial_ks "ks"
46#define _IFT_SimpleInterfaceMaterial_frictCoeff "fc"
47#define _IFT_SimpleInterfaceMaterial_stiffCoeff "stiffcoeff"
48#define _IFT_SimpleInterfaceMaterial_normalClearance "normalclearance"
49#define _IFT_SimpleInterfaceMaterial_regularizedModel "regularized"
50#define _IFT_SimpleInterfaceMaterial_regularizationCoeff "m"
52
53namespace oofem {
58{
59protected:
60 bool shearYieldingFlag = false;
62
63public:
66
67 void printOutputAt(FILE *file, TimeStep *tStep) const override;
68
69 const char *giveClassName() const override { return "SimpleInterfaceMaterialStatus"; }
70
71 void initTempStatus() override;
72 void updateYourself(TimeStep *tStep) override;
73
75 void setTempShearStressShift(const FloatArrayF<2> &newShearStressShift) { tempShearStressShift = newShearStressShift; }
78
79 void saveContext(DataStream &stream, ContextMode mode) override;
80 void restoreContext(DataStream &stream, ContextMode mode) override;
81};
82
83
91{
92protected:
93 double kn = 0., ks = 0.;
94 double stiffCoeff = 0.;
95 double frictCoeff = 0.;
97 double normalClearance = 0.;
98
99 bool regularizedModel = false;
100 double m = 15.0;
101
102public:
105
106 bool hasAnalyticalTangentStiffness() const override { return true; }
107
108 const char *giveInputRecordName() const override { return _IFT_SimpleInterfaceMaterial_Name; }
109 const char *giveClassName() const override { return "SimpleInterfaceMaterial"; }
110
111 FloatArrayF<3> giveEngTraction_3d(const FloatArrayF<3> &jump, GaussPoint *gp, TimeStep *tStep) const override;
112 FloatMatrixF<3,3> give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
113
114 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
115
116 void initializeFrom(InputRecord &ir) override;
117 void giveInputRecord(DynamicInputRecord &input) override;
118
119 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<SimpleInterfaceMaterialStatus>(gp); }
120};
121} // end namespace oofem
122#endif // simpleinterfacemat_h
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void restoreContext(DataStream &stream, ContextMode mode) override
void saveContext(DataStream &stream, ContextMode mode) override
const FloatArrayF< 2 > & giveShearStressShift() const
void updateYourself(TimeStep *tStep) override
SimpleInterfaceMaterialStatus(GaussPoint *g)
Constructor.
void setTempShearStressShift(const FloatArrayF< 2 > &newShearStressShift)
const char * giveClassName() const override
double normalClearance
Normal distance which needs to be closed when interface element should act in compression (distance i...
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
SimpleInterfaceMaterial(int n, Domain *d)
Constructor.
const char * giveInputRecordName() const override
const char * giveClassName() const override
bool hasAnalyticalTangentStiffness() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
void giveInputRecord(DynamicInputRecord &input) override
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
FloatArrayF< 3 > giveEngTraction_3d(const FloatArrayF< 3 > &jump, GaussPoint *gp, TimeStep *tStep) const override
void initializeFrom(InputRecord &ir) override
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
long ContextMode
Definition contextmode.h:43
#define _IFT_SimpleInterfaceMaterial_Name

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011