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

#include <frcfcmnl.h>

Inheritance diagram for oofem::FRCFCMNLStatus:
Collaboration diagram for oofem::FRCFCMNLStatus:

Public Member Functions

 FRCFCMNLStatus (GaussPoint *g)
double giveFiberStressLoc (int icrack) const
 LOCAL FIBER STRESSES (from crack opening).
double giveTempFiberStressLoc (int icrack) const
void setTempFiberStressLoc (int icrack, double newFiberStressLoc)
double giveFiberStressNL (int icrack) const
 NON-LOCAL FIBER STRESSES (from surrounding cracks).
double giveTempFiberStressNL (int icrack) const
void setTempFiberStressNL (int icrack, double newFiberStressNL)
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
const char * giveClassName () const override
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
InterfacegiveInterface (InterfaceType) override
Public Member Functions inherited from oofem::FRCFCMStatus
 FRCFCMStatus (GaussPoint *g)
double giveDamage () const
 Returns the last equilibrated damage level.
double giveTempDamage () const
 Returns the temporary damage level.
void setTempDamage (double newDamage)
 Sets the temp damage level to given value.
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
const char * giveClassName () const override
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
Public Member Functions inherited from oofem::ConcreteFCMStatus
 ConcreteFCMStatus (GaussPoint *g)
Public Member Functions inherited from oofem::FCMMaterialStatus
 FCMMaterialStatus (GaussPoint *g)
virtual int giveNumberOfCracks () const
 returns number of cracks from the previous time step (equilibrated value)
virtual int giveNumberOfTempCracks () const
 returns temporary number of cracks
const FloatArraygiveMaxCrackStrainVector ()
 returns vector with maximum cracking strains (max 3 components)
double giveMaxCrackStrain (int icrack)
 returns maximum crack strain for the i-th crack (equilibrated value)
void setMaxCrackStrain (int icrack, double val)
 sets value of the maximum crack strain for the i-th crack (equilibrated value)
double giveTempMaxCrackStrain (int icrack)
 returns maximum crack strain for the i-th crack (temporary value)
void setTempMaxCrackStrain (int icrack, double val)
 sets value of the maximum crack strain for the i-th crack (temporary value)
const IntArraygiveTempCrackStatus ()
 returns vector of temporary crack statuses
int giveTempCrackStatus (int icrack) const
 returns temporary value of status associated with i-th crack direction
void setTempCrackStatus (int icrack, int val)
 sets temporary value of status for of the i-th crack
int giveCrackStatus (int icrack) const
 return equilibrated value of status associated with i-th crack direction
const FloatArraygiveCrackStrainVector () const
 return equilibrated crack strain vector (max 6 components)
const FloatArraygiveTempCrackStrainVector ()
 return temporary crack strain vector (max 6 components)
double giveCrackStrain (int icrack) const
 returns i-th component of the crack strain vector (equilibrated)
double giveTempCrackStrain (int icrack) const
 returns i-th component of the crack strain vector (temporary)
void setTempCrackStrainVector (FloatArray a)
 sets temporary vector of cracking strains (max 6 components)
void setTempNormalCrackStrainVector (FloatArray a)
 sets temporary vector of cracking strains (normal components)
void setTempCrackStrain (int icrack, double val)
 sets temporary value of i-th cracking strain (max 6 components)
void setCrackStrainVector (FloatArray a)
 sets equilibrated vector of cracking strains (max 6 components)
void setG2LStressVectorTransformationMtrx (FloatMatrix t)
 sets transformation matrix for stress transformation from global to local coordinate system
void setG2LStrainVectorTransformationMtrx (FloatMatrix s)
 sets transformation matrix for strain transformation from global to local coordinate system
void setL2GStressVectorTransformationMtrx (FloatMatrix t)
 sets transformation matrix for stress transformation from local to global coordinate system
void setL2GStrainVectorTransformationMtrx (FloatMatrix s)
 sets transformation matrix for stress transformation from global to local coordinate system
const FloatMatrixgiveG2LStressVectorTransformationMtrx ()
 returns transformation matrix for stress transformation from global to local coordinate system
const FloatMatrixgiveG2LStrainVectorTransformationMtrx ()
 sets transformation matrix for strain transformation from global to local coordinate system
const FloatMatrixgiveL2GStressVectorTransformationMtrx ()
 sets transformation matrix for stress transformation from local to global coordinate system
const FloatMatrixgiveL2GStrainVectorTransformationMtrx ()
 sets transformation matrix for stress transformation from global to local coordinate system
double giveCharLength (int icrack) const
 returns characteristic length associated with i-th crack direction
void setCharLength (int icrack, double val)
 sets characteristic length for i-th crack
const FloatMatrixgiveCrackDirs ()
 returns crack directions
const IntArraygiveCrackStatus ()
 returns crack statuses
void setCrackDirs (FloatMatrix a)
 sets matrix with crack directions (normal vectors)
virtual int giveMaxNumberOfCracks (GaussPoint *gp)
 returns maximum number of cracks associated with current mode
Public Member Functions inherited from oofem::StructuralMaterialStatus
 StructuralMaterialStatus (GaussPoint *g)
 Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
void printOutputAt (FILE *file, TimeStep *tStep) const override
 Print receiver's output to given stream.
void initTempStatus () override
void updateYourself (TimeStep *tStep) override
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
const FloatArraygiveStrainVector () const
 Returns the const pointer to receiver's strain vector.
const FloatArraygiveStressVector () const
 Returns the const pointer to receiver's stress vector.
const FloatArraygivePVector () const
 Returns the const pointer to receiver's first Piola-Kirchhoff stress vector.
const FloatArraygiveCVector () const
 Returns the const pointer to receiver's Cauchy stress vector.
const FloatArraygiveFVector () const
 Returns the const pointer to receiver's deformation gradient vector.
const FloatArraygiveTempStrainVector () const
 Returns the const pointer to receiver's temporary strain vector.
const FloatArraygiveTempStressVector () const
 Returns the const pointer to receiver's temporary stress vector.
const FloatArraygiveTempPVector () const
 Returns the const pointer to receiver's temporary first Piola-Kirchhoff stress vector.
const FloatArraygiveTempCVector () const
 Returns the const pointer to receiver's temporary Cauchy stress vector.
const FloatArraygiveTempFVector () const
 Returns the const pointer to receiver's temporary deformation gradient vector.
void letStrainVectorBe (const FloatArray &v)
 Assigns strain vector to given vector v.
void letStressVectorBe (const FloatArray &v)
 Assigns stressVector to given vector v.
void letPVectorBe (const FloatArray &v)
 Assigns PVector to given vector v.
void letCVectorBe (const FloatArray &v)
 Assigns CVector to given vector v.
void letFVectorBe (const FloatArray &v)
 Assigns FVector to given vector v.
void letTempStressVectorBe (const FloatArray &v)
 Assigns tempStressVector to given vector v.
void letTempStrainVectorBe (const FloatArray &v)
 Assigns tempStrainVector to given vector v.
void letTempPVectorBe (const FloatArray &v)
 Assigns tempPVector to given vector v.
void letTempCVectorBe (const FloatArray &v)
 Assigns tempPVector to given vector v.
void letTempFVectorBe (const FloatArray &v)
 Assigns tempFVector to given vector v.
const char * giveClassName () const override
void copyStateVariables (const MaterialStatus &iStatus) override
 Functions for MaterialStatusMapperInterface.
void addStateVariables (const MaterialStatus &iStatus) override
Public Member Functions inherited from oofem::MaterialStatus
 MaterialStatus (GaussPoint *g)
virtual bool giveMaterialProperty (int propID, double &value)
virtual void setMaterialProperty (int propID, double value)
Public Member Functions inherited from oofem::IntegrationPointStatus
 IntegrationPointStatus (GaussPoint *g)
virtual ~IntegrationPointStatus ()=default
 Destructor.
virtual void setStatusVariable (int varID, double value)
Public Member Functions inherited from oofem::MaterialStatusMapperInterface
 MaterialStatusMapperInterface ()
virtual ~MaterialStatusMapperInterface ()
virtual int MSMI_map (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
virtual int MSMI_map_cz (const GaussPoint &iGP, const Domain &iOldDom, Set &sourceSet, const TimeStep &iTStep, MaterialStatus &oStatus)
virtual int MSMI_update (const GaussPoint &iGP, const TimeStep &iTStep)
virtual int MSMI_finish (const TimeStep &iTStep)
Public Member Functions inherited from oofem::RandomMaterialStatusExtensionInterface
 RandomMaterialStatusExtensionInterface ()
virtual ~RandomMaterialStatusExtensionInterface ()
 Destructor.
bool _giveProperty (int key, double &value)
void _setProperty (int key, double value)
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()
Public Member Functions inherited from oofem::StructuralNonlocalMaterialStatusExtensionInterface
 StructuralNonlocalMaterialStatusExtensionInterface ()
 ~StructuralNonlocalMaterialStatusExtensionInterface ()
Public Member Functions inherited from oofem::NonlocalMaterialStatusExtensionInterface
 NonlocalMaterialStatusExtensionInterface ()
virtual ~NonlocalMaterialStatusExtensionInterface ()
 Destructor.
std ::vector< localIntegrationRecord > * giveIntegrationDomainList ()
double giveIntegrationScale ()
 Returns associated integration scale.
void setIntegrationScale (double val)
 Sets associated integration scale.
double giveVolumeAround ()
 Returns associated volume.
void setVolumeAround (double val)
 Sets associated integration scale.
void clear ()
 clears the integration list of receiver

Protected Attributes

FloatArray fiberStressLoc
 bulk stress in fibers - evaluated from crack opening
FloatArray tempFiberStressLoc
 Non-equilibrated stress (bulk) in fibers.
FloatArray fiberStressNL
 bulk stress in fibers - evaluated from crack opening
FloatArray tempFiberStressNL
 Non-equilibrated stress (bulk) in fibers.
Protected Attributes inherited from oofem::FRCFCMStatus
double damage = 0.
 Damage level of material.
double tempDamage = 0.
 Non-equilibrated damage level of material.
Protected Attributes inherited from oofem::FCMMaterialStatus
IntArray crackStatuses
 crack statuses (none, just initialized, softening, unload-reload, closed)
IntArray tempCrackStatuses
FloatArray maxCrackStrains
 Max. crack strain reached in the entire previous history.
FloatArray tempMaxCrackStrains
FloatArray crackStrainVector
 Components of crack strain vector (normal as well as shear).
FloatArray tempCrackStrainVector
FloatMatrix crackDirs
 Storing direction of cracks (crack normals) in columwise format.
FloatArray charLengths
 Characteristic lengths computed from the crack orientation and element geometry.
FloatMatrix transMatrix_G2Lstress
 transformation matrix converting stress from global to local coordinate system
FloatMatrix transMatrix_G2Lstrain
 transformation matrix converting strain from global to local coordinate system
FloatMatrix transMatrix_L2Gstress
 transformation matrix converting stress from local to global coordinate system
FloatMatrix transMatrix_L2Gstrain
 transformation matrix converting strain from local to global coordinate system
int nMaxCracks = 0
 number of maximum possible cracks (optional parameter)
Protected Attributes inherited from oofem::StructuralMaterialStatus
FloatArray strainVector
 Equilibrated strain vector in reduced form.
FloatArray stressVector
 Equilibrated stress vector in reduced form.
FloatArray tempStressVector
 Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis).
FloatArray tempStrainVector
 Temporary strain vector in reduced form (to find balanced state).
FloatArray PVector
 Equilibrated first Piola-Kirchhoff stress vector.
FloatArray tempPVector
 Temporary first Piola-Kirchhoff stress vector (to find balanced state).
FloatArray CVector
 Equilibrated Cauchy stress vector.
FloatArray tempCVector
 Temporary Cauchy stress vector (to find balanced state).
FloatArray FVector
 Equilibrated deformation gradient in reduced form.
FloatArray tempFVector
 Temporary deformation gradient in reduced form (to find balanced state).
Protected Attributes inherited from oofem::IntegrationPointStatus
GaussPointgp
 Associated integration point.
Protected Attributes inherited from oofem::MaterialStatusMapperInterface
std::unique_ptr< MaterialMappingAlgorithmmpMaterialMapper
Protected Attributes inherited from oofem::RandomMaterialStatusExtensionInterface
Dictionary randProperties
 Dictionary containing material model values.
Protected Attributes inherited from oofem::NonlocalMaterialStatusExtensionInterface
std ::vector< localIntegrationRecordintegrationDomainList
 List containing localIntegrationRecord values.
double integrationScale
 Nonlocal volume around the corresponding integration point.
double volumeAround
 Local volume around the corresponding integration point.

Detailed Description

This class implements a FRCFCMNL material in a finite element problem.

It extends frcfcm model to behave as nonlocal in terms of crack spacing

Definition at line 57 of file frcfcmnl.h.

Constructor & Destructor Documentation

◆ FRCFCMNLStatus()

Member Function Documentation

◆ giveClassName()

const char * oofem::FRCFCMNLStatus::giveClassName ( ) const
inlineoverridevirtual

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 86 of file frcfcmnl.h.

◆ giveFiberStressLoc()

double oofem::FRCFCMNLStatus::giveFiberStressLoc ( int icrack) const
inline

LOCAL FIBER STRESSES (from crack opening).

Definition at line 75 of file frcfcmnl.h.

References fiberStressLoc.

Referenced by oofem::FRCFCMNL::giveIPValue().

◆ giveFiberStressNL()

double oofem::FRCFCMNLStatus::giveFiberStressNL ( int icrack) const
inline

NON-LOCAL FIBER STRESSES (from surrounding cracks).

Definition at line 80 of file frcfcmnl.h.

References fiberStressNL.

Referenced by oofem::FRCFCMNL::giveIPValue(), oofem::FRCFCMNL::giveRealStressVector(), and oofem::FRCFCMNL::isStrengthExceeded().

◆ giveInterface()

◆ giveTempFiberStressLoc()

double oofem::FRCFCMNLStatus::giveTempFiberStressLoc ( int icrack) const
inline

◆ giveTempFiberStressNL()

double oofem::FRCFCMNLStatus::giveTempFiberStressNL ( int icrack) const
inline

Definition at line 81 of file frcfcmnl.h.

References tempFiberStressNL.

◆ initTempStatus()

void oofem::FRCFCMNLStatus::initTempStatus ( )
overridevirtual

Initializes the temporary internal variables, describing the current state according to previously reached equilibrium internal variables.

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 812 of file frcfcmnl.C.

References fiberStressLoc, fiberStressNL, tempFiberStressLoc, and tempFiberStressNL.

◆ printOutputAt()

void oofem::FRCFCMNLStatus::printOutputAt ( FILE * file,
TimeStep * tStep ) const
overridevirtual

Print receiver's output to given stream.

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 793 of file frcfcmnl.C.

References fiberStressLoc.

◆ restoreContext()

void oofem::FRCFCMNLStatus::restoreContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Restores the receiver state previously written in stream.

See also
saveContext
Parameters
streamInput stream.
modeDetermines amount of info available in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 858 of file frcfcmnl.C.

References oofem::CIO_OK, fiberStressLoc, fiberStressNL, and THROW_CIOERR.

◆ saveContext()

void oofem::FRCFCMNLStatus::saveContext ( DataStream & stream,
ContextMode mode )
overridevirtual

Stores receiver state to output stream.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
Exceptions
throwsan ContextIOERR exception if error encountered.

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 843 of file frcfcmnl.C.

References oofem::CIO_OK, fiberStressLoc, fiberStressNL, and THROW_CIOERR.

◆ setTempFiberStressLoc()

void oofem::FRCFCMNLStatus::setTempFiberStressLoc ( int icrack,
double newFiberStressLoc )
inline

Definition at line 77 of file frcfcmnl.h.

References tempFiberStressLoc.

Referenced by oofem::FRCFCMNL::giveRealStressVector().

◆ setTempFiberStressNL()

void oofem::FRCFCMNLStatus::setTempFiberStressNL ( int icrack,
double newFiberStressNL )
inline

◆ updateYourself()

void oofem::FRCFCMNLStatus::updateYourself ( TimeStep * )
overridevirtual

Update equilibrium history variables according to temp-variables. Invoked, after new equilibrium state has been reached.

Reimplemented from oofem::ConcreteFCMStatus.

Definition at line 827 of file frcfcmnl.C.

References fiberStressLoc, fiberStressNL, tempFiberStressLoc, and tempFiberStressNL.

Member Data Documentation

◆ fiberStressLoc

FloatArray oofem::FRCFCMNLStatus::fiberStressLoc
protected

bulk stress in fibers - evaluated from crack opening

Definition at line 61 of file frcfcmnl.h.

Referenced by FRCFCMNLStatus(), giveFiberStressLoc(), initTempStatus(), printOutputAt(), restoreContext(), saveContext(), and updateYourself().

◆ fiberStressNL

FloatArray oofem::FRCFCMNLStatus::fiberStressNL
protected

bulk stress in fibers - evaluated from crack opening

Definition at line 66 of file frcfcmnl.h.

Referenced by FRCFCMNLStatus(), giveFiberStressNL(), initTempStatus(), restoreContext(), saveContext(), and updateYourself().

◆ tempFiberStressLoc

FloatArray oofem::FRCFCMNLStatus::tempFiberStressLoc
protected

Non-equilibrated stress (bulk) in fibers.

Definition at line 63 of file frcfcmnl.h.

Referenced by FRCFCMNLStatus(), giveTempFiberStressLoc(), initTempStatus(), setTempFiberStressLoc(), and updateYourself().

◆ tempFiberStressNL

FloatArray oofem::FRCFCMNLStatus::tempFiberStressNL
protected

Non-equilibrated stress (bulk) in fibers.

Definition at line 68 of file frcfcmnl.h.

Referenced by FRCFCMNLStatus(), giveTempFiberStressNL(), initTempStatus(), setTempFiberStressNL(), and updateYourself().


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