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

#include <trabbonenl3d.h>

Inheritance diagram for oofem::TrabBoneNL3D:
Collaboration diagram for oofem::TrabBoneNL3D:

Public Member Functions

 TrabBoneNL3D (int n, Domain *d)
const char * giveClassName () const override
const char * giveInputRecordName () const override
void initializeFrom (InputRecord &ir) override
void giveInputRecord (DynamicInputRecord &input) override
InterfacegiveInterface (InterfaceType it) override
double computeCumPlastStrain (GaussPoint *gp, TimeStep *tStep) const override
double computeLocalCumPlastStrain (const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const
FloatMatrixF< 6, 6 > give3dMaterialStiffnessMatrix (MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
void NonlocalMaterialStiffnessInterface_addIPContribution (SparseMtrx &dest, const UnknownNumberingScheme &s, GaussPoint *gp, TimeStep *tStep) override
 Computes and adds IP contributions to destination matrix.
std ::vector< localIntegrationRecord > * NonlocalMaterialStiffnessInterface_giveIntegrationDomainList (GaussPoint *gp) override
int giveLocalNonlocalStiffnessContribution (GaussPoint *gp, IntArray &loc, const UnknownNumberingScheme &s, FloatArray &lcontrib, TimeStep *tStep)
void giveRemoteNonlocalStiffnessContribution (GaussPoint *gp, IntArray &rloc, const UnknownNumberingScheme &s, FloatArray &rcontrib, TimeStep *tStep)
FloatArrayF< 6 > giveRealStressVector_3d (const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const override
 Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
void updateBeforeNonlocAverage (const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) const override
double computeWeightFunction (const double cl, const FloatArray &src, const FloatArray &coord) const override
int hasBoundedSupport () const override
virtual void giveSupportRadius (double &radius)
 Determines the width (radius) of limited support of weighting function.
int packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) override
int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) override
int estimatePackSize (DataStream &buff, GaussPoint *ip) override
Public Member Functions inherited from oofem::TrabBone3D
 TrabBone3D (int n, Domain *d)
bool isCharacteristicMtrxSymmetric (MatResponseMode rMode) const override
double evaluateCurrentYieldStress (double kappa) const
double evaluateCurrentPlasticModulus (double kappa) const
double evaluateCurrentViscousStress (double deltaKappa, TimeStep *tStep) const
double evaluateCurrentViscousModulus (double deltaKappa, TimeStep *tStep) const
bool projectOnYieldSurface (double &tempKappa, FloatArrayF< 6 > &tempEffectiveStress, FloatArrayF< 6 > &tempPlasDef, const FloatArrayF< 6 > &trialEffectiveStress, const FloatMatrixF< 6, 6 > &elasticity, const FloatMatrixF< 6, 6 > &compliance, TrabBone3DStatus *status, TimeStep *tStep, GaussPoint *gp, int lineSearchFlag) const
void performPlasticityReturn (GaussPoint *gp, const FloatArrayF< 6 > &strain, TimeStep *tStep) const
std::pair< FloatArrayF< 6 >, double > constructPlasFlowDirec (FloatMatrixF< 6, 6 > &fabric, const FloatArrayF< 6 > &F, const FloatArrayF< 6 > &S) const
FloatMatrixF< 6, 6 > constructDerivativeOfPlasFlowDirec (const FloatMatrixF< 6, 6 > &fabric, const FloatArrayF< 6 > &F, const FloatArrayF< 6 > &S) const
double evaluatePlasCriterion (const FloatMatrixF< 6, 6 > &fabric, const FloatArrayF< 6 > &F, const FloatArrayF< 6 > &stress, double kappa, double deltaKappa, TimeStep *tStep) const
double computeDamageParam (double kappa) const
double computeDamageParamPrime (double kappa) const
double computeDamage (GaussPoint *gp, TimeStep *tStep) const
void computePlasStrainEnerDensity (GaussPoint *gp, const FloatArrayF< 6 > &strain, const FloatArrayF< 6 > &stress) const
FloatArrayF< 6 > computeDensificationStress (GaussPoint *gp, const FloatArrayF< 6 > &totalStrain, TimeStep *tStep) const
FloatMatrixF< 6, 6 > constructAnisoComplTensor () const
 Construct anisotropic compliance tensor.
FloatMatrixF< 6, 6 > constructAnisoStiffnessTensor () const
 Construct anisotropic stiffness tensor.
FloatMatrixF< 6, 6 > constructAnisoFabricTensor () const
 Construct anisotropic fabric tensor.
FloatArrayF< 6 > constructAnisoFtensor () const
FloatMatrixF< 6, 6 > constructStiffnessTransformationMatrix () const
FloatMatrixF< 6, 6 > constructFabricTransformationMatrix () const
FloatMatrixF< 6, 6 > constructNormAdjustTensor () const
 Construct Tensor to adjust Norm.
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
double predictRelativeComputationalCost (GaussPoint *gp) override
double predictRelativeRedistributionCost (GaussPoint *gp) override
Public Member Functions inherited from oofem::StructuralMaterial
 StructuralMaterial (int n, Domain *d)
bool hasMaterialModeCapability (MaterialMode mode) const 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 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
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 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 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)
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).
Public Member Functions inherited from oofem::StructuralNonlocalMaterialExtensionInterface
 StructuralNonlocalMaterialExtensionInterface (Domain *d)
 ~StructuralNonlocalMaterialExtensionInterface ()
 Destructor.
Public Member Functions inherited from oofem::NonlocalMaterialExtensionInterface
 NonlocalMaterialExtensionInterface (Domain *d)
virtual ~NonlocalMaterialExtensionInterface ()
 Destructor.
void updateDomainBeforeNonlocAverage (TimeStep *tStep) const
void buildNonlocalPointTable (GaussPoint *gp) const
void rebuildNonlocalPointTable (GaussPoint *gp, IntArray *contributingElems) const
void modifyNonlocalWeightFunctionAround (GaussPoint *gp) const
void modifyNonlocalWeightFunction_1D_Around (GaussPoint *gp) const
virtual double giveNonlocalMetricModifierAt (GaussPoint *gp) const
double computeDistanceModifier (double cl, double damage) const
double computeModifiedLength (double length, double dam1, double dam2) const
std ::vector< localIntegrationRecord > * giveIPIntegrationList (GaussPoint *gp) const
virtual double computeWeightFunction (const double cl, const double distance) const
double giveIntegralOfWeightFunction (double cl, const int spatial_dimension) const
virtual double maxValueOfWeightFunction ()
 Determines the maximum value of the nonlocal weight function.
int giveNumberOfRegions () const
virtual double evaluateSupportRadius (double cl) const
DomaingiveDomain ()
 Returns reference to domain.
void initializeFrom (InputRecord &ir)
void giveInputRecord (DynamicInputRecord &input)
void endIPNonlocalAverage (GaussPoint *gp) const
Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor.
virtual ~Interface ()
Public Member Functions inherited from oofem::NonlocalMaterialStiffnessInterface
 NonlocalMaterialStiffnessInterface ()
 Constructor.
virtual void NonlocalMaterialStiffnessInterface_showSparseMtrxStructure (GaussPoint *gp, oofegGraphicContext &gc, TimeStep *)

Protected Member Functions

std::unique_ptr< MaterialStatusCreateStatus (GaussPoint *gp) const override
Protected Member Functions inherited from oofem::NonlocalMaterialExtensionInterface
void applyBarrierConstraints (const FloatArray &gpCoords, const FloatArray &jGpCoords, double &weight) const
void manipulateWeight (double &weight, GaussPoint *gp, GaussPoint *jGp) const
double giveDistanceBasedInteractionRadius (const FloatArray &gpCoords) const
int mapToGridPoint (double x, double x0) const
double mapToGridCoord (double x, double x0) const
double dist2FromGridNode (double x, double y, int j, int i) const

Protected Attributes

double R = 0.
double mParam = 0.
Protected Attributes inherited from oofem::TrabBone3D
double m1 = 0.
double m2 = 0.
double rho = 0.
double eps0 = 0.
double nu0 = 0.
double mu0 = 0.
double expk = 0.
double expl = 0.
double sig0Pos = 0.
double sig0Neg = 0.
double chi0Pos = 0.
double chi0 = 0.
double chi0Neg = 0.
double tau0 = 0.
double expq = 0.
double expp = 0.
double plasHardFactor = 0.
double expPlasHard = 0.
double expDam = 0.
double critDam = 0.
int printflag = 0
int max_num_iter = 0
double rel_yield_tol = 0.
double strain_tol = 0.
double x1 = 1.
 Local coordinate system.
double x2 = 0.
double x3 = 0.
double y1 = 0.
double y2 = 1.
double y3 = 0.
double z1 = 0.
double z2 = 0.
double z3 = 1.
double gammaL0 = 0.
 Densificator properties.
double gammaP0 = 0.
double tDens = 0.
double densCrit = 0.
double rL = 0.
double rP = 0.
double gammaL = 0.
double gammaP = 0.
double viscosity = 0.
 Viscosity parameter.
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.
Protected Attributes inherited from oofem::NonlocalMaterialExtensionInterface
Domaindomain = nullptr
IntArray regionMap
 Map indicating regions to skip (region - cross section model).
bool permanentNonlocTableFlag = false
 Flag indicating whether to keep nonlocal interaction tables of integration points cached.
WeightFunctionType weightFun
 Parameter specifying the type of nonlocal weight function.
int gridSize = 0
 Grid on which the eikonal equation will be solved (used by eikonal nonlocal models).
double initDiag = 0.
 Optional parameters setting details of the fast marching method.
int order = 0
int centDiff = 0
double cl = 0.
double suprad = 0.
 Support radius.
double mm = 0.
 For "undernonlocal" or "overnonlocal" formulation.
ScalingType scaling
 Parameter specifying the type of scaling of nonlocal weight function.
AveragedVarType averagedVar
 Parameter specifying the type of averaged (nonlocal) variable.
double cl0 = 0.
NlVariationType nlvar
 Parameter specifying the type of nonlocal variation.
double beta = 0.
double zeta = 0.
double px = 0.
double Rf = 0.
 Final value of interaction radius, for a model with evolving characteristic length.
double exponent = 0.
 Parameter used as an exponent by models with evolving characteristic length.
int averType = 0
 Parameter specifying how the weight function should be adjusted due to damage.

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.
Protected Types inherited from oofem::NonlocalMaterialExtensionInterface
enum  ScalingType { ST_Unknown , ST_Standard , ST_Noscaling , ST_Borino }
 Type characterizing the scaling approach. More...
enum  AveragedVarType { AVT_Unknown , AVT_EqStrain , AVT_Compliance , AVT_Damage }
 Type characterizing the averaged (nonlocal) variable. More...
enum  NlVariationType { NLVT_Standard , NLVT_DistanceBasedLinear , NLVT_StressBased , NLVT_DistanceBasedExponential }
 Type characterizing the Nonlocal variation. More...

Detailed Description

Trabecular bone nonlocal material model.

Definition at line 80 of file trabbonenl3d.h.

Constructor & Destructor Documentation

◆ TrabBoneNL3D()

Member Function Documentation

◆ computeCumPlastStrain()

◆ computeLocalCumPlastStrain()

double oofem::TrabBoneNL3D::computeLocalCumPlastStrain ( const FloatArrayF< 6 > & strain,
GaussPoint * gp,
TimeStep * tStep ) const
inline

Computes the local cumulated plastic strain from given strain vector (full form).

Parameters
[out]kappaReturn parameter, containing the corresponding cumulated plastic strain.
strainTotal strain vector in full form.
gpIntegration point.
tStepTime step.

Definition at line 108 of file trabbonenl3d.h.

Referenced by updateBeforeNonlocAverage().

◆ computeWeightFunction()

double oofem::TrabBoneNL3D::computeWeightFunction ( const double cl,
const FloatArray & src,
const FloatArray & coord ) const
overridevirtual

Evaluates the basic nonlocal weight function for two points with given coordinates. This function is NOT normalized by the condition of unit integral.

Parameters
srcCoordinates of source point.
coordCoordinates of receiver point.
Returns
Value of weight function.

Reimplemented from oofem::NonlocalMaterialExtensionInterface.

Definition at line 345 of file trabbonenl3d.C.

References oofem::distance(), and R.

◆ CreateStatus()

std::unique_ptr< MaterialStatus > oofem::TrabBoneNL3D::CreateStatus ( GaussPoint * gp) const
inlineoverrideprotectedvirtual

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::TrabBone3D.

Definition at line 164 of file trabbonenl3d.h.

◆ estimatePackSize()

int oofem::TrabBoneNL3D::estimatePackSize ( DataStream & buff,
GaussPoint * ip )
overridevirtual

Estimates the necessary pack size to hold all packed data of receiver.

Reimplemented from oofem::Material.

Definition at line 445 of file trabbonenl3d.C.

References oofem::DataStream::givePackSizeOfDouble().

◆ give3dMaterialStiffnessMatrix()

FloatMatrixF< 6, 6 > oofem::TrabBoneNL3D::give3dMaterialStiffnessMatrix ( MatResponseMode mode,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Computes full 3d material stiffness matrix at given integration point, time, respecting load history in integration point.

Parameters
answerComputed results.
modeMaterial response mode.
gpIntegration point.
tStepTime step (most models are able to respond only when tStep is current time step).

Reimplemented from oofem::TrabBone3D.

Definition at line 79 of file trabbonenl3d.C.

References oofem::NonlocalMaterialExtensionInterface::beta, computeCumPlastStrain(), oofem::TrabBone3D::constructAnisoComplTensor(), oofem::TrabBone3D::critDam, oofem::dot(), oofem::dyad(), oofem::TrabBone3D::expDam, oofem::Material::giveStatus(), oofem::inv(), mParam, and oofem::Tdot().

◆ giveClassName()

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

Reimplemented from oofem::TrabBone3D.

Definition at line 91 of file trabbonenl3d.h.

◆ giveInputRecord()

void oofem::TrabBoneNL3D::giveInputRecord ( DynamicInputRecord & input)
overridevirtual

Setups the input record string of receiver.

Parameters
inputDynamic input record to be filled by receiver.

Reimplemented from oofem::StructuralMaterial.

Definition at line 335 of file trabbonenl3d.C.

References _IFT_TrabBoneNL3D_m, _IFT_TrabBoneNL3D_r, mParam, R, and oofem::DynamicInputRecord::setField().

◆ giveInputRecordName()

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

Reimplemented from oofem::TrabBone3D.

Definition at line 92 of file trabbonenl3d.h.

References _IFT_TrabBoneNL3D_Name.

◆ giveInterface()

◆ giveLocalNonlocalStiffnessContribution()

int oofem::TrabBoneNL3D::giveLocalNonlocalStiffnessContribution ( GaussPoint * gp,
IntArray & loc,
const UnknownNumberingScheme & s,
FloatArray & lcontrib,
TimeStep * tStep )

Computes the "local" part of nonlocal stiffness contribution assembled for given integration point.

Parameters
gpSource integration point.
locLocal code numbers.
lcontrib"Local" contribution.
sNumbering scheme for unknowns.
tStepTime step.
Returns
Nonzero if local point contributes (loading) or zero if not (unloading in elastic range, elastic).

Definition at line 173 of file trabbonenl3d.C.

References oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::IntArray::clear(), computeCumPlastStrain(), oofem::TrabBone3D::critDam, oofem::TrabBone3D::expDam, oofem::GaussPoint::giveElement(), oofem::FloatMatrix::giveNumberOfColumns(), oofem::Material::giveStatus(), mParam, oofem::FloatArray::resize(), and oofem::sum().

Referenced by NonlocalMaterialStiffnessInterface_addIPContribution().

◆ giveRealStressVector_3d()

FloatArrayF< 6 > oofem::TrabBoneNL3D::giveRealStressVector_3d ( const FloatArrayF< 6 > & strain,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

◆ giveRemoteNonlocalStiffnessContribution()

void oofem::TrabBoneNL3D::giveRemoteNonlocalStiffnessContribution ( GaussPoint * gp,
IntArray & rloc,
const UnknownNumberingScheme & s,
FloatArray & rcontrib,
TimeStep * tStep )

Computes the "remote" part of nonlocal stiffness contribution assembled for given integration point.

Parameters
gpRemote integration point.
rlocRemote element code numbers.
rcontrib"Remote" contribution.
sNumbering scheme for unknowns.
tStepTime step.

Definition at line 213 of file trabbonenl3d.C.

References oofem::NonlocalMaterialExtensionInterface::beta, oofem::FloatArray::beTProductOf(), oofem::GaussPoint::giveElement(), oofem::FloatMatrix::giveNumberOfColumns(), oofem::Material::giveStatus(), oofem::FloatArray::resize(), and oofem::FloatArray::zero().

◆ giveSupportRadius()

virtual void oofem::TrabBoneNL3D::giveSupportRadius ( double & radius)
inlinevirtual

Determines the width (radius) of limited support of weighting function.

Definition at line 157 of file trabbonenl3d.h.

◆ hasBoundedSupport()

int oofem::TrabBoneNL3D::hasBoundedSupport ( ) const
inlineoverridevirtual

Determines, whether receiver has bounded weighting function (limited support).

Returns
True if weighting function bounded, zero otherwise.

Reimplemented from oofem::NonlocalMaterialExtensionInterface.

Definition at line 154 of file trabbonenl3d.h.

◆ initializeFrom()

void oofem::TrabBoneNL3D::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
Todo
Why not use vectors?

Reimplemented from oofem::TrabBone3D.

Definition at line 319 of file trabbonenl3d.C.

References _IFT_TrabBoneNL3D_m, _IFT_TrabBoneNL3D_r, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, mParam, and R.

◆ NonlocalMaterialStiffnessInterface_addIPContribution()

◆ NonlocalMaterialStiffnessInterface_giveIntegrationDomainList()

std::vector< localIntegrationRecord > * oofem::TrabBoneNL3D::NonlocalMaterialStiffnessInterface_giveIntegrationDomainList ( GaussPoint * gp)
overridevirtual

Returns integration list of receiver. Contains localIntegrationRecord structures, containing references to integration points and their weights that influence to nonlocal average in receiver's associated integration point.

Implements oofem::NonlocalMaterialStiffnessInterface.

Definition at line 165 of file trabbonenl3d.C.

References oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), and oofem::Material::giveStatus().

◆ packUnknowns()

int oofem::TrabBoneNL3D::packUnknowns ( DataStream & buff,
TimeStep * tStep,
GaussPoint * ip )
overridevirtual

Pack all necessary data of integration point (according to element parallel_mode) into given communication buffer. The nature of packed data is material model dependent. Typically, for material of "local" response (response depends only on integration point local state) no data are exchanged. For "nonlocal" constitutive models the send/receive of local values which undergo averaging is performed between local and corresponding remote elements.

Parameters
buffCommunication buffer.
tStepSolution step.
ipIntegration point.

Reimplemented from oofem::Material.

Definition at line 414 of file trabbonenl3d.C.

References oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::IDNLMaterialStatus::giveLocalEquivalentStrainForAverage(), oofem::Material::giveStatus(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), and oofem::DataStream::write().

◆ unpackAndUpdateUnknowns()

int oofem::TrabBoneNL3D::unpackAndUpdateUnknowns ( DataStream & buff,
TimeStep * tStep,
GaussPoint * ip )
overridevirtual

Unpack and updates all necessary data of given integration point (according to element parallel_mode) into given communication buffer.

See also
packUnknowns service.
Parameters
buffCommunication buffer.
tStepSolution step.
ipIntegration point.

Reimplemented from oofem::Material.

Definition at line 429 of file trabbonenl3d.C.

References oofem::Material::giveStatus(), oofem::DataStream::read(), and oofem::IDNLMaterialStatus::setLocalEquivalentStrainForAverage().

◆ updateBeforeNonlocAverage()

void oofem::TrabBoneNL3D::updateBeforeNonlocAverage ( const FloatArray & strainVector,
GaussPoint * gp,
TimeStep * tStep ) const
overridevirtual

Declares the service updating local variables in given integration points, which take part in nonlocal average process. Because value of single integration point influences nonlocal variables in several near integration points, it is suitable to compute these variables only once. These should be stored in integration point associated statuses. The implementation is left on derived classes. Provide material local strain increment - as is provided to computeRealStresVector. This allows to update internal vars to be averaged to new state

Parameters
strainVectorTotal strain vector in given integration point.
gpIntegration point to update.
tStepSolution step indicating time of update.

Implements oofem::StructuralNonlocalMaterialExtensionInterface.

Definition at line 62 of file trabbonenl3d.C.

References computeLocalCumPlastStrain(), oofem::Material::giveStatus(), oofem::StructuralMaterial::giveStressDependentPartOfStrainVector(), oofem::Material::initTempStatus(), and oofem::TrabBone3D::performPlasticityReturn().

Member Data Documentation

◆ mParam

double oofem::TrabBoneNL3D::mParam = 0.
protected

◆ R

double oofem::TrabBoneNL3D::R = 0.
protected

Definition at line 85 of file trabbonenl3d.h.

Referenced by computeWeightFunction(), giveInputRecord(), and initializeFrom().


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