OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
planstrss.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 planstrss_h
36 #define planstrss_h
37 
41 #include "zznodalrecoverymodel.h"
42 #include "sprnodalrecoverymodel.h"
43 #include "spatiallocalizer.h"
44 
45 #define _IFT_PlaneStress2d_Name "planestress2d"
46 
47 namespace oofem {
48 class FEI2dQuadLin;
49 
51 #define PlaneStress2d_reducedShearIntegration
52 
59 {
60 protected:
62 
63 public:
64  PlaneStress2d(int n, Domain * d);
65  virtual ~PlaneStress2d();
66 
67  virtual double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method);
68  virtual double giveParentElSize() const { return 4.0; }
69 
71  virtual FEInterpolation *giveInterpolation() const;
72 
74  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
77 
78  virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
79  IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
81  int &localNodeId, int &localElemId, int &localBcId,
82  IntArray &controlNode, IntArray &controlDof,
85 
86 #ifdef __OOFEG
87  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
89  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
90  virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep);
91 #endif
92 
93  // definition & identification
94  virtual const char *giveInputRecordName() const { return _IFT_PlaneStress2d_Name; }
95  virtual const char *giveClassName() const { return "PlaneStress2d"; }
97 
98 protected:
99 
100  virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS);
101  virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer);
102 
104 };
105 } // end namespace oofem
106 #endif // planstrss_h
This class implements an isoparametric four-node quadrilateral plane- stress elasticity finite elemen...
Definition: planstrss.h:56
The element interface required by ZZNodalRecoveryModel.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: planstrss.C:335
Class and object Domain.
Definition: domain.h:115
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
Definition: planstrss.C:601
The element interface required by ZZNodalRecoveryModel.
virtual const char * giveInputRecordName() const
Definition: planstrss.h:94
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual double giveParentElSize() const
Returns the size (length, area or volume depending on element type) of the parent element...
Definition: planstrss.h:68
virtual ~PlaneStress2d()
Definition: planstrss.C:72
Class implementing an array of integers.
Definition: intarray.h:61
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: planstrss.C:406
#define _IFT_PlaneStress2d_Name
Definition: planstrss.h:45
int giveNumberOfIPForMassMtrxIntegration()
Return desired number of integration points for consistent mass matrix computation, if required.
Definition: planstrss.h:103
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
The element interface corresponding to HuertaErrorEstimator.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Definition: planstrss.C:716
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
PlaneStress2d(int n, Domain *d)
Definition: planstrss.C:62
static FEI2dQuadLin interpolation
Definition: planstrss.h:61
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
Definition: planstrss.C:707
#define ALL_STRAINS
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: planstrss.C:139
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Definition: planstrss.C:255
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Definition: planstrss.C:370
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Definition: planstrss.C:735
Class representing the general Input Record.
Definition: inputrecord.h:101
Class Interface.
Definition: interface.h:82
The spatial localizer element interface associated to spatial localizer.
virtual FEInterpolation * giveInterpolation() const
Definition: planstrss.C:76
virtual void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes a matrix which, multiplied by the column matrix of nodal displacements, gives the displaceme...
Definition: planstrss.C:110
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
virtual const char * giveClassName() const
Definition: planstrss.h:95
Class representing a 2d isoparametric linear interpolation based on natural coordinates for quadrilat...
Definition: fei2dquadlin.h:45
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
Definition: planstrss.C:742
virtual void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface::SetupMode sMode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator::AnalysisMode aMode)
Definition: planstrss.C:272
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: planstrss.C:326
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
Definition: planstrss.C:79
virtual double giveCharacteristicSize(GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method)
Returns characteristic element size for a given integration point and given direction.
Definition: planstrss.C:159

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:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011