OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
trplanrot3d.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 trplanrot3d_h
36 #define trplanrot3d_h
37 
38 #include "../sm/Elements/PlaneStress/trplanrot.h"
39 
40 #define _IFT_TrPlaneStrRot3d_Name "trplanestrrot3d"
41 
42 namespace oofem {
43 #ifndef __CHARTENSOR
44  #define __CHARTENSOR
45 enum CharTensor {
50 
55 };
56 #endif
57 
69 {
70 protected:
76 
77  void giveLocalCoordinates(FloatArray &answer, FloatArray &global);
78  virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y);
79 
80  virtual double computeVolumeAround(GaussPoint *gp);
81  void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
82  virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep);
83  virtual int computeLoadGToLRotationMtrx(FloatMatrix &answer);
84  virtual void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode);
85 
86  friend class TR_SHELL01;
91  virtual void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
92  virtual void giveSurfaceDofMapping(IntArray &answer, int iSurf) const;
93  virtual IntegrationRule *GetSurfaceIntegrationRule(int iSurf);
94  virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf);
95  virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp);
97 
98 public:
99  TrPlaneStrRot3d(int n, Domain * d);
100  virtual ~TrPlaneStrRot3d() { }
101 
102  // definition & identification
103  virtual const char *giveInputRecordName() const { return _IFT_TrPlaneStrRot3d_Name; }
104  virtual const char *giveClassName() const { return "TrPlaneStrRot3d"; }
105 
106  virtual int computeNumberOfDofs() { return 9; }
107  virtual int computeNumberOfGlobalDofs() { return 18; }
108  virtual void giveDofManDofIDMask(int inode, IntArray &) const;
109 
111  virtual bool computeGtoLRotationMatrix(FloatMatrix &answer);
113  { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
114 
115  virtual void printOutputAt(FILE *file, TimeStep *tStep);
116 };
117 } // end namespace oofem
118 #endif // trplanrot3d_h
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
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: trplanrot3d.C:317
const FloatMatrix * computeGtoLRotationMatrix()
Definition: trplanrot3d.C:128
TrPlaneStrRot3d(int n, Domain *d)
Definition: trplanrot3d.C:50
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 double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
Definition: trplanrot3d.C:79
virtual IntegrationRule * GetSurfaceIntegrationRule(int iSurf)
Definition: trplanrot3d.C:418
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
Definition: valuemodetype.h:78
This class implements an triangular three-node shell finite element, composed of cct3d and trplanrot3...
Definition: tr_shell01.h:57
virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf)
Computes volume related to integration point on local surface.
Definition: trplanrot3d.C:427
FloatMatrix GtoLRotationMatrix
Transformation Matrix form GtoL(3,3) is stored at the element level for computation efficiency...
Definition: trplanrot3d.h:75
#define _IFT_TrPlaneStrRot3d_Name
Definition: trplanrot3d.h:40
This class represent triangular plane stress element with rotational degree of freedom around normal ...
Definition: trplanrot3d.h:68
Class implementing an array of integers.
Definition: intarray.h:61
Abstract base class representing integration rule.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: trplanrot3d.h:106
Element extension for surface loads.
virtual void giveSurfaceDofMapping(IntArray &answer, int iSurf) const
Assembles surface dof mapping mask, which provides mapping between surface local DOFs and "global" el...
Definition: trplanrot3d.C:396
virtual void giveDofManDofIDMask(int inode, IntArray &) const
Returns dofmanager dof mask for node.
Definition: trplanrot3d.C:121
void giveLocalCoordinates(FloatArray &answer, FloatArray &global)
Definition: trplanrot3d.C:56
virtual const char * giveInputRecordName() const
Definition: trplanrot3d.h:103
ElementExtension
Type representing element extension.
virtual int computeNumberOfGlobalDofs()
Computes the total number of element's global dofs.
Definition: trplanrot3d.h:107
virtual ~TrPlaneStrRot3d()
Definition: trplanrot3d.h:100
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
Definition: trplanrot3d.C:247
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Prints output of receiver to stream, for given time step.
Definition: trplanrot3d.C:441
virtual void giveNodeCoordinates(FloatArray &x, FloatArray &y)
Definition: trplanrot3d.C:94
virtual int computeLoadGToLRotationMtrx(FloatMatrix &answer)
Returns transformation matrix from global coordinate system to local element coordinate system for el...
Definition: trplanrot3d.C:294
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
Definition: trplanrot3d.C:196
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
virtual const char * giveClassName() const
Definition: trplanrot3d.h:104
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: trplanrot3d.h:112
virtual void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Definition: trplanrot3d.C:374
Load is base abstract class for all loads.
Definition: load.h:61
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
virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Returns transformation matrix from local surface c.s to element local coordinate system of load vecto...
Definition: trplanrot3d.C:434

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