OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
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 - 2013 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"
40 namespace oofem {
41 class Material;
42 class IntegrationRule;
43 class VTKPiece;
44 class StructuralFE2MaterialStatus;
51 {
52 public:
55 
57  virtual bool XfemElementInterface_updateIntegrationRule();
58 
59  MaterialStatus *giveClosestGP_MatStat(double &oClosestDist, std :: vector< std :: unique_ptr< IntegrationRule > > &iRules, const FloatArray &iCoord);
60 
61  double computeEffectiveSveSize(StructuralFE2MaterialStatus *iFe2Ms);
62 
63  virtual void XfemElementInterface_computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep);
64  virtual void XfemElementInterface_computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
65 
66  virtual bool hasCohesiveZone() const { return ( mpCZMat != NULL && mpCZIntegrationRules.size() > 0 ); }
67 
68  virtual void computeCohesiveForces(FloatArray &answer, TimeStep *tStep);
69  virtual void computeGlobalCohesiveTractionVector(FloatArray &oT, const FloatArray &iJump, const FloatArray &iCrackNormal, const FloatMatrix &iNMatrix, GaussPoint &iGP, TimeStep *tStep);
70 
71  virtual void computeCohesiveTangent(FloatMatrix &answer, TimeStep *tStep);
72  virtual void computeCohesiveTangentAt(FloatMatrix &answer, TimeStep *tStep);
73 
74  virtual void XfemElementInterface_computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity = NULL);
75 
76  virtual IRResultType initializeCZFrom(InputRecord *ir);
77  virtual void giveCZInputRecord(DynamicInputRecord &input);
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
96 
97  // Options for nonstandard cohesive zone model
100 
101  // Store element subdivision for postprocessing
102  std :: vector< Triangle >mSubTri;
103 
105  void giveSubtriangulationCompositeExportData(std :: vector< VTKPiece > &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_ */
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
Provides Xfem interface for an element.
Abstract base class for all finite elements.
Definition: element.h:145
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
Abstract base class representing integration rule.
Abstract base class for all material models.
Definition: material.h:95
Abstract base class representing a material status information.
Definition: matstatus.h:84
Provides Xfem interface for a structural element.
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
This class manages the xfem part.
Definition: xfemmanager.h:109
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
Class representing the general Input Record.
Definition: inputrecord.h:101
Class representing the a dynamic Input Record.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:32 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011