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

#include <rankinemat.h>

Inheritance diagram for oofem::RankineMat:
Collaboration diagram for oofem::RankineMat:

Public Member Functions

 RankineMat (int n, Domain *d)
double evalYieldFunction (const FloatArray &sigPrinc, const double kappa) const
double evalYieldStress (const double kappa) const
double evalPlasticModulus (const double kappa) const
void performPlasticityReturn (GaussPoint *gp, const FloatArray &totalStrain) const
double computeDamage (GaussPoint *gp, TimeStep *tStep) const
double computeDamageParam (double tempKappa) const
double computeDamageParamPrime (double tempKappa) const
virtual double computeCumPlastStrain (GaussPoint *gp, TimeStep *tStep) const
bool hasMaterialModeCapability (MaterialMode mode) const override
void initializeFrom (InputRecord &ir) override
const char * giveInputRecordName () const override
const char * giveClassName () const override
LinearElasticMaterialgiveLinearElasticMaterial ()
 Returns a reference to the basic elastic material.
bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const override
std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
FloatArrayF< 3 > giveRealStressVector_PlaneStress (const FloatArrayF< 3 > &reducesStrain, GaussPoint *gp, TimeStep *tStep) const override
 Default implementation relies on giveRealStressVector_StressControl.
FloatArrayF< 1 > giveRealStressVector_1d (const FloatArrayF< 1 > &totalStrain, GaussPoint *gp, TimeStep *tStep) const override
 Default implementation relies on giveRealStressVector_StressControl.
FloatMatrixF< 1, 1 > give1dStressStiffMtrx (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
FloatMatrixF< 3, 3 > givePlaneStressStiffMtrx (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Public Member Functions inherited from oofem::StructuralMaterial
 StructuralMaterial (int n, Domain *d)
bool hasMaterialModeCapability (MaterialMode mode) const override
const char * giveClassName () const override
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
void giveCharacteristicMatrix (FloatMatrix &answer, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic matrix of the receiver.
void giveCharacteristicVector (FloatArray &answer, FloatArray &flux, MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const override
 Returns characteristic vector of the receiver.
virtual void giveStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual void giveRealStressVector (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const
virtual FloatArrayF< 6 > giveRealStressVector_3d (const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
virtual FloatArrayF< 4 > giveRealStressVector_PlaneStrain (const FloatArrayF< 4 > &strain, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_3d.
virtual FloatArray giveRealStressVector_StressControl (const FloatArray &reducedE, const IntArray &strainControl, GaussPoint *gp, TimeStep *tStep) const
 Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero·
virtual FloatArray giveRealStressVector_ShellStressControl (const FloatArray &reducedE, const IntArray &strainControl, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 2 > giveRealStressVector_Warping (const FloatArrayF< 2 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 2 > giveRealStressVector_2dBeamLayer (const FloatArrayF< 2 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 5 > giveRealStressVector_PlateLayer (const FloatArrayF< 5 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 3 > giveRealStressVector_Fiber (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector_StressControl.
virtual FloatArrayF< 3 > giveRealStressVector_2dPlateSubSoil (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
 Default implementation is not provided.
virtual FloatArrayF< 6 > giveRealStressVector_3dBeamSubSoil (const FloatArrayF< 6 > &reducedE, GaussPoint *gp, TimeStep *tStep) const
virtual FloatArrayF< 9 > giveFirstPKStressVector_3d (const FloatArrayF< 9 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
virtual FloatArrayF< 5 > giveFirstPKStressVector_PlaneStrain (const FloatArrayF< 5 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_3d.
virtual FloatArray giveFirstPKStressVector_StressControl (const FloatArray &reducedvF, const IntArray &FControl, GaussPoint *gp, TimeStep *tStep) const
 Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero·
virtual FloatArrayF< 4 > giveFirstPKStressVector_PlaneStress (const FloatArrayF< 4 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_StressControl.
virtual FloatArrayF< 1 > giveFirstPKStressVector_1d (const FloatArrayF< 1 > &vF, GaussPoint *gp, TimeStep *tStep) const
 Default implementation relies on giveFirstPKStressVector_StressControl.
virtual void giveCauchyStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveCauchyStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual void giveEshelbyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep)
virtual FloatArrayF< 6 > giveThermalDilatationVector (GaussPoint *gp, TimeStep *tStep) const
double giveReferenceTemperature ()
virtual FloatArray computeStressIndependentStrainVector (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
FloatArrayF< 6 > computeStressIndependentStrainVector_3d (GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const
virtual FloatMatrixF< 6, 6 > give3dMaterialStiffnessMatrix (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual void giveStiffnessMatrix_dPdF (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 9, 9 > give3dMaterialStiffnessMatrix_dPdF (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const
virtual void give3dMaterialStiffnessMatrix_dCde (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep)
void giveStressDependentPartOfStrainVector (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrainVector, TimeStep *tStep, ValueModeType mode) const
int setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type) override
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
virtual FloatMatrixF< 4, 4 > givePlaneStressStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void givePlaneStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 4, 4 > givePlaneStrainStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 5, 5 > givePlaneStrainStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void givePlaneStrainStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 1, 1 > give1dStressStiffnessMatrix_dPdF (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual void give1dStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep)
virtual FloatMatrixF< 2, 2 > give2dBeamLayerStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 5, 5 > givePlateLayerStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > giveFiberStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 3, 3 > give2dPlateSubSoilStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
virtual FloatMatrixF< 6, 6 > give3dBeamSubSoilStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const
Public Member Functions inherited from oofem::Material
 Material (int n, Domain *d)
virtual ~Material ()=default
 Destructor.
virtual double giveCharacteristicValue (MatResponseMode type, GaussPoint *gp, TimeStep *tStep) const
 Returns characteristic value of the receiver.
virtual double give (int aProperty, GaussPoint *gp) const
virtual bool hasProperty (int aProperty, GaussPoint *gp) const
virtual void modifyProperty (int aProperty, double value, GaussPoint *gp)
double giveCastingTime () const
virtual bool isActivated (TimeStep *tStep) const
virtual bool hasCastingTimeSupport () const
void printYourself () override
 Prints receiver state on stdout. Useful for debugging.
virtual void saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
virtual void restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp)
int checkConsistency () override
virtual void restoreConsistency (GaussPoint *gp)
virtual int initMaterial (Element *element)
virtual MaterialStatusgiveStatus (GaussPoint *gp) const
virtual int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip)
virtual int estimatePackSize (DataStream &buff, GaussPoint *ip)
virtual double predictRelativeComputationalCost (GaussPoint *gp)
virtual double predictRelativeRedistributionCost (GaussPoint *gp)
virtual void initTempStatus (GaussPoint *gp) const
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
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 updateLocalNumbering (EntityRenumberingFunctor &f)
virtual void initializeFrom (InputRecord &ir, int priority)
virtual void initializeFinish ()
virtual void postInitialize ()
 Performs post initialization steps. Called after all components are created and initialized.
virtual void printOutputAt (FILE *file, TimeStep *tStep)
virtual InterfacegiveInterface (InterfaceType t)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Member Functions

FloatMatrixF< 3, 3 > evaluatePlaneStressStiffMtrx (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep, double gprime) const
void computeEta (FloatArray &answer, RankineMatStatus *status)
 Computes derivatives of final kappa with respect to final strain.
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override

Protected Attributes

LinearElasticMateriallinearElasticMaterial = nullptr
 Reference to the basic elastic material.
double E = 0.
 Young's modulus.
double nu = 0.
 Poisson's ratio.
double H0 = 0.
 Initial hardening modulus.
int plasthardtype = 0
 Type of plastic hardening (0=linear, 1=exponential).
double delSigY = 0.
 Final increment of yield stress (at infinite cumulative plastic strain).
double sig0 = 0.
 Initial (uniaxial) yield stress.
double yieldtol = 0.
 Relative tolerance in yield condition.
double a = 0.
 Parameter that controls damage evolution (a=0 turns damage off).
double ep = 0.
 Total strain at peak stress sig0–Used only if plasthardtype=2.
double md = 0.
 Exponent in hardening law–Used only if plasthardtype=2.
int damlaw = 1
 type of damage law (0=exponential, 1=exponential and damage starts after peak stress sig0)
double param1 = 0.
 coefficient required when damlaw=1 or 2
double param2 = 0.
 coefficient required when damlaw=1 or 2
double param3 = 0.
 coefficient required when damlaw=2
double param4 = 0.
 coefficient required when damlaw=2
double param5 = 0.
 coefficient required when damlaw=2
Protected Attributes inherited from oofem::StructuralMaterial
double referenceTemperature = 0.
 Reference temperature (temperature, when material has been built into structure).
MatResponseMode SCStiffMode = TangentStiffness
 stifness mode used in stress control
double SCRelTol = 1.e-3
 relative tolerance for stress control
double SCAbsTol = 1.e-12
 absolute stress tolerance for stress control
int SCMaxiter = 100000
 maximum iterations for stress-control
Protected Attributes inherited from oofem::Material
Dictionary propertyDictionary
double castingTime
int preCastingTimeMat
 Material existing before casting time - optional parameter, zero by default.
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Additional Inherited Members

Static Public Member Functions inherited from oofem::StructuralMaterial
static int giveSymVI (int ind1, int ind2)
static int giveVI (int ind1, int ind2)
static FloatMatrixF< 9, 9 > convert_dSdE_2_dPdF_3D (const FloatMatrixF< 6, 6 > &dSdE, const FloatArrayF< 6 > &S, const FloatArrayF< 9 > &F)
static FloatMatrixF< 5, 5 > convert_dSdE_2_dPdF_PlaneStrain (const FloatMatrixF< 4, 4 > &dSdE, const FloatArrayF< 4 > &S, const FloatArrayF< 5 > &F)
static FloatMatrixF< 4, 4 > convert_dSdE_2_dPdF_PlaneStress (const FloatMatrixF< 3, 3 > &dSdE, const FloatArrayF< 3 > &S, const FloatArrayF< 4 > &F)
static FloatMatrixF< 1, 1 > convert_dSdE_2_dPdF_1D (const FloatMatrixF< 1, 1 > &dSdE, const FloatArrayF< 1 > &S, const FloatArrayF< 1 > &F)
static void computePrincipalValues (FloatArray &answer, const FloatArray &s, stressStrainPrincMode mode)
 Common functions for convenience.
static FloatArrayF< 3 > computePrincipalValues (const FloatMatrixF< 3, 3 > &s)
static FloatArrayF< 3 > computePrincipalValues (double I1, double I2, double I3)
static void computePrincipalValDir (FloatArray &answer, FloatMatrix &dir, const FloatArray &s, stressStrainPrincMode mode)
static std::pair< FloatArrayF< 3 >, FloatMatrixF< 3, 3 > > computePrincipalValDir (const FloatMatrixF< 3, 3 > &s)
static FloatArrayF< 6 > computeDeviator (const FloatArrayF< 6 > &s)
static std::pair< FloatArrayF< 6 >, double > computeDeviatoricVolumetricSplit (const FloatArrayF< 6 > &s)
static FloatArrayF< 6 > computeDeviatoricVolumetricSum (const FloatArrayF< 6 > &dev, double mean)
static FloatArrayF< 6 > applyDeviatoricElasticCompliance (const FloatArrayF< 6 > &stress, double EModulus, double nu)
static FloatArrayF< 6 > applyDeviatoricElasticCompliance (const FloatArrayF< 6 > &stress, double GModulus)
static FloatArrayF< 6 > applyDeviatoricElasticStiffness (const FloatArrayF< 6 > &strain, double EModulus, double nu)
static FloatArrayF< 6 > applyDeviatoricElasticStiffness (const FloatArrayF< 6 > &strain, double GModulus)
static FloatArrayF< 6 > applyElasticStiffness (const FloatArrayF< 6 > &strain, double EModulus, double nu)
static FloatArrayF< 6 > applyElasticCompliance (const FloatArrayF< 6 > &stress, double EModulus, double nu)
static double computeStressNorm (const FloatArrayF< 6 > &stress)
static double computeFirstInvariant (const FloatArrayF< 6 > &s)
static double computeSecondStressInvariant (const FloatArrayF< 6 > &s)
static double computeThirdStressInvariant (const FloatArrayF< 6 > &s)
static double computeFirstCoordinate (const FloatArrayF< 6 > &s)
static double computeSecondCoordinate (const FloatArrayF< 6 > &s)
static double computeThirdCoordinate (const FloatArrayF< 6 > &s)
static int giveVoigtVectorMask (IntArray &answer, MaterialMode mmode)
static int giveVoigtSymVectorMask (IntArray &answer, MaterialMode mmode)
static void giveInvertedVoigtVectorMask (IntArray &answer, MaterialMode mmode)
static int giveSizeOfVoigtVector (MaterialMode mmode)
static int giveSizeOfVoigtSymVector (MaterialMode mmode)
static void giveFullVectorForm (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced symmetric Voigt vector (2nd order tensor) to full form.
static void giveFullVectorFormF (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode)
 Converts the reduced deformation gradient Voigt vector (2nd order tensor).
static void giveFullSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the reduced unsymmetric Voigt vector (2nd order tensor) to full form.
static void giveReducedVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full symmetric Voigt vector (2nd order tensor) to reduced form.
static void giveReducedSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode)
 Converts the full unsymmetric Voigt vector (2nd order tensor) to reduced form.
static void giveFullSymMatrixForm (FloatMatrix &answer, const FloatMatrix &red, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form.
static void giveReducedMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full symmetric Voigt matrix (4th order tensor) to reduced form.
static void giveReducedSymMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode)
 Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form.
static FloatArrayF< 6 > transformStrainVectorTo (const FloatMatrixF< 3, 3 > &base, const FloatArrayF< 6 > &strain, bool transpose=false)
static FloatArrayF< 6 > transformStressVectorTo (const FloatMatrixF< 3, 3 > &base, const FloatArrayF< 6 > &stress, bool transpose=false)
static double computeVonMisesStress (const FloatArray &currentStress)
static double computeVonMisesStress_3D (const FloatArrayF< 6 > &stress)
static double computeVonMisesStress_PlaneStress (const FloatArrayF< 3 > &stress)
static FloatMatrixF< 6, 6 > giveStrainVectorTranformationMtrx (const FloatMatrixF< 3, 3 > &base, bool transpose=false)
static FloatMatrixF< 3, 3 > give2DStrainVectorTranformationMtrx (const FloatMatrixF< 2, 2 > &base, bool transpose=false)
static FloatMatrixF< 6, 6 > giveStressVectorTranformationMtrx (const FloatMatrixF< 3, 3 > &base, bool transpose=false)
static FloatMatrixF< 3, 3 > givePlaneStressVectorTranformationMtrx (const FloatMatrixF< 2, 2 > &base, bool transpose=false)
static void sortPrincDirAndValCloseTo (FloatArray &pVal, FloatMatrix &pDir, const FloatMatrix &toPDir)
Static Public Attributes inherited from oofem::StructuralMaterial
static std::array< std::array< int, 3 >, 3 > vIindex
 Voigt index map.
static std::array< std::array< int, 3 >, 3 > svIndex
 Symmetric Voigt index map.

Detailed Description

This class implements an isotropic elastoplastic material with Rankine yield condition, associated flow rule and linear isotropic softening, and with isotropic damage that leads to softening.

It differs from other similar materials (such as RankinePlasticMaterial) by implementation - here we use an efficient algorithm for this specific model and implement the plane stress case and the vertex return. Also, hardening and softening is incorporated.

Definition at line 85 of file rankinemat.h.

Constructor & Destructor Documentation

◆ RankineMat()

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

Member Function Documentation

◆ computeCumPlastStrain()

double oofem::RankineMat::computeCumPlastStrain ( GaussPoint * gp,
TimeStep * tStep ) const
virtual

◆ computeDamage()

◆ computeDamageParam()

double oofem::RankineMat::computeDamageParam ( double tempKappa) const

Definition at line 416 of file rankinemat.C.

References a, damlaw, ep, H0, param1, param2, param3, param4, param5, and sig0.

Referenced by computeDamage(), and oofem::RankineMatNl::computeDamage().

◆ computeDamageParamPrime()

◆ computeEta()

◆ CreateStatus()

std::unique_ptr< MaterialStatus > oofem::RankineMat::CreateStatus ( GaussPoint * gp) const
overridevirtual

Creates new copy of associated status and inserts it into given integration point.

Parameters
gpIntegration point where newly created status will be stored.
Returns
Reference to new status.

Reimplemented from oofem::Material.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 146 of file rankinemat.C.

◆ evalPlasticModulus()

◆ evaluatePlaneStressStiffMtrx()

◆ evalYieldFunction()

double oofem::RankineMat::evalYieldFunction ( const FloatArray & sigPrinc,
const double kappa ) const

Definition at line 211 of file rankinemat.C.

References oofem::FloatArray::at(), and evalYieldStress().

Referenced by performPlasticityReturn().

◆ evalYieldStress()

double oofem::RankineMat::evalYieldStress ( const double kappa) const

Definition at line 218 of file rankinemat.C.

References delSigY, E, ep, H0, md, plasthardtype, and sig0.

Referenced by evalYieldFunction(), and performPlasticityReturn().

◆ give1dStressStiffMtrx()

FloatMatrixF< 1, 1 > oofem::RankineMat::give1dStressStiffMtrx ( MatResponseMode mmode,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Method for computing 1d stiffness matrix of receiver. Default implementation computes 3d stiffness matrix using give3dMaterialStiffnessMatrix and reduces it to 1d stiffness using reduce method described above. However, this reduction is quite time consuming and if it is possible, it is recommended to overload this method and provide direct method for computing particular stiffness matrix.

Parameters
mmodeMaterial response mode.
gpIntegration point, which load history is used.
tStepTime step (most models are able to respond only when tStep is current time step).
Returns
Stiffness matrix.

Reimplemented from oofem::StructuralMaterial.

Definition at line 486 of file rankinemat.C.

References E, oofem::Material::giveStatus(), oofem::RankineMatStatus::giveTempDamage(), and OOFEM_ERROR.

◆ giveClassName()

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

Implements oofem::FEMComponent.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 158 of file rankinemat.h.

◆ giveInputRecordName()

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

Implements oofem::FEMComponent.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 157 of file rankinemat.h.

References _IFT_RankineMat_Name.

◆ giveIPValue()

int oofem::RankineMat::giveIPValue ( FloatArray & answer,
GaussPoint * gp,
InternalStateType type,
TimeStep * tStep )
overrideprotectedvirtual

Returns the integration point corresponding value in Reduced form.

Parameters
answerContain corresponding ip value, zero sized if not available.
gpIntegration point to which the value refers.
typeDetermines the type of internal variable.
tStepDetermines the time step.
Returns
Nonzero if the assignment can be done, zero if this type of variable is not supported.
Todo
Fix this value!

Reimplemented from oofem::Material.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 624 of file rankinemat.C.

References oofem::FloatArray::at(), ep, oofem::RankineMatStatus::giveCumulativePlasticStrain(), oofem::RankineMatStatus::giveDamage(), oofem::RankineMatStatus::giveDissWork(), oofem::RankineMatStatus::givePlasDef(), oofem::Material::giveStatus(), oofem::RankineMatStatus::giveStressWork(), oofem::FloatArray::resize(), and oofem::FloatArray::zero().

◆ giveLinearElasticMaterial()

LinearElasticMaterial * oofem::RankineMat::giveLinearElasticMaterial ( )
inline

Returns a reference to the basic elastic material.

Definition at line 161 of file rankinemat.h.

References linearElasticMaterial.

◆ givePlaneStressStiffMtrx()

FloatMatrixF< 3, 3 > oofem::RankineMat::givePlaneStressStiffMtrx ( MatResponseMode mmode,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Method for computing plane stress stiffness matrix of receiver. Default implementation computes 3d stiffness matrix using give3dMaterialStiffnessMatrix and reduces it to plane stress stiffness using reduce method described above. However, this reduction is quite time consuming and if it is possible, it is recommended to overload this method and provide direct method for computing particular stiffness matrix.

Parameters
answerStiffness matrix.
mmodeMaterial response mode.
gpIntegration point, which load history is used.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::StructuralMaterial.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 475 of file rankinemat.C.

References computeDamageParamPrime(), evaluatePlaneStressStiffMtrx(), oofem::Material::giveStatus(), and oofem::RankineMatStatus::giveTempCumulativePlasticStrain().

◆ giveRealStressVector_1d()

FloatArrayF< 1 > oofem::RankineMat::giveRealStressVector_1d ( const FloatArrayF< 1 > & reducedE,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Reimplemented in oofem::RankineMatNl.

Definition at line 154 of file rankinemat.C.

References oofem::FloatArray::beScaled(), computeDamage(), E, oofem::Material::giveStatus(), oofem::Material::initTempStatus(), performPlasticityReturn(), and sig0.

◆ giveRealStressVector_PlaneStress()

FloatArrayF< 3 > oofem::RankineMat::giveRealStressVector_PlaneStress ( const FloatArrayF< 3 > & reducedE,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Default implementation relies on giveRealStressVector_StressControl.

Reimplemented from oofem::StructuralMaterial.

Reimplemented in oofem::RankineMatNl.

Definition at line 182 of file rankinemat.C.

References oofem::FloatArray::beScaled(), computeDamage(), E, oofem::Material::giveStatus(), oofem::Material::initTempStatus(), performPlasticityReturn(), and sig0.

◆ hasMaterialModeCapability()

bool oofem::RankineMat::hasMaterialModeCapability ( MaterialMode mode) const
overridevirtual

Tests if material supports material mode.

Parameters
modeRequired material mode.
Returns
Nonzero if supported, zero otherwise.

Reimplemented from oofem::Material.

Reimplemented in oofem::RankineMatGrad.

Definition at line 60 of file rankinemat.C.

◆ initializeFrom()

void oofem::RankineMat::initializeFrom ( InputRecord & ir)
overridevirtual

Initializes receiver according to object description stored in input record. This function is called immediately after creating object using constructor. Input record can be imagined as data record in component database belonging to receiver. Receiver may use value-name extracting functions to extract particular field from record. Note that initializeFrom may be called mutiple times.

See also
IR_GIVE_FIELD
IR_GIVE_OPTIONAL_FIELD
Parameters
irInput record to initialize from.
priorityPriority of the input record. This is used to determine the order of initialization

Reimplemented from oofem::Material.

Reimplemented in oofem::RankineMatGrad, and oofem::RankineMatNl.

Definition at line 68 of file rankinemat.C.

References _IFT_RankineMat_a, _IFT_RankineMat_damlaw, _IFT_RankineMat_delsigy, _IFT_RankineMat_ep, _IFT_RankineMat_gf, _IFT_RankineMat_h, _IFT_RankineMat_param1, _IFT_RankineMat_param2, _IFT_RankineMat_param3, _IFT_RankineMat_param4, _IFT_RankineMat_param5, _IFT_RankineMat_plasthardtype, _IFT_RankineMat_sig0, _IFT_RankineMat_yieldtol, a, damlaw, delSigY, E, ep, H0, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, linearElasticMaterial, md, nu, OOFEM_ERROR, param1, param2, param3, param4, param5, plasthardtype, sig0, and yieldtol.

◆ isCharacteristicMtrxSymmetric()

bool oofem::RankineMat::isCharacteristicMtrxSymmetric ( MatResponseMode rMode) const
inlineoverridevirtual

Returns true if stiffness matrix of receiver is symmetric Default implementation returns true.

Reimplemented from oofem::Material.

Definition at line 163 of file rankinemat.h.

References a.

◆ performPlasticityReturn()

Member Data Documentation

◆ a

double oofem::RankineMat::a = 0.
protected

Parameter that controls damage evolution (a=0 turns damage off).

Definition at line 113 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), initializeFrom(), and isCharacteristicMtrxSymmetric().

◆ damlaw

int oofem::RankineMat::damlaw = 1
protected

type of damage law (0=exponential, 1=exponential and damage starts after peak stress sig0)

Definition at line 122 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ delSigY

double oofem::RankineMat::delSigY = 0.
protected

Final increment of yield stress (at infinite cumulative plastic strain).

Definition at line 104 of file rankinemat.h.

Referenced by evalPlasticModulus(), evalYieldStress(), and initializeFrom().

◆ E

◆ ep

double oofem::RankineMat::ep = 0.
protected

Total strain at peak stress sig0–Used only if plasthardtype=2.

Definition at line 116 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), evalPlasticModulus(), evalYieldStress(), giveIPValue(), and initializeFrom().

◆ H0

double oofem::RankineMat::H0 = 0.
protected

Initial hardening modulus.

Definition at line 98 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), evalPlasticModulus(), evalYieldStress(), and initializeFrom().

◆ linearElasticMaterial

LinearElasticMaterial* oofem::RankineMat::linearElasticMaterial = nullptr
protected

◆ md

double oofem::RankineMat::md = 0.
protected

Exponent in hardening law–Used only if plasthardtype=2.

Definition at line 119 of file rankinemat.h.

Referenced by evalPlasticModulus(), evalYieldStress(), and initializeFrom().

◆ nu

◆ param1

double oofem::RankineMat::param1 = 0.
protected

coefficient required when damlaw=1 or 2

Definition at line 125 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ param2

double oofem::RankineMat::param2 = 0.
protected

coefficient required when damlaw=1 or 2

Definition at line 128 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ param3

double oofem::RankineMat::param3 = 0.
protected

coefficient required when damlaw=2

Definition at line 131 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ param4

double oofem::RankineMat::param4 = 0.
protected

coefficient required when damlaw=2

Definition at line 134 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ param5

double oofem::RankineMat::param5 = 0.
protected

coefficient required when damlaw=2

Definition at line 137 of file rankinemat.h.

Referenced by computeDamageParam(), computeDamageParamPrime(), and initializeFrom().

◆ plasthardtype

int oofem::RankineMat::plasthardtype = 0
protected

Type of plastic hardening (0=linear, 1=exponential).

Definition at line 101 of file rankinemat.h.

Referenced by evalPlasticModulus(), evalYieldStress(), and initializeFrom().

◆ sig0

◆ yieldtol

double oofem::RankineMat::yieldtol = 0.
protected

Relative tolerance in yield condition.

Definition at line 110 of file rankinemat.h.

Referenced by initializeFrom(), and performPlasticityReturn().


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