OOFEM 3.0
Loading...
Searching...
No Matches
nlstructuralelement.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 nlstructuralelement_h
36#define nlstructuralelement_h
37
39
41
42#define _IFT_NLStructuralElement_nlgeoflag "nlgeo"
44
45namespace oofem {
46class TimeStep;
47class Node;
48class Material;
49class GaussPoint;
50class FloatMatrix;
51class FloatArray;
52class IntArray;
53class ParamKey;
54
88{
89protected:
92
94public:
100 NLStructuralElement(int n, Domain *d);
103
110 int giveGeometryMode() { return nlGeometry; }
111
122 void computeFirstPKStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
123
133 void computeCauchyStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
134
146 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
147
148
149
158 void computeInitialStressMatrix(FloatMatrix &answer, TimeStep *tStep) override
159 { OOFEM_ERROR("Method computeInitialStressMatrix is not implemented"); }
160
175 void computeStiffnessMatrix_withIRulesAsSubcells(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep);
176
185
186 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) override;
187
197 MatResponseMode rMode, GaussPoint *gp,
198 TimeStep *tStep) = 0;
199
200
213 void giveInternalForcesVector_withIRulesAsSubcells(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0) override;
214
223 virtual void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
224
228 double computeCurrentVolume(TimeStep *tStep);
229
230 // data management
231 void initializeFrom(InputRecord &ir, int priority) override;
232 void giveInputRecord(DynamicInputRecord &input) override;
233
234 // definition
235 const char *giveClassName() const override { return "NLStructuralElement"; }
236
237protected:
238 int checkConsistency() override;
247 virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) {
248 OOFEM_ERROR("method not implemented for this element");
249 return;
250 }
252 friend class PhaseFieldElement;
254};
255} // end namespace oofem
256#endif // nlstructuralelement_h
virtual void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void computeCauchyStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void initializeFrom(InputRecord &ir, int priority) override
NLStructuralElement(int n, Domain *d)
void computeFirstPKStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void computeInitialStressMatrix(FloatMatrix &answer, TimeStep *tStep) override
static ParamKey IPK_NLStructuralElement_nlgeoflag
double computeCurrentVolume(TimeStep *tStep)
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
virtual ~NLStructuralElement()
Destructor.
void computeStiffnessMatrix_withIRulesAsSubcells(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
void giveInternalForcesVector_withIRulesAsSubcells(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)=0
void giveInputRecord(DynamicInputRecord &input) override
const char * giveClassName() const override
int nlGeometry
Flag indicating if geometrical nonlinearities apply.
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
StructuralElement(int n, Domain *d)
#define OOFEM_ERROR(...)
Definition error.h:79

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