OOFEM 3.0
Loading...
Searching...
No Matches
xfemstructuralelementinterface.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 XFEMSTRUCTURALELEMENTINTERFACE_H_
36#define XFEMSTRUCTURALELEMENTINTERFACE_H_
37
39#include "internalstatetype.h"
40namespace oofem {
41class Material;
42class IntegrationRule;
43class ExportRegion;
51{
52public:
54
57
58 MaterialStatus *giveClosestGP_MatStat(double &oClosestDist, std :: vector< std :: unique_ptr< IntegrationRule > > &iRules, const FloatArray &iCoord);
59
61
62 virtual void XfemElementInterface_computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep);
63 virtual void XfemElementInterface_computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
64
65 virtual bool hasCohesiveZone() const { return ( mpCZMat != nullptr && mpCZIntegrationRules.size() > 0 ); }
66
67 virtual void computeCohesiveForces(FloatArray &answer, TimeStep *tStep);
68 virtual void computeGlobalCohesiveTractionVector(FloatArray &oT, const FloatArray &iJump, const FloatArray &iCrackNormal, const FloatMatrix &iNMatrix, GaussPoint &iGP, TimeStep *tStep);
69
70 virtual void computeCohesiveTangent(FloatMatrix &answer, TimeStep *tStep);
71 virtual void computeCohesiveTangentAt(FloatMatrix &answer, TimeStep *tStep);
72
73 virtual void XfemElementInterface_computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity = NULL);
74
75 virtual void initializeCZFrom(InputRecord &ir, int priority);
76 virtual void giveCZInputRecord(DynamicInputRecord &input);
77 virtual void postInitialize () {}
78
79 virtual void initializeCZMaterial();
80
81 bool useNonStdCz();
82
83 virtual void XfemElementInterface_computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
84
85
90 void giveIntersectionsTouchingCrack(std :: vector< int > &oTouchingEnrItemIndices, const std :: vector< int > &iCandidateIndices, int iEnrItemIndex, XfemManager &iXMan);
91
92 // Cohesive Zone variables
93 Material *mpCZMat = nullptr;
96
97 // Options for nonstandard cohesive zone model
98 bool mIncludeBulkJump = true;
99 bool mIncludeBulkCorr = true;
100
101 // Store element subdivision for postprocessing
102 std :: vector< Triangle >mSubTri;
103
105 void giveSubtriangulationCompositeExportData(std :: vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep);
106
108 void computeIPAverageInTriangle(FloatArray &answer, IntegrationRule *iRule, Element *elem, InternalStateType isType, TimeStep *tStep, const Triangle &iTri);
109
110};
111} /* namespace oofem */
112
113#endif /* XFEMSTRUCTURALELEMENTINTERFACE_H_ */
Stores all neccessary data (of a region) in a VTKPiece so it can be exported later.
XfemElementInterface(Element *e)
Constructor.
std ::vector< std ::unique_ptr< IntegrationRule > > mpCZIntegrationRules
virtual void XfemElementInterface_computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
virtual void XfemElementInterface_computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep)
void giveSubtriangulationCompositeExportData(std ::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep)
VTK Interface.
void computeIPAverageInTriangle(FloatArray &answer, IntegrationRule *iRule, Element *elem, InternalStateType isType, TimeStep *tStep, const Triangle &iTri)
Help functions for VTK export.
double computeEffectiveSveSize(StructuralFE2MaterialStatus *iFe2Ms)
bool XfemElementInterface_updateIntegrationRule() override
Updates integration rule based on the triangulation.
MaterialStatus * giveClosestGP_MatStat(double &oClosestDist, std ::vector< std ::unique_ptr< IntegrationRule > > &iRules, const FloatArray &iCoord)
#define OOFEM_EXPORT
Definition oofemcfg.h:7

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