OOFEM 3.0
Loading...
Searching...
No Matches
intmatcoulombcontact.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 inmatcoulombcontact_h
36#define inmatcoulombcontact_h
37
38#include "material.h"
41
43
44#define _IFT_IntMatCoulombContact_Name "intmatcoulombcontact"
45#define _IFT_IntMatCoulombContact_kn "kn"
46#define _IFT_IntMatCoulombContact_frictCoeff "frictcoeff"
47#define _IFT_IntMatCoulombContact_stiffCoeff "stiffcoeff"
48#define _IFT_IntMatCoulombContact_normalClearance "normalclearance"
50
51namespace oofem {
59{
60protected:
62
63public:
65
66 void printOutputAt(FILE *file, TimeStep *tStep) const override;
67
68 void initTempStatus() override;
69 void updateYourself(TimeStep *tStep) override;
70
72 void setTempShearStressShift(const FloatArrayF<2> &newShearStressShift) { tempShearStressShift = newShearStressShift; }
73
74 void saveContext(DataStream &stream, ContextMode mode) override;
75 void restoreContext(DataStream &stream, ContextMode mode) override;
76};
77
78
90{
91protected:
92 // Normal stiffness
93 double kn = 0.;
94 // Reduction factor of normal stiffness when material goes to tension
95 double stiffCoeff = 0.;
96 // Friction coefficient
97 double frictCoeff = 0.;
99 double normalClearance = 0.;
100
101public:
102 IntMatCoulombContact( int n, Domain *d );
103
104 const char *giveInputRecordName() const override { return _IFT_IntMatCoulombContact_Name; }
105 const char *giveClassName() const override { return "IntMatCoulombContact"; }
106
107 FloatArrayF<3> giveEngTraction_3d(const FloatArrayF<3> &jump, GaussPoint *gp, TimeStep *tStep) const override;
108
109 FloatMatrixF<3,3> give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
110
111 std::pair<double, FloatArrayF<2>> computeEngTraction(const FloatArrayF<2> &tempShearStressShift, double normalJump, const FloatArrayF<2> &shearJump );
112
113 void initializeFrom(InputRecord &ir) override;
114 void giveInputRecord(DynamicInputRecord &input) override;
115 bool hasAnalyticalTangentStiffness() const override { return true; }
116
117 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<IntMatCoulombContactStatus>(gp); }
118};
119} // end namespace oofem
120#endif // simpleinterfacemat_h
void restoreContext(DataStream &stream, ContextMode mode) override
void saveContext(DataStream &stream, ContextMode mode) override
void setTempShearStressShift(const FloatArrayF< 2 > &newShearStressShift)
void updateYourself(TimeStep *tStep) override
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
const FloatArrayF< 2 > & giveShearStressShift() const
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
const char * giveClassName() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
const char * giveInputRecordName() const override
void initializeFrom(InputRecord &ir) override
double normalClearance
Normal distance which needs to be closed when interface element should act in compression (distance i...
FloatArrayF< 3 > giveEngTraction_3d(const FloatArrayF< 3 > &jump, GaussPoint *gp, TimeStep *tStep) const override
std::pair< double, FloatArrayF< 2 > > computeEngTraction(const FloatArrayF< 2 > &tempShearStressShift, double normalJump, const FloatArrayF< 2 > &shearJump)
void giveInputRecord(DynamicInputRecord &input) override
bool hasAnalyticalTangentStiffness() const override
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
#define _IFT_IntMatCoulombContact_Name
long ContextMode
Definition contextmode.h:43

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