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

#include <structuralfe2material.h>

Inheritance diagram for oofem::StructuralFE2MaterialStatus:
Collaboration diagram for oofem::StructuralFE2MaterialStatus:

Public Member Functions

 StructuralFE2MaterialStatus (int rank, GaussPoint *g, const std ::string &inputfile)
EngngModelgiveRVE () const
PrescribedGradientHomogenizationgiveBC ()
void markOldTangent ()
void computeTangent (TimeStep *tStep)
bool createRVE (int n, const std ::string &inputfile, int rank)
 Creates/Initiates the RVE problem.
void setTimeStep (TimeStep *tStep)
 Copies time step data to RVE.
FloatMatrixgiveTangent ()
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
const FloatArraygiveNormal () const
void letNormalBe (FloatArray iN)
double giveRveLength ()
void copyStateVariables (const MaterialStatus &iStatus) override
 Functions for MaterialStatusMapperInterface.
void addStateVariables (const MaterialStatus &iStatus) override
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)
virtual InterfacegiveInterface (InterfaceType t)
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 Attributes

bool mNewlyInitialized = true

Protected Attributes

std ::unique_ptr< EngngModelrve
 The RVE.
PrescribedGradientHomogenizationbc = nullptr
 Boundary condition in RVE that performs the computational homogenization.
FloatMatrix tangent
bool oldTangent = true
FloatArray mNormalDir
 Interface normal direction.
std::string mInputFile
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

Detailed Description

Definition at line 54 of file structuralfe2material.h.

Constructor & Destructor Documentation

◆ StructuralFE2MaterialStatus()

Member Function Documentation

◆ addStateVariables()

void oofem::StructuralFE2MaterialStatus::addStateVariables ( const MaterialStatus & iStatus)
inlineoverridevirtual

Implements oofem::MaterialStatusMapperInterface.

Definition at line 103 of file structuralfe2material.h.

References OOFEM_ERROR.

◆ computeTangent()

void oofem::StructuralFE2MaterialStatus::computeTangent ( TimeStep * tStep)

◆ copyStateVariables()

◆ createRVE()

bool oofem::StructuralFE2MaterialStatus::createRVE ( int n,
const std ::string & inputfile,
int rank )

◆ giveBC()

◆ giveClassName()

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

Implements oofem::IntegrationPointStatus.

Definition at line 87 of file structuralfe2material.h.

◆ giveNormal()

◆ giveRVE()

EngngModel * oofem::StructuralFE2MaterialStatus::giveRVE ( ) const
inline

Definition at line 73 of file structuralfe2material.h.

Referenced by copyStateVariables().

◆ giveRveLength()

double oofem::StructuralFE2MaterialStatus::giveRveLength ( )

Definition at line 447 of file structuralfe2material.C.

References bc.

◆ giveTangent()

FloatMatrix & oofem::StructuralFE2MaterialStatus::giveTangent ( )
inline

Definition at line 85 of file structuralfe2material.h.

References tangent.

Referenced by computeTangent().

◆ initTempStatus()

void oofem::StructuralFE2MaterialStatus::initTempStatus ( )
overridevirtual

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

Reimplemented from oofem::MaterialStatus.

Definition at line 399 of file structuralfe2material.C.

◆ letNormalBe()

void oofem::StructuralFE2MaterialStatus::letNormalBe ( FloatArray iN)
inline

◆ markOldTangent()

void oofem::StructuralFE2MaterialStatus::markOldTangent ( )

Definition at line 405 of file structuralfe2material.C.

References oldTangent.

◆ restoreContext()

void oofem::StructuralFE2MaterialStatus::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::IntegrationPointStatus.

Definition at line 441 of file structuralfe2material.C.

References rve.

◆ saveContext()

void oofem::StructuralFE2MaterialStatus::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::IntegrationPointStatus.

Definition at line 433 of file structuralfe2material.C.

References rve.

◆ setTimeStep()

◆ updateYourself()

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

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

Reimplemented from oofem::MaterialStatus.

Definition at line 422 of file structuralfe2material.C.

References mNewlyInitialized, and rve.

Member Data Documentation

◆ bc

PrescribedGradientHomogenization* oofem::StructuralFE2MaterialStatus::bc = nullptr
protected

Boundary condition in RVE that performs the computational homogenization.

Definition at line 60 of file structuralfe2material.h.

Referenced by computeTangent(), copyStateVariables(), createRVE(), giveBC(), and giveRveLength().

◆ mInputFile

std::string oofem::StructuralFE2MaterialStatus::mInputFile
protected

Definition at line 68 of file structuralfe2material.h.

Referenced by StructuralFE2MaterialStatus().

◆ mNewlyInitialized

bool oofem::StructuralFE2MaterialStatus::mNewlyInitialized = true

Definition at line 106 of file structuralfe2material.h.

Referenced by copyStateVariables(), and updateYourself().

◆ mNormalDir

FloatArray oofem::StructuralFE2MaterialStatus::mNormalDir
protected

Interface normal direction.

Definition at line 66 of file structuralfe2material.h.

Referenced by giveNormal(), and letNormalBe().

◆ oldTangent

bool oofem::StructuralFE2MaterialStatus::oldTangent = true
protected

Definition at line 63 of file structuralfe2material.h.

Referenced by computeTangent(), copyStateVariables(), and markOldTangent().

◆ rve

std :: unique_ptr< EngngModel > oofem::StructuralFE2MaterialStatus::rve
protected

◆ tangent

FloatMatrix oofem::StructuralFE2MaterialStatus::tangent
protected

Definition at line 62 of file structuralfe2material.h.

Referenced by giveTangent().


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