|
OOFEM 3.0
|
#include <micromaterial.h>
Public Member Functions | |
| MicroMaterial (int n, Domain *d) | |
| Constructor. | |
| void | initializeFrom (InputRecord &ir) override |
| const char * | giveInputRecordName () const override |
| const char * | giveClassName () const override |
| FloatArrayF< 6 > | giveRealStressVector_3d (const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const override |
| Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress. | |
| std::unique_ptr< MaterialStatus > | CreateStatus (GaussPoint *gp) const override |
| void | giveMacroStiffnessMatrix (FloatMatrix &answer, TimeStep *tStep, MatResponseMode rMode, const IntArray µMasterNodes, const IntArray µBoundaryNodes) |
| void | setMacroProperties (Domain *macroDomain, MacroLSpace *macroLSpaceElement, const IntArray µMasterNodes, const IntArray µBoundaryNodes) |
| void | init (void) override |
| Related to numbering scheme. | |
| int | giveDofEquationNumber (Dof *dof) const override |
| bool | isDefault () const override |
| int | giveRequiredNumberOfDomainEquation () 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< 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< 3 > | giveRealStressVector_PlaneStress (const FloatArrayF< 3 > &reducedE, GaussPoint *gp, TimeStep *tStep) const |
| Default implementation relies on giveRealStressVector_StressControl. | |
| virtual FloatArrayF< 1 > | giveRealStressVector_1d (const FloatArrayF< 1 > &reducedE, GaussPoint *gp, TimeStep *tStep) const |
| Default implementation relies on giveRealStressVector_StressControl. | |
| 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< 3, 3 > | givePlaneStressStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const |
| 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 > | give1dStressStiffMtrx (MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) const |
| 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 bool | isCharacteristicMtrxSymmetric (MatResponseMode rMode) const |
| 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 MaterialStatus * | giveStatus (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. | |
| Domain * | giveDomain () 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 Interface * | giveInterface (InterfaceType t) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
| Public Member Functions inherited from oofem::UnknownNumberingScheme | |
| UnknownNumberingScheme (void) | |
| virtual | ~UnknownNumberingScheme () |
Public Attributes | |
| std::string | inputFileNameMicro |
| std::unique_ptr< EngngModel > | problemMicro |
| Pointer to the underlying micro problem. | |
| Domain * | macroDomain = nullptr |
| Pointer to the macroscale domain. | |
| MacroLSpace * | macroLSpaceElement = nullptr |
| Pointer to the macroscale element. | |
| std::vector< FloatArray > | microMasterCoords |
| Array containing coordinates of 8 master nodes of microproblem. | |
| std::vector< IntArray > | microBoundaryDofs |
| Array containing equation numbers for boundary nodes [DofManagerNumber][DOF]. | |
| IntArray | microBoundaryDofsArr |
| Array of equation numbers associated to boundary nodes. | |
| std::vector< IntArray > | microInternalDofs |
| Array containing equation numbers for internal nodes to be condensed out [DofManagerNumber][DOF]. | |
| IntArray | microInternalDofsArr |
| Array of equation numbers associated to internal nodes. | |
| std::vector< IntArray > | microDefaultDofs |
| Array containing default equation numbers for all nodes [DofManagerNumber][DOF]. | |
| bool | microMatIsUsed = false |
| Flag signalizing whether micromaterial is used by other element. | |
Protected Types | |
| enum | EquationNumbering { AllNodes , BoundaryNodes , InteriorNodes } |
Protected Attributes | |
| bool | isDefaultNumbering = true |
| int | maxNumberOfDomainEquation = 0 |
| The maximum DOFs corresponding to released all of the boundary conditions. | |
| int | reqNumberOfDomainEquation = 0 |
| Required number of domain equations. | |
| int | NumberOfDofManagers = 0 |
| Number of DOF Managers. | |
| EquationNumbering | DofEquationNumbering = AllNodes |
| int | totalBoundaryDofs = 0 |
| Number of equations associated with boundary nodes. | |
| int | totalInternalDofs = 0 |
| Number of equations associated with boundary nodes. | |
| 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. | |
| Domain * | domain |
| 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 ¤tStress) |
| 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. | |
This class is a base class for microproblem. The microproblem represents itself a problem which is solved separately from the macroproblem with appropriate boundary conditions. MacroLspace needs stiffness matrix derived from this microproblem. For this purpose, natural boundary conditions on microproblem have to be excluded. Stiffness matrix of microproblem is condensed to provide stiffness matrix for macroelement.
Definition at line 86 of file micromaterial.h.
|
protected |
| Enumerator | |
|---|---|
| AllNodes | |
| BoundaryNodes | |
| InteriorNodes | |
Definition at line 145 of file micromaterial.h.
| oofem::MicroMaterial::MicroMaterial | ( | int | n, |
| Domain * | d ) |
Constructor.
Definition at line 92 of file micromaterial.C.
References oofem::StructuralMaterial::StructuralMaterial(), and oofem::UnknownNumberingScheme::UnknownNumberingScheme().
|
overridevirtual |
Creates new copy of associated status and inserts it into given integration point.
| gp | Integration point where newly created status will be stored. |
Reimplemented from oofem::Material.
Definition at line 175 of file micromaterial.C.
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 97 of file micromaterial.h.
|
overridevirtual |
Returns the equation number for corresponding DOF. The numbering should return nonzero value if the equation is assigned to the given DOF, zero otherwise.
Implements oofem::UnknownNumberingScheme.
Definition at line 530 of file micromaterial.C.
References AllNodes, BoundaryNodes, DofEquationNumbering, oofem::Dof::giveDofID(), oofem::Dof::giveDofManNumber(), InteriorNodes, microBoundaryDofs, microDefaultDofs, microInternalDofs, and OOFEM_ERROR.
Referenced by giveMacroStiffnessMatrix().
|
inlineoverridevirtual |
Implements oofem::FEMComponent.
Definition at line 96 of file micromaterial.h.
References _IFT_MicroMaterial_Name.
| void oofem::MicroMaterial::giveMacroStiffnessMatrix | ( | FloatMatrix & | answer, |
| TimeStep * | tStep, | ||
| MatResponseMode | rMode, | ||
| const IntArray & | microMasterNodes, | ||
| const IntArray & | microBoundaryNodes ) |
Definition at line 182 of file micromaterial.C.
References AllNodes, oofem::EngngModel::assemble(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::IntArray::at(), oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::beTProductOf(), oofem::classFactory, DofEquationNumbering, oofem::DofManager::giveCoordinates(), giveDofEquationNumber(), oofem::Domain::giveDofManager(), oofem::DofManager::giveDofWithID(), oofem::Domain::giveEngngModel(), oofem::DofManager::giveGlobalNumber(), oofem::FloatMatrix::giveNumberOfColumns(), oofem::FloatMatrix::giveNumberOfRows(), giveRequiredNumberOfDomainEquation(), oofem::IntArray::giveSize(), InteriorNodes, isDefaultNumbering, macroLSpaceElement, maxNumberOfDomainEquation, microBoundaryDofsArr, microInternalDofsArr, microMasterCoords, OOFEM_ERROR, OOFEM_LOG_INFO, problemMicro, reqNumberOfDomainEquation, oofem::FloatMatrix::resize(), oofem::sum(), totalBoundaryDofs, totalInternalDofs, oofem::FloatArray::zero(), and oofem::FloatMatrix::zero().
|
overridevirtual |
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
Reimplemented from oofem::StructuralMaterial.
Definition at line 110 of file micromaterial.C.
References OOFEM_ERROR.
|
overridevirtual |
Returns required number of domain equation. Number is always less or equal to the sum of all DOFs gathered from all nodes.
Reimplemented from oofem::UnknownNumberingScheme.
Definition at line 552 of file micromaterial.C.
References reqNumberOfDomainEquation.
Referenced by giveMacroStiffnessMatrix().
|
overridevirtual |
Related to numbering scheme.
Reimplemented from oofem::UnknownNumberingScheme.
Definition at line 519 of file micromaterial.C.
References microMatIsUsed, OOFEM_ERROR, and problemMicro.
|
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.
| ir | Input record to initialize from. |
| priority | Priority of the input record. This is used to determine the order of initialization |
Reimplemented from oofem::Material.
Definition at line 96 of file micromaterial.C.
References _IFT_MicroMaterial_fileName, oofem::_processor, oofem::OOFEMTXTDataReader::finish(), inputFileNameMicro, oofem::InstanciateProblem(), IR_GIVE_FIELD, OOFEM_LOG_INFO, and problemMicro.
|
inlineoverridevirtual |
Returns true, if receiver is the default engngModel equation numbering scheme; This is useful for some components (typically elements), that cache their code numbers for default numbering to avoid repeated evaluation.
Reimplemented from oofem::UnknownNumberingScheme.
Definition at line 119 of file micromaterial.h.
References isDefaultNumbering.
| void oofem::MicroMaterial::setMacroProperties | ( | Domain * | macroDomain, |
| MacroLSpace * | macroLSpaceElement, | ||
| const IntArray & | microMasterNodes, | ||
| const IntArray & | microBoundaryNodes ) |
Definition at line 434 of file micromaterial.C.
References oofem::IntArray::contains(), oofem::DofManager::giveCoordinates(), oofem::EngngModel::giveCurrentMetaStep(), oofem::Domain::giveDofManager(), oofem::Domain::giveEngngModel(), oofem::DofManager::giveGlobalNumber(), oofem::EngngModel::giveMetaStep(), oofem::EngngModel::giveNextStep(), oofem::Domain::giveNode(), oofem::Domain::giveNumberOfDofManagers(), oofem::DofManager::giveNumberOfDofs(), oofem::MetaStep::giveNumberOfSteps(), oofem::IntArray::giveSize(), macroDomain, macroLSpaceElement, maxNumberOfDomainEquation, microBoundaryDofs, microBoundaryDofsArr, microDefaultDofs, microInternalDofs, microInternalDofsArr, microMasterCoords, NumberOfDofManagers, OOFEM_ERROR, problemMicro, oofem::MetaStep::setNumberOfSteps(), totalBoundaryDofs, and totalInternalDofs.
|
protected |
Definition at line 146 of file micromaterial.h.
Referenced by giveDofEquationNumber(), and giveMacroStiffnessMatrix().
| std::string oofem::MicroMaterial::inputFileNameMicro |
Definition at line 92 of file micromaterial.h.
Referenced by initializeFrom().
|
protected |
Definition at line 138 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and isDefault().
| Domain* oofem::MicroMaterial::macroDomain = nullptr |
Pointer to the macroscale domain.
Definition at line 111 of file micromaterial.h.
Referenced by setMacroProperties().
| MacroLSpace* oofem::MicroMaterial::macroLSpaceElement = nullptr |
Pointer to the macroscale element.
Definition at line 114 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
|
protected |
The maximum DOFs corresponding to released all of the boundary conditions.
Definition at line 140 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
| std::vector<IntArray> oofem::MicroMaterial::microBoundaryDofs |
Array containing equation numbers for boundary nodes [DofManagerNumber][DOF].
Definition at line 125 of file micromaterial.h.
Referenced by giveDofEquationNumber(), and setMacroProperties().
| IntArray oofem::MicroMaterial::microBoundaryDofsArr |
Array of equation numbers associated to boundary nodes.
Definition at line 127 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
| std::vector<IntArray> oofem::MicroMaterial::microDefaultDofs |
Array containing default equation numbers for all nodes [DofManagerNumber][DOF].
Definition at line 133 of file micromaterial.h.
Referenced by giveDofEquationNumber(), and setMacroProperties().
| std::vector<IntArray> oofem::MicroMaterial::microInternalDofs |
Array containing equation numbers for internal nodes to be condensed out [DofManagerNumber][DOF].
Definition at line 129 of file micromaterial.h.
Referenced by giveDofEquationNumber(), and setMacroProperties().
| IntArray oofem::MicroMaterial::microInternalDofsArr |
Array of equation numbers associated to internal nodes.
Definition at line 131 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
| std::vector< FloatArray > oofem::MicroMaterial::microMasterCoords |
Array containing coordinates of 8 master nodes of microproblem.
Definition at line 123 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
| bool oofem::MicroMaterial::microMatIsUsed = false |
Flag signalizing whether micromaterial is used by other element.
Definition at line 135 of file micromaterial.h.
Referenced by init().
|
protected |
Number of DOF Managers.
Definition at line 144 of file micromaterial.h.
Referenced by setMacroProperties().
| std::unique_ptr<EngngModel> oofem::MicroMaterial::problemMicro |
Pointer to the underlying micro problem.
Definition at line 108 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), init(), initializeFrom(), and setMacroProperties().
|
protected |
Required number of domain equations.
Definition at line 142 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and giveRequiredNumberOfDomainEquation().
|
protected |
Number of equations associated with boundary nodes.
Definition at line 148 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().
|
protected |
Number of equations associated with boundary nodes.
Definition at line 150 of file micromaterial.h.
Referenced by giveMacroStiffnessMatrix(), and setMacroProperties().