OOFEM 3.0
Loading...
Searching...
No Matches
oofem::Tr2Shell7 Class Reference

#include <tr2shell7.h>

Inheritance diagram for oofem::Tr2Shell7:
Collaboration diagram for oofem::Tr2Shell7:

Public Member Functions

 Tr2Shell7 (int n, Domain *d)
virtual ~Tr2Shell7 ()
int giveNumberOfDofs () override
int giveNumberOfEdgeDofs () override
int giveNumberOfEdgeDofManagers () override
const char * giveInputRecordName () const override
const char * giveClassName () const override
Element_Geometry_Type giveGeometryType () const override
integrationDomain giveIntegrationDomain () const override
void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIdArray) override
Public Member Functions inherited from oofem::Shell7Base
 Shell7Base (int n, Domain *d)
void giveDofManDofIDMask (int inode, IntArray &) const override
int computeGlobalCoordinates (FloatArray &answer, const FloatArray &lcoords) override
virtual int computeGlobalCoordinatesOnEdge (FloatArray &answer, const FloatArray &lcoords, const int iEdge)
int computeNumberOfDofs () override
int checkConsistency () override
void postInitialize () override
 Performs post initialization steps.
void printOutputAt (FILE *file, TimeStep *tStep) override
MaterialMode giveMaterialMode () override
virtual int giveNumberOfInPlaneIP ()
FloatMatrixF< 3, 3 > evalInitialCovarBaseVectorsAt (const FloatArrayF< 3 > &lCoords)
LayeredCrossSectiongiveLayeredCS ()
void computeBoundaryEdgeLoadVector (FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global) override
void computeConstitutiveMatrix_dPdF_At (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Public Member Functions inherited from oofem::NLStructuralElement
 NLStructuralElement (int n, Domain *d)
virtual ~NLStructuralElement ()
 Destructor.
int giveGeometryMode ()
void computeFirstPKStressVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void computeCauchyStressVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void computeInitialStressMatrix (FloatMatrix &answer, TimeStep *tStep) override
void computeStiffnessMatrix_withIRulesAsSubcells (FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
void giveInternalForcesVector_withIRulesAsSubcells (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
virtual void computeDeformationGradientVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
double computeCurrentVolume (TimeStep *tStep)
void giveInputRecord (DynamicInputRecord &input) override
Public Member Functions inherited from oofem::StructuralElement
 StructuralElement (int n, Domain *d)
virtual ~StructuralElement ()
 Destructor.
void giveCharacteristicMatrix (FloatMatrix &answer, CharType, TimeStep *tStep) override
void giveCharacteristicVector (FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override
virtual void computeConsistentMassMatrix (FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL)
virtual void giveMassMtrxIntegrationgMask (IntArray &answer)
void computeStiffnessMatrix_withIRulesAsSubcells (FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
virtual void computeLumpedInitialStressMatrix (FloatMatrix &answer, TimeStep *tStep)
void computeField (ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer) override
virtual void computeStrainVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
virtual void computeResultingIPTemperatureAt (FloatArray &answer, TimeStep *tStep, GaussPoint *gp, ValueModeType mode)
virtual void computeResultingIPEigenstrainAt (FloatArray &answer, TimeStep *tStep, GaussPoint *gp, ValueModeType mode)
void updateBeforeNonlocalAverage (TimeStep *tStep) override
virtual void giveNonlocalLocationArray (IntArray &locationArray, const UnknownNumberingScheme &us)
virtual void addNonlocalStiffnessContributions (SparseMtrx &dest, const UnknownNumberingScheme &s, TimeStep *tStep)
int adaptiveUpdate (TimeStep *tStep) override
void updateInternalState (TimeStep *tStep) override
void updateYourself (TimeStep *tStep) override
int checkConsistency () override
void giveInputRecord (DynamicInputRecord &input) override
int giveInternalStateAtNode (FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep) override
void showSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep) override
 Shows sparse structure.
void showExtendedSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep) override
 Shows extended sparse structure (for example, due to nonlocal interactions for tangent stiffness).
void computeLoadVector (FloatArray &answer, BodyLoad *load, CharType type, ValueModeType mode, TimeStep *tStep) override
void computeBoundarySurfaceLoadVector (FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true) override
void computeBoundaryEdgeLoadVector (FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true) override
virtual void computeEdgeNMatrix (FloatMatrix &answer, int boundaryID, const FloatArray &lcoords)
 computes edge interpolation matrix
virtual void computeSurfaceNMatrix (FloatMatrix &answer, int boundaryID, const FloatArray &lcoords)
StructuralCrossSectiongiveStructuralCrossSection ()
 Helper function which returns the structural cross-section for the element.
virtual void createMaterialStatus ()
Public Member Functions inherited from oofem::Element
 Element (int n, Domain *aDomain)
 Element (const Element &src)=delete
Elementoperator= (const Element &src)=delete
virtual ~Element ()
 Virtual destructor.
void giveLocationArray (IntArray &locationArray, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
void giveLocationArray (IntArray &locationArray, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
virtual void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL)
virtual int giveNumberOfInternalDofManagers () const
virtual DofManagergiveInternalDofManager (int i) const
virtual void setInternalDofManager (int num, std::unique_ptr< DofManager > dm)
virtual double giveCharacteristicValue (CharType type, TimeStep *tStep)
virtual void computeTangentFromSurfaceLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
virtual void computeTangentFromEdgeLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
const IntArraygiveBodyLoadList () const
const IntArraygiveBoundaryLoadList () const
void computeVectorOf (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOf (const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeBoundaryVectorOf (const IntArray &bNodes, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOf (PrimaryField &field, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOfPrescribed (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOfPrescribed (const IntArray &dofIDMask, ValueModeType type, TimeStep *tStep, FloatArray &answer)
virtual int computeNumberOfGlobalDofs ()
int computeNumberOfPrimaryMasterDofs ()
virtual bool computeGtoLRotationMatrix (FloatMatrix &answer)
virtual bool giveRotationMatrix (FloatMatrix &answer)
virtual bool computeDofTransformationMatrix (FloatMatrix &answer, const IntArray &nodes, bool includeInternal)
virtual void giveInternalDofManDofIDMask (int inode, IntArray &answer) const
virtual void giveElementDofIDMask (IntArray &answer) const
virtual double computeVolumeAround (GaussPoint *gp)
virtual double computeVolumeAreaOrLength ()
 Computes the volume, area or length of the element depending on its spatial dimension.
double computeMeanSize ()
virtual double computeVolume ()
virtual double computeArea ()
virtual double computeLength ()
virtual IntArray giveBoundaryEdgeNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundarySurfaceNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundaryNodes (int boundary) const
virtual std::unique_ptr< IntegrationRulegiveBoundaryEdgeIntegrationRule (int order, int boundary)
virtual std::unique_ptr< IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary)
int giveDofManagerNumber (int i) const
const IntArraygiveDofManArray () const
void addDofManager (DofManager *dMan)
DofManagergiveDofManager (int i) const
NodegiveNode (int i) const
virtual ElementSidegiveSide (int i) const
virtual FEInterpolationgiveInterpolation (DofIDItem id) const
virtual const FEInterpolationgetGeometryInterpolation () const
virtual MaterialgiveMaterial ()
int giveMaterialNumber () const
CrossSectiongiveCrossSection ()
int getActivityTimeFunctionNumber ()
void setActivityTimeFunctionNumber (int funcIndx)
void setMaterial (int matIndx)
virtual void setCrossSection (int csIndx)
virtual int giveNumberOfDofManagers () const
void setNumberOfDofManagers (int i)
 Sets number of element dof managers.
virtual int giveNumberOfNodes () const
void setDofManagers (const IntArray &dmans)
void setDofManager (int id, int dm)
void setBodyLoads (const IntArray &bodyLoads)
void setIntegrationRules (std ::vector< std ::unique_ptr< IntegrationRule > > irlist)
virtual int giveIntegrationRuleLocalCodeNumbers (IntArray &answer, IntegrationRule &ie)
int giveRegionNumber ()
virtual void initializeYourself (TimeStep *timeStepWhenICApply)
virtual bool isActivated (TimeStep *tStep)
virtual bool isCast (TimeStep *tStep)
virtual void initForNewStep ()
virtual Element_Geometry_Type giveEdgeGeometryType (int id) const
 Returns the receiver edge geometry type.
virtual Element_Geometry_Type giveSurfaceGeometryType (int id) const
 Returns the receiver surface geometry type.
virtual int giveSpatialDimension ()
virtual int giveNumberOfBoundarySides ()
 Returns number of boundaries (entities of element_dimension-1: points, edges, surfaces).
virtual int giveNumberOfEdges () const
virtual int giveNumberOfSurfaces () const
virtual int giveDefaultIntegrationRule () const
virtual IntegrationRulegiveDefaultIntegrationRulePtr ()
int giveNumberOfIntegrationRules ()
virtual IntegrationRulegiveIntegrationRule (int i)
std::vector< std ::unique_ptr< IntegrationRule > > & giveIntegrationRulesArray ()
virtual int testElementExtension (ElementExtension ext)
int giveGlobalIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
virtual double giveLengthInDir (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicLength (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForPlaneElements (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForAxisymmElements (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicSize (GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method)
virtual double giveParentElSize () const
virtual bool computeLocalCoordinates (FloatArray &answer, const FloatArray &gcoords)
virtual int giveLocalCoordinateSystem (FloatMatrix &answer)
virtual void giveLocalCoordinateSystemVector (InternalStateType isttype, FloatArray &answer)
virtual void computeMidPlaneNormal (FloatArray &answer, const GaussPoint *gp)
virtual int adaptiveMap (Domain *oldd, TimeStep *tStep)
virtual int mapStateVariables (Domain &iOldDom, const TimeStep &iTStep)
virtual int adaptiveFinish (TimeStep *tStep)
void updateLocalNumbering (EntityRenumberingFunctor &f) override
template<class T>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *gp))
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f.
template<class T, class S>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *, S &), S &_val)
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f as well as additional array.
virtual void drawYourself (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawAnnotation (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawRawGeometry (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawDeformedGeometry (oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual void drawScalar (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawSpecial (oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveLocalIntVarMaxMin (oofegGraphicContext &gc, TimeStep *tStep, double &emin, double &emax)
virtual int giveInternalStateAtSide (FloatArray &answer, InternalStateType type, InternalStateMode mode, int side, TimeStep *tStep)
int giveLabel () const
int giveGlobalNumber () const
void setGlobalNumber (int num)
elementParallelMode giveParallelMode () const
void setParallelMode (elementParallelMode _mode)
 Sets parallel mode of element.
virtual elementParallelMode giveKnotSpanParallelMode (int) const
int packUnknowns (DataStream &buff, TimeStep *tStep)
int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep)
int estimatePackSize (DataStream &buff)
const IntArraygivePartitionList () const
void setPartitionList (IntArray &pl)
virtual double predictRelativeComputationalCost ()
virtual double giveRelativeSelfComputationalCost ()
virtual double predictRelativeRedistributionCost ()
IntArraygiveBodyLoadArray ()
 Returns array containing load numbers of loads acting on element.
IntArraygiveBoundaryLoadArray ()
 Returns array containing load numbers of boundary loads acting on element.
void initializeFinish () override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
virtual const IntArray giveLocation ()
virtual void recalculateCoordinates (int nodeNumber, FloatArray &coords)
void setSharedEdgeID (int iedge, int globalID)
void setSharedSurfaceID (int isurf, int globalID)
const IntArraygiveSharedEdgeIDs () const
const IntArraygiveSharedSurfaceIDs () const
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void initializeFrom (InputRecord &ir)
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging.
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).
Public Member Functions inherited from oofem::NodalAveragingRecoveryModelInterface
 NodalAveragingRecoveryModelInterface ()
 Constructor.
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()
Public Member Functions inherited from oofem::LayeredCrossSectionInterface
 LayeredCrossSectionInterface ()
Public Member Functions inherited from oofem::VTKXMLExportModuleElementInterface
 VTKXMLExportModuleElementInterface ()
virtual void giveCompositeExportData (ExportRegion &vtkPiece, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep)
Public Member Functions inherited from oofem::ZZNodalRecoveryModelInterface
 ZZNodalRecoveryModelInterface (Element *element)
 Constructor.
virtual bool ZZNodalRecoveryMI_computeNValProduct (FloatMatrix &answer, InternalStateType type, TimeStep *tStep)
virtual void ZZNodalRecoveryMI_computeNNMatrix (FloatArray &answer, InternalStateType type)
Public Member Functions inherited from oofem::FailureModuleElementInterface
 FailureModuleElementInterface ()
virtual void computeFailureCriteriaQuantities (FailureCriteriaStatus *fc, TimeStep *tStep)

Protected Member Functions

const IntArraygiveOrderingDofTypes () const override
const IntArraygiveOrderingNodes () const override
const IntArraygiveOrderingEdgeNodes () const override
void giveSurfaceDofMapping (IntArray &answer, int iSurf) const override
void giveEdgeDofMapping (IntArray &answer, int iEdge) const override
double computeVolumeAroundLayer (GaussPoint *mastergp, int layer) override
double computeAreaAround (GaussPoint *gp, double xi) override
void computeStressVector (FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void computeConstitutiveMatrixAt (FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void computeGaussPoints () override
void compareMatrices (const FloatMatrix &matrix1, const FloatMatrix &matrix2, FloatMatrix &answer)
FEInterpolationgiveInterpolation () const override
Protected Member Functions inherited from oofem::Shell7Base
InterfacegiveInterface (InterfaceType it) override
FloatArrayF< 3 > & giveInitialNodeDirector (int i)
FloatArraygiveInitialSolutionVector ()
FloatArraygiveInitialEdgeSolutionVector (int i)
void initializeFrom (InputRecord &ir, int priority) override
virtual double edgeComputeLengthAround (GaussPoint *gp, const int iedge)
virtual void setupInitialNodeDirectors ()
FloatArrayF< 3 > evalInitialDirectorAt (const FloatArrayF< 3 > &lCoords)
FloatMatrixF< 3, 3 > evalInitialContravarBaseVectorsAt (const FloatArrayF< 3 > &lCoords)
virtual FloatMatrixF< 3, 3 > evalCovarBaseVectorsAt (const FloatArrayF< 3 > &lCoords, FloatArray &genEps, TimeStep *tStep)
virtual FloatArrayF< 3 > evalCovarNormalAt (const FloatArrayF< 3 > &lCoords, FloatArray &genEpsC, TimeStep *tStep)
virtual FloatArrayF< 3 > evalInitialCovarNormalAt (const FloatArrayF< 3 > &lCoords)
FloatArrayF< 3 > edgeEvalInitialDirectorAt (const FloatArrayF< 1 > &lCoords, const int iEdge)
std::pair< FloatArrayF< 3 >, FloatArrayF< 3 > > edgeEvalInitialCovarBaseVectorsAt (const FloatArrayF< 1 > &lCoords, const int iedge)
FloatMatrixF< 3, 3 > edgeEvalCovarBaseVectorsAt (const FloatArrayF< 3 > &lCoords, const int iedge, TimeStep *tStep)
virtual double giveGlobalZcoord (const FloatArrayF< 3 > &lCoords)
virtual double giveGlobalZcoordInLayer (double xi, int layer)
FloatMatrixF< 3, 3 > giveAxialMatrix (const FloatArrayF< 3 > &vec)
FloatMatrixF< 3, 3 > computeFAt (const FloatArrayF< 3 > &lCoords, FloatArray &genEps, TimeStep *tStep)
FloatMatrixF< 3, 3 > computeStressMatrix (FloatArray &genEps, GaussPoint *gp, Material *mat, TimeStep *tStep)
virtual void computeCauchyStressVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
void computeLumpedMassMatrix (FloatMatrix &answer, TimeStep *tStep) override
void computeMassMatrix (FloatMatrix &answer, TimeStep *tStep) override
virtual void computeMassMatrixNum (FloatMatrix &answer, TimeStep *tStep)
virtual void giveMassFactorsAt (GaussPoint *gp, FloatArray &answer, double &gam)
void computeConvectiveMassForce (FloatArray &answer, TimeStep *tStep)
void computeThicknessMappingCoeff (GaussPoint *gp, FloatArray &answer)
void computeStiffnessMatrix (FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
virtual void computeBulkTangentMatrix (FloatMatrix &answer, FloatArray &solVec, TimeStep *tStep)
void computeLinearizedStiffness (GaussPoint *gp, StructuralMaterial *mat, TimeStep *tStep, FloatMatrix A[3][3])
void computePressureTangentMatrix (FloatMatrix &answer, Load *load, const int iSurf, TimeStep *tStep)
std::array< FloatMatrixF< 3, 18 >, 3 > computeLambdaGMatrices (FloatArray &genEps, double zeta)
FloatMatrixF< 3, 7 > computeLambdaNMatrix (FloatArray &genEps, double zeta)
void giveInternalForcesVector (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0) override
void computeSectionalForces (FloatArray &answer, TimeStep *tStep, FloatArray &solVec, int useUpdatedGpRecord=0)
void computeSectionalForcesAt (FloatArray &sectionalForces, IntegrationPoint *ip, Material *mat, TimeStep *tStep, FloatArray &genEpsC, double zeta)
void computeBodyLoadVectorAt (FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
void computePressureForce (FloatArray &answer, FloatArray solVec, const int iSurf, BoundaryLoad *surfLoad, TimeStep *tStep, ValueModeType mode)
void computePressureForceAt (GaussPoint *gp, FloatArray &answer, const int iSurf, FloatArray genEps, BoundaryLoad *surfLoad, TimeStep *tStep, ValueModeType mode)
virtual void computeTractionForce (FloatArray &answer, const int iedge, BoundaryLoad *edgeLoad, TimeStep *tStep, ValueModeType mode, bool map2elementDOFs=false)
void computeVectorOfDofIDs (const IntArray &dofIdArray, ValueModeType u, TimeStep *tStep, FloatArray &answer)
void temp_computeBoundaryVectorOf (IntArray &dofIdArray, int boundary, ValueModeType u, TimeStep *tStep, FloatArray &answer)
virtual void edgeGiveUpdatedSolutionVector (FloatArray &answer, const int iedge, TimeStep *tStep)
void setupInitialSolutionVector ()
void setupInitialEdgeSolutionVector ()
void giveUpdatedSolutionVector (FloatArray &answer, TimeStep *tStep)
void giveUnknownsAt (const FloatArrayF< 3 > &lcoords, const FloatArray &solVec, FloatArrayF< 3 > &x, FloatArrayF< 3 > &m, double &gam, TimeStep *tStep)
void NodalAveragingRecoveryMI_computeNodalValue (FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
void ZZNodalRecoveryMI_ComputeEstimatedInterpolationMtrx (FloatArray &answer, GaussPoint *gp, InternalStateType type)
void NodalRecoveryMI_computeNValProduct (FloatMatrix &answer, int layer, InternalStateType type, TimeStep *tStep)
void NodalRecoveryMI_computeNNMatrix (FloatArray &answer, int layer, InternalStateType type)
void NodalRecoveryMI_recoverValues (std::vector< FloatArray > &recoveredValues, int layer, InternalStateType type, TimeStep *tStep)
virtual FloatArrayF< 3 > vtkEvalInitialGlobalCoordinateAt (const FloatArrayF< 3 > &localCoords, int layer)
virtual FloatArrayF< 3 > vtkEvalUpdatedGlobalCoordinateAt (const FloatArrayF< 3 > &localCoords, int layer, TimeStep *tStep)
virtual FloatArrayF< 3 > vtkEvalInitialGlobalCZCoordinateAt (const FloatArrayF< 3 > &localCoords, int interface)
void giveCompositeExportData (std::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep) override
virtual void giveShellExportData (ExportRegion &vtkPiece, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep)
std::vector< FloatArraygiveFictiousNodeCoordsForExport (int layer)
std::vector< FloatArraygiveFictiousCZNodeCoordsForExport (int interface)
std::vector< FloatArraygiveFictiousUpdatedNodeCoordsForExport (int layer, TimeStep *tStep)
virtual void giveRecoveredTransverseInterfaceStress (std::vector< FloatMatrix > &transverseStress, TimeStep *tStep)
void giveTractionBC (FloatMatrix &tractionTop, FloatMatrix &tractionBtm, TimeStep *tStep)
void recoverValuesFromIP (std::vector< FloatArray > &nodes, int layer, InternalStateType type, TimeStep *tStep, stressRecoveryType SRtype=copyIPvalue)
void CopyIPvaluesToNodes (std::vector< FloatArray > &recoveredValues, int layer, InternalStateType type, TimeStep *tStep)
void nodalLeastSquareFitFromIP (std::vector< FloatArray > &recoveredValues, int layer, InternalStateType type, TimeStep *tStep)
virtual void recoverShearStress (TimeStep *tStep)
void giveLayerContributionToSR (FloatMatrix &dSmat, FloatMatrix &dSmatLayerIP, int layer, double zeroThicknessLevel, TimeStep *tStep)
void fitRecoveredStress2BC (std::vector< FloatMatrix > &answer1, std::vector< FloatMatrix > &answer2, std::vector< FloatMatrix > &dSmat, std::vector< FloatMatrix > &dSmatIP, FloatMatrix &SmatOld, FloatMatrix &tractionBtm, FloatMatrix &tractionTop, double zeroThicknessLevel, FloatArray fulfillBC, int startLayer, int endLayer)
void updateLayerTransvStressesSR (FloatMatrix &dSmatLayerIP, int layer)
void updateLayerTransvShearStressesSR (FloatMatrix &dSmatLayerIP, FloatMatrix &SmatOld, int layer)
void updateLayerTransvNormalStressSR (FloatMatrix &dSzzMatLayerIP, FloatArray &SzzMatOld, int layer)
void giveZintegratedPolynomialGradientForStressRecAt (FloatArray &answer, FloatArray &coords)
void giveZ2integratedPolynomial2GradientForStressRecAt (FloatArray &answer, FloatArray &coords)
void giveL2contribution (FloatMatrix &ipValues, FloatMatrix &Nbar, int layer, InternalStateType type, TimeStep *tStep)
void giveSPRcontribution (FloatMatrix &eltIPvalues, FloatMatrix &eltPolynomialValues, int layer, InternalStateType type, TimeStep *tStep)
void computeBmatrixAt (GaussPoint *gp, FloatMatrix &answer, int li=1, int ui=ALL_STRAINS) override
virtual void computeBmatrixAt (const FloatArray &lCoords, FloatMatrix &answer, int li=1, int ui=ALL_STRAINS)
void computeNmatrixAt (const FloatArray &iLocCoords, FloatMatrix &answer) override
virtual void edgeComputeNmatrixAt (const FloatArray &lCoords, FloatMatrix &answer)
void computeStrainVectorInLayer (FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override
virtual void edgeComputeBmatrixAt (const FloatArray &lCoords, FloatMatrix &answer, int li=1, int ui=ALL_STRAINS)
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
void computeInterLaminarStressesAt (int interfaceNum, TimeStep *tStep, std::vector< FloatArray > &interLamStresses)
virtual void evaluateFailureCriteriaQuantities (FailureCriteriaStatus *fc, TimeStep *tStep)
int giveSymVoigtIndex (int ind1, int ind2)
int giveVoigtIndex (int ind1, int ind2)
Protected Member Functions inherited from oofem::NLStructuralElement
virtual void computeBHmatrixAt (GaussPoint *gp, FloatMatrix &answer)
virtual void computePointLoadVectorAt (FloatArray &answer, Load *load, TimeStep *tStep, ValueModeType mode, bool global=true)
virtual double computeEdgeVolumeAround (GaussPoint *gp, int iEdge)
virtual double computeSurfaceVolumeAround (GaussPoint *gp, int iSurf)
virtual int computeLoadGToLRotationMtrx (FloatMatrix &answer)
virtual int computeLoadLEToLRotationMatrix (FloatMatrix &answer, int iEdge, GaussPoint *gp)
virtual int computeLoadLSToLRotationMatrix (FloatMatrix &answer, int iSurf, GaussPoint *gp)
virtual int giveNumberOfIPForMassMtrxIntegration ()
void condense (FloatMatrix *stiff, FloatMatrix *mass, FloatArray *load, IntArray *what)
virtual void setupIRForMassMtrxIntegration (IntegrationRule &iRule)

Static Protected Attributes

static FEI3dTrQuad interpolation
static IntArray orderingDofTypes
static IntArray orderingNodes
static IntArray orderingEdgeNodes = {1, 2, 3, 10, 11, 12, 19, 4, 5, 6, 13, 14, 15, 20, 7, 8, 9, 16, 17, 18, 21}
Static Protected Attributes inherited from oofem::Shell7Base
static ParamKey IPK_Shell7Base_recoverStress
static FEI3dTrQuad interpolationForCZExport
static FEI3dWedgeQuad interpolationForExport
Static Protected Attributes inherited from oofem::NLStructuralElement
static ParamKey IPK_NLStructuralElement_nlgeoflag

Additional Inherited Members

Static Public Member Functions inherited from oofem::Shell7Base
static void giveGeneralizedStrainComponents (FloatArray genEps, FloatArrayF< 3 > &dphidxi1, FloatArrayF< 3 > &dphidxi2, FloatArrayF< 3 > &dmdxi1, FloatArrayF< 3 > &dmdxi2, FloatArrayF< 3 > &m, double &dgamdxi1, double &dgamdxi2, double &gam)
static FloatMatrixF< 3, 3 > giveDualBase (FloatMatrixF< 3, 3 > &base1)
Static Public Attributes inherited from oofem::Element
static ParamKey IPK_Element_mat
static ParamKey IPK_Element_crosssect
static ParamKey IPK_Element_nodes
static ParamKey IPK_Element_bodyload
static ParamKey IPK_Element_boundaryload
static ParamKey IPK_Element_lcs
static ParamKey IPK_Element_partitions
static ParamKey IPK_Element_remote
static ParamKey IPK_Element_activityTimeFunction
static ParamKey IPK_Element_nip
Protected Types inherited from oofem::Shell7Base
enum  stressRecoveryType { copyIPvalue , LSfit , L2fit }
Static Protected Member Functions inherited from oofem::Shell7Base
static FloatArrayF< 9 > convV6ToV9Stress (const FloatArrayF< 6 > &V6)
Protected Attributes inherited from oofem::Shell7Base
bool recoverStress
LayeredCrossSectionlayeredCS
FEInterpolation3dfei
std::vector< FloatArrayF< 3 > > initialNodeDirectors
FloatArray initialSolutionVector
std::vector< FloatArrayinitialEdgeSolutionVectors
int numInPlaneIP
std::vector< std::vector< int > > voigtIndices
Protected Attributes inherited from oofem::NLStructuralElement
int nlGeometry =0
 Flag indicating if geometrical nonlinearities apply.
Protected Attributes inherited from oofem::StructuralElement
std::unique_ptr< FloatArrayinitialDisplacements
 Initial displacement vector, describes the initial nodal displacements when element has been casted.
Protected Attributes inherited from oofem::Element
int numberOfDofMans
 Number of dofmanagers.
IntArray dofManArray
 Array containing dofmanager numbers.
int material
 Number of associated material.
int crossSection
 Number of associated cross section.
IntArray bodyLoadArray
IntArray boundaryLoadArray
std::vector< std ::unique_ptr< IntegrationRule > > integrationRulesArray
FloatMatrix elemLocalCS
 Transformation material matrix, used in orthotropic and anisotropic materials, global->local transformation.
int activityTimeFunction
 Element activity time function. If defined, nonzero value indicates active receiver, zero value inactive element.
int globalNumber
int numberOfGaussPoints
elementParallelMode parallel_mode
 Determines the parallel mode of the element.
IntArray partitions
IntArray globalEdgeIDs
IntArray globalSurfaceIDs
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Detailed Description

This class represent a 7 parameter shell element. Each node has 7 degrees of freedom (displ. vec., director vec., inhomogeneous thickness strain ). Nodal numbering: (3) / | / | (6) (5) / | / | (1)–(4)–(2) Add ref. to paper!

Author
Jim Brouzoulis
Date
2012-11-01

Definition at line 65 of file tr2shell7.h.

Constructor & Destructor Documentation

◆ Tr2Shell7()

oofem::Tr2Shell7::Tr2Shell7 ( int n,
Domain * d )

◆ ~Tr2Shell7()

virtual oofem::Tr2Shell7::~Tr2Shell7 ( )
inlinevirtual

Definition at line 96 of file tr2shell7.h.

Member Function Documentation

◆ compareMatrices()

void oofem::Tr2Shell7::compareMatrices ( const FloatMatrix & matrix1,
const FloatMatrix & matrix2,
FloatMatrix & answer )
protected

Definition at line 204 of file tr2shell7.C.

References oofem::FloatMatrix::at(), and oofem::FloatMatrix::resize().

◆ computeAreaAround()

◆ computeConstitutiveMatrixAt()

void oofem::Tr2Shell7::computeConstitutiveMatrixAt ( FloatMatrix & answer,
MatResponseMode rMode,
GaussPoint * gp,
TimeStep * tStep )
inlineoverrideprotectedvirtual

Computes constitutive matrix of receiver. Default implementation uses element cross section giveCharMaterialStiffnessMatrix service.

Parameters
answerConstitutive matrix.
rModeMaterial response mode of answer.
gpIntegration point for which constitutive matrix is computed.
tStepTime step.

Implements oofem::StructuralElement.

Definition at line 85 of file tr2shell7.h.

References OOFEM_ERROR.

◆ computeGaussPoints()

void oofem::Tr2Shell7::computeGaussPoints ( )
overrideprotectedvirtual

Initializes the array of integration rules member variable. Element can have multiple integration rules for different tasks. For example structural element family class uses this feature to implement transparent support for reduced and selective integration of some strain components. Must be defined by terminator classes.

See also
IntegrationRule

Implements oofem::Shell7Base.

Definition at line 90 of file tr2shell7.C.

References oofem::Element::integrationRulesArray, oofem::Shell7Base::layeredCS, oofem::Element::numberOfGaussPoints, and OOFEM_ERROR.

◆ computeStressVector()

void oofem::Tr2Shell7::computeStressVector ( FloatArray & answer,
const FloatArray & strain,
GaussPoint * gp,
TimeStep * tStep )
inlineoverrideprotectedvirtual

Computes the stress vector of receiver at given integration point, at time step tStep. The nature of these stresses depends on the element's type.

Parameters
answerStress vector.
strainStrain vector.
gpIntegration point.
tStepTime step.

Implements oofem::StructuralElement.

Definition at line 83 of file tr2shell7.h.

References OOFEM_ERROR.

◆ computeVolumeAroundLayer()

double oofem::Tr2Shell7::computeVolumeAroundLayer ( GaussPoint * mastergp,
int layer )
overrideprotectedvirtual

◆ giveBoundaryLocationArray()

void oofem::Tr2Shell7::giveBoundaryLocationArray ( IntArray & locationArray,
const IntArray & bNodes,
const UnknownNumberingScheme & s,
IntArray * dofIds )
overridevirtual

Returns the location array for the boundary of the element. Only takes into account nodes in the bNodes vector.

Reimplemented from oofem::Element.

Definition at line 109 of file tr2shell7.C.

References oofem::IntArray::at(), giveEdgeDofMapping(), oofem::Element::giveLocationArray(), oofem::IntArray::giveSize(), giveSurfaceDofMapping(), OOFEM_ERROR, and oofem::IntArray::resize().

◆ giveClassName()

const char * oofem::Tr2Shell7::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Reimplemented from oofem::Shell7Base.

Definition at line 102 of file tr2shell7.h.

◆ giveEdgeDofMapping()

void oofem::Tr2Shell7::giveEdgeDofMapping ( IntArray & answer,
int iEdge ) const
overrideprotectedvirtual

Assembles edge dof mapping mask, which provides mapping between edge local DOFs and "global" element DOFs. Mask can be imagined as local edge code numbers used to localize local edge DOFs to element DOFs.

Parameters
answerEdge DOF mapping.
iEdgeEdge number.

Implements oofem::Shell7Base.

Definition at line 145 of file tr2shell7.C.

References OOFEM_ERROR.

Referenced by giveBoundaryLocationArray().

◆ giveGeometryType()

Element_Geometry_Type oofem::Tr2Shell7::giveGeometryType ( ) const
inlineoverridevirtual

Returns the element geometry type. This information is assumed to be of general interest, but it is required only for some specialized tasks.

Returns
Geometry type of element.

Implements oofem::Element.

Definition at line 104 of file tr2shell7.h.

◆ giveInputRecordName()

const char * oofem::Tr2Shell7::giveInputRecordName ( ) const
inlineoverridevirtual
Returns
Input record name of the receiver.

Implements oofem::FEMComponent.

Definition at line 101 of file tr2shell7.h.

References _IFT_Tr2Shell7_Name.

◆ giveIntegrationDomain()

integrationDomain oofem::Tr2Shell7::giveIntegrationDomain ( ) const
inlineoverridevirtual

Returns integration domain for receiver, used to initialize integration point over receiver volume. Default behavior is taken from the default interpolation.

Returns
Integration domain of element.

Reimplemented from oofem::Element.

Definition at line 105 of file tr2shell7.h.

References oofem::_Triangle.

◆ giveInterpolation()

FEInterpolation * oofem::Tr2Shell7::giveInterpolation ( ) const
overrideprotectedvirtual
Returns
Interpolation of the element geometry, or NULL if none exist.

Reimplemented from oofem::Element.

Definition at line 85 of file tr2shell7.C.

References interpolation.

◆ giveNumberOfDofs()

int oofem::Tr2Shell7::giveNumberOfDofs ( )
inlineoverridevirtual
Returns
Number of DOFs in element.

Reimplemented from oofem::Shell7Base.

Definition at line 98 of file tr2shell7.h.

◆ giveNumberOfEdgeDofManagers()

int oofem::Tr2Shell7::giveNumberOfEdgeDofManagers ( )
inlineoverridevirtual

Implements oofem::Shell7Base.

Definition at line 100 of file tr2shell7.h.

◆ giveNumberOfEdgeDofs()

int oofem::Tr2Shell7::giveNumberOfEdgeDofs ( )
inlineoverridevirtual

Implements oofem::Shell7Base.

Definition at line 99 of file tr2shell7.h.

◆ giveOrderingDofTypes()

const IntArray & oofem::Tr2Shell7::giveOrderingDofTypes ( ) const
overrideprotectedvirtual

Implements oofem::Shell7Base.

Definition at line 69 of file tr2shell7.C.

References orderingDofTypes.

◆ giveOrderingEdgeNodes()

const IntArray & oofem::Tr2Shell7::giveOrderingEdgeNodes ( ) const
overrideprotectedvirtual

Implements oofem::Shell7Base.

Definition at line 80 of file tr2shell7.C.

References orderingEdgeNodes.

◆ giveOrderingNodes()

const IntArray & oofem::Tr2Shell7::giveOrderingNodes ( ) const
overrideprotectedvirtual

Implements oofem::Shell7Base.

Definition at line 75 of file tr2shell7.C.

References orderingNodes.

◆ giveSurfaceDofMapping()

void oofem::Tr2Shell7::giveSurfaceDofMapping ( IntArray & answer,
int iSurf ) const
overrideprotectedvirtual

Assembles surface dof mapping mask, which provides mapping between surface local DOFs and "global" element DOFs. Mask can be imagined as local surface code numbers used to localize local DOFs to element DOFs.

Parameters
answerSurface DOF mapping.
iSurfSurface number

Implements oofem::Shell7Base.

Definition at line 165 of file tr2shell7.C.

References oofem::IntArray::at(), and oofem::IntArray::resize().

Referenced by giveBoundaryLocationArray().

Member Data Documentation

◆ interpolation

FEI3dTrQuad oofem::Tr2Shell7::interpolation
staticprotected

Definition at line 68 of file tr2shell7.h.

Referenced by giveInterpolation().

◆ orderingDofTypes

IntArray oofem::Tr2Shell7::orderingDofTypes
staticprotected
Initial value:
= {1, 2, 3, 8, 9, 10, 15, 16, 17, 22, 23, 24, 29, 30, 31, 36, 37, 38,
4, 5, 6, 11, 12, 13, 18, 19, 20, 25, 26, 27, 32, 33, 34, 39, 40, 41,
7, 14, 21, 28, 35, 42}

Definition at line 69 of file tr2shell7.h.

Referenced by giveOrderingDofTypes().

◆ orderingEdgeNodes

IntArray oofem::Tr2Shell7::orderingEdgeNodes = {1, 2, 3, 10, 11, 12, 19, 4, 5, 6, 13, 14, 15, 20, 7, 8, 9, 16, 17, 18, 21}
staticprotected

Definition at line 71 of file tr2shell7.h.

Referenced by giveOrderingEdgeNodes().

◆ orderingNodes

IntArray oofem::Tr2Shell7::orderingNodes
staticprotected
Initial value:
= {1, 2, 3, 19, 20, 21, 37, 4, 5, 6, 22, 23, 24, 38, 7, 8, 9, 25, 26, 27, 39,
10, 11, 12, 28, 29, 30, 40, 13, 14, 15, 31, 32, 33, 41, 16, 17, 18,
34, 35, 36, 42}

Definition at line 70 of file tr2shell7.h.

Referenced by giveOrderingNodes().


The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011