OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
trplanrot.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 trplanrot_h
36 #define trplanrot_h
37 
38 #include "../sm/Elements/PlaneStress/trplanstrss.h"
39 
41 
42 #define _IFT_TrPlaneStrRot_Name "trplanestrrot"
43 #define _IFT_TrPlaneStrRot_niprot "niprot"
44 
45 
46 namespace oofem {
57 {
58 protected:
60 
61 public:
62  TrPlaneStrRot(int, Domain *);
63  virtual ~TrPlaneStrRot() { }
64 
65 protected:
66  virtual void computeGaussPoints();
67  virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS);
68  virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer);
69 
70  virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
71  virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
72 
73  virtual double giveArea();
74  virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y);
75 
76  virtual void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode);
77 
78 public:
79  // definition & identification
80  virtual const char *giveInputRecordName() const { return _IFT_TrPlaneStrRot_Name; }
81  virtual const char *giveClassName() const { return "TrPlaneStrRot"; }
83  virtual MaterialMode giveMaterialMode() { return _PlaneStressRot; }
84 
85  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
86 
87  virtual int computeNumberOfDofs() { return 9; }
88  virtual void giveDofManDofIDMask(int inode, IntArray &) const;
89 
90  virtual double giveCharacteristicLength(const FloatArray &normalToCrackPlane);
91 
93  FloatArray GiveDerivativeUX(const FloatArray &lCoords);
94  FloatArray GiveDerivativeVX(const FloatArray &lCoords);
95  FloatArray GiveDerivativeUY(const FloatArray &lCoords);
96  FloatArray GiveDerivativeVY(const FloatArray &lCoords);
97  //virtual void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
98 
99  virtual int testElementExtension(ElementExtension ext) { return 0; }
100 };
101 } // end namespace oofem
102 #endif // trplanrot_h
virtual const char * giveInputRecordName() const
Definition: trplanrot.h:80
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
Class implements an triangular three-node plane- stress elasticity finite element with independent ro...
Definition: trplanrot.h:56
Class and object Domain.
Definition: domain.h:115
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
Definition: trplanrot.C:608
virtual double giveArea()
Definition: trplanrot.C:303
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: trplanrot.h:83
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Definition: valuemodetype.h:78
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
Definition: trplanrot.C:76
FloatArray GiveDerivativeUX(const FloatArray &lCoords)
Definition: trplanrot.C:398
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
Definition: trplanrot.C:592
virtual void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode)
Computes the load vector due to body load acting on receiver, at given time step. ...
Definition: trplanrot.C:615
virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y)
Definition: trplanrot.C:331
virtual ~TrPlaneStrRot()
Definition: trplanrot.h:63
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.
FloatArray GiveDerivativeVY(const FloatArray &lCoords)
Definition: trplanrot.C:521
FloatArray GiveDerivativeVX(const FloatArray &lCoords)
Definition: trplanrot.C:439
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: trplanrot.C:562
ElementExtension
Type representing element extension.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: trplanrot.h:87
FloatArray GivePitch()
Definition: trplanrot.C:355
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: trplanrot.C:600
#define ALL_STRAINS
Class representing vector of real numbers.
Definition: floatarray.h:82
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 computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
Definition: trplanrot.C:241
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: trplanrot.C:64
This class implements an triangular three-node plane-stress elasticity finite element.
Definition: trplanstrss.h:60
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: trplanrot.h:99
Load is base abstract class for all loads.
Definition: load.h:61
virtual const char * giveClassName() const
Definition: trplanrot.h:81
the oofem namespace is to define a context or scope in which all oofem names are defined.
TrPlaneStrRot(int, Domain *)
Definition: trplanrot.C:54
FloatArray GiveDerivativeUY(const FloatArray &lCoords)
Definition: trplanrot.C:480
virtual double giveCharacteristicLength(const FloatArray &normalToCrackPlane)
Returns the size of element in the given direction, in some cases adjusted (e.g.
Definition: trplanrot.C:663
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
Definition: trplanrot.C:674
#define _IFT_TrPlaneStrRot_Name
Definition: trplanrot.h:42

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