OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
quad1mindlin.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 quad1mindlin_H
36 #define quad1mindlin_H
37 
38 #include "../sm/Elements/nlstructuralelement.h"
39 #include "zznodalrecoverymodel.h"
40 #include "sprnodalrecoverymodel.h"
41 
42 #define _IFT_Quad1Mindlin_Name "quad1mindlin"
43 #define _IFT_Quad1Mindlin_ReducedIntegration "reducedintegration"
44 
45 namespace oofem {
46 class FEI2dQuadLin;
47 
67 {
68 protected:
72 
73 public:
74  Quad1Mindlin(int n, Domain * d);
75  virtual ~Quad1Mindlin() { }
76 
77  virtual FEInterpolation *giveInterpolation() const;
78  virtual FEInterpolation *giveInterpolation(DofIDItem id) const;
79 
80  virtual MaterialMode giveMaterialMode() { return _2dPlate; }
81  virtual int testElementExtension(ElementExtension ext) { return ( ( ext == Element_EdgeLoadSupport ) ? 1 : 0 ); }
82 
83  // definition & identification
84  virtual const char *giveInputRecordName() const { return _IFT_Quad1Mindlin_Name; }
85  virtual const char *giveClassName() const { return "Quad1Mindlin"; }
87 
88  virtual int computeNumberOfDofs() { return 12; }
89  virtual void giveDofManDofIDMask(int inode, IntArray &) const;
90 
91  virtual void computeMidPlaneNormal(FloatArray &answer, const GaussPoint *gp);
92 
93  virtual double giveCharacteristicLength(const FloatArray &normalToCrackPlane);
94  virtual double computeVolumeAround(GaussPoint *gp);
95 
96  virtual void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep);
97  virtual void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep)
98  { computeLumpedMassMatrix(answer, tStep); }
99 
100  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
102 
103 protected:
104  virtual void computeGaussPoints();
105  virtual void computeBodyLoadVectorAt(FloatArray &answer, Load *load, TimeStep *tStep, ValueModeType mode);
106  virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS);
107 
108  virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
109  virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
110 
111  virtual void giveEdgeDofMapping(IntArray &answer, int iEdge) const;
112  virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge);
113  virtual int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp);
114  //virtual void computeSurfaceNMatrixAt(FloatMatrix &answer, GaussPoint *gp) { answer.clear(); }
115  //virtual void giveSurfaceDofMapping(IntArray &answer, int iSurf) const { answer.clear(); }
116  //virtual IntegrationRule *GetSurfaceIntegrationRule(int i) { return NULL; }
117  //virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) { return 0.; }
119  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
122 };
123 } // end namespace oofem
124 #endif // quad1mindlin_H
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
Definition: quad1mindlin.C:192
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
Definition: quad1mindlin.C:176
The element interface required by ZZNodalRecoveryModel.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: quad1mindlin.C:78
Class and object Domain.
Definition: domain.h:115
virtual int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp)
Returns transformation matrix from local edge c.s to element local coordinate system of load vector c...
Definition: quad1mindlin.C:312
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
Definition: quad1mindlin.C:353
virtual ~Quad1Mindlin()
Definition: quad1mindlin.h:75
virtual void giveEdgeDofMapping(IntArray &answer, int iEdge) const
Assembles edge dof mapping mask, which provides mapping between edge local DOFs and "global" element ...
Definition: quad1mindlin.C:287
The element interface required by ZZNodalRecoveryModel.
Abstract base class for "structural" finite elements with geometrical nonlinearities.
#define _IFT_Quad1Mindlin_Name
Definition: quad1mindlin.h:42
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Definition: valuemodetype.h:78
virtual const char * giveInputRecordName() const
Definition: quad1mindlin.h:84
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeBodyLoadVectorAt(FloatArray &answer, Load *load, TimeStep *tStep, ValueModeType mode)
Computes the load vector due to body load acting on receiver, at given time step. ...
Definition: quad1mindlin.C:89
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes volume related to integration point on local edge.
Definition: quad1mindlin.C:304
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
virtual const char * giveClassName() const
Definition: quad1mindlin.h:85
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Definition: quad1mindlin.h:120
This class implements an quadrilateral four-node Mindlin plate.
Definition: quad1mindlin.h:64
ElementExtension
Type representing element extension.
DofIDItem
Type representing particular dof type.
Definition: dofiditem.h:86
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: quad1mindlin.h:80
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
Definition: quad1mindlin.C:251
Quad1Mindlin(int n, Domain *d)
Definition: quad1mindlin.C:56
virtual void computeMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes mass matrix of receiver.
Definition: quad1mindlin.h:97
#define ALL_STRAINS
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: quad1mindlin.h:81
int numberOfGaussPoints
Number of integration points as specified by nip.
Definition: element.h:188
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
Definition: quad1mindlin.h:121
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 computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
Definition: quad1mindlin.C:128
virtual void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep)
Computes lumped mass matrix of receiver.
Definition: quad1mindlin.C:229
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
Definition: quad1mindlin.C:218
virtual double giveCharacteristicLength(const FloatArray &normalToCrackPlane)
Returns the size of element in the given direction, in some cases adjusted (e.g.
Definition: quad1mindlin.C:211
static FEI2dQuadLin interp_lin
Definition: quad1mindlin.h:69
Class Interface.
Definition: interface.h:82
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: quad1mindlin.C:183
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Definition: quad1mindlin.C:362
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
Computes the stress vector of receiver at given integration point, at time step tStep.
Definition: quad1mindlin.C:169
Load is base abstract class for all loads.
Definition: load.h:61
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 void computeMidPlaneNormal(FloatArray &answer, const GaussPoint *gp)
Computes mid-plane normal of receiver at integration point.
Definition: quad1mindlin.C:199
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: quad1mindlin.h:88
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual FEInterpolation * giveInterpolation() const
Definition: quad1mindlin.C:66
Class representing solution step.
Definition: timestep.h:80
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Definition: quad1mindlin.C:339
bool reducedIntegrationFlag
Flag controlling reduced (one - point) integration for shear.
Definition: quad1mindlin.h:71
Element extension for edge loads.

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