OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
Trabecular bone nonlocal material. More...
#include <trabbonenlembed.h>
Public Member Functions | |
TrabBoneNLEmbed (int n, Domain *d) | |
virtual | ~TrabBoneNLEmbed () |
virtual const char * | giveClassName () const |
virtual const char * | giveInputRecordName () const |
virtual IRResultType | initializeFrom (InputRecord *ir) |
Initializes receiver according to object description stored in input record. More... | |
virtual void | giveInputRecord (DynamicInputRecord &input) |
Setups the input record string of receiver. More... | |
virtual Interface * | giveInterface (InterfaceType) |
Interface requesting service. More... | |
virtual void | computeCumPlastStrain (double &alpha, GaussPoint *gp, TimeStep *tStep) |
virtual void | giveRealStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &strainVector, TimeStep *tStep) |
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress. More... | |
void | computeLocalCumPlastStrain (double &alpha, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) |
virtual void | updateBeforeNonlocAverage (const FloatArray &strainVector, GaussPoint *gp, TimeStep *tStep) |
Declares the service updating local variables in given integration points, which take part in nonlocal average process. More... | |
virtual double | computeWeightFunction (const FloatArray &src, const FloatArray &coord) |
Evaluates the basic nonlocal weight function for two points with given coordinates. More... | |
virtual int | hasBoundedSupport () |
Determines, whether receiver has bounded weighting function (limited support). More... | |
virtual void | giveSupportRadius (double &radius) |
Determines the width (radius) of limited support of weighting function. More... | |
Public Member Functions inherited from oofem::TrabBoneEmbed | |
TrabBoneEmbed (int n, Domain *d) | |
void | performPlasticityReturn (GaussPoint *gp, const FloatArray &totalStrain) |
double | computeDamageParam (double alpha, GaussPoint *gp) |
double | computeDamage (GaussPoint *gp, TimeStep *tStep) |
void | constructIsoComplTensor (FloatMatrix &answer, const double eps0, const double nu0) |
Constructs the anisotropic compliance tensor. More... | |
virtual void | give3dMaterialStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) |
Computes full 3d material stiffness matrix at given integration point, time, respecting load history in integration point. More... | |
virtual int | giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) |
Returns the integration point corresponding value in Reduced form. More... | |
Public Member Functions inherited from oofem::StructuralMaterial | |
StructuralMaterial (int n, Domain *d) | |
Constructor. More... | |
virtual | ~StructuralMaterial () |
Destructor. More... | |
virtual int | hasMaterialModeCapability (MaterialMode mode) |
Tests if material supports material mode. More... | |
virtual void | giveStiffnessMatrix (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) |
Computes the stiffness matrix for giveRealStressVector of receiver in given integration point, respecting its history. More... | |
virtual void | giveRealStressVector (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) |
Computes the real stress vector for given total strain and integration point. More... | |
virtual void | giveRealStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_3d. More... | |
virtual void | giveRealStressVector_StressControl (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, const IntArray &strainControl, TimeStep *tStep) |
Iteratively calls giveRealStressVector_3d to find the stress controlled equal to zero· More... | |
virtual void | giveRealStressVector_ShellStressControl (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, const IntArray &strainControl, TimeStep *tStep) |
virtual void | giveRealStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_Warping (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_2dBeamLayer (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_PlateLayer (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_Fiber (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation relies on giveRealStressVector_StressControl. More... | |
virtual void | giveRealStressVector_Lattice2d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
virtual void | giveRealStressVector_Lattice3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
virtual void | giveRealStressVector_2dPlateSubSoil (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
Default implementation is not provided. More... | |
virtual void | giveRealStressVector_3dBeamSubSoil (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedE, TimeStep *tStep) |
virtual void | giveEshelbyStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep) |
Prototype for computation of Eshelby stress. More... | |
void | give_dPdF_from (const FloatMatrix &dSdE, FloatMatrix &answer, GaussPoint *gp) |
void | convert_dSdE_2_dPdF (FloatMatrix &answer, const FloatMatrix &dSdE, const FloatArray &S, const FloatArray &F, MaterialMode matMode) |
virtual void | giveThermalDilatationVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep) |
Returns a vector of coefficients of thermal dilatation in direction of each material principal (local) axis. More... | |
double | giveReferenceTemperature () |
Returns the reference temperature of receiver. More... | |
virtual void | computeStressIndependentStrainVector (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) |
Computes reduced strain vector in given integration point, generated by internal processes in material, which are independent on loading in particular integration point. More... | |
virtual void | computeStressIndependentStrainVector_3d (FloatArray &answer, GaussPoint *gp, TimeStep *tStep, ValueModeType mode) |
virtual void | give3dMaterialStiffnessMatrix_dPdF (FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) |
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) |
Method for subtracting from reduced space strain vector its stress-independent parts (caused by temperature, shrinkage, creep and possibly by other phenomena). More... | |
void | giveStressDependentPartOfStrainVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrainVector, TimeStep *tStep, ValueModeType mode) |
virtual int | setIPValue (const FloatArray &value, GaussPoint *gp, InternalStateType type) |
Sets the value of a certain variable at a given integration point to the given value. More... | |
virtual void | give2dBeamLayerStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 2d beam layer stiffness matrix of receiver. More... | |
virtual void | givePlateLayerStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 2d plate layer stiffness matrix of receiver. More... | |
virtual void | giveFiberStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 1d fiber stiffness matrix of receiver. More... | |
virtual void | give2dLatticeStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 2d lattice stiffness matrix of receiver. More... | |
virtual void | give3dLatticeStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 3d lattice stiffness matrix of receiver. More... | |
virtual void | give2dPlateSubSoilStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing stiffness matrix of plate subsoil model. More... | |
virtual void | give3dBeamSubSoilStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing stiffness matrix of beam3d subsoil model. More... | |
virtual void | giveFirstPKStressVector_3d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep) |
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress. More... | |
virtual void | giveFirstPKStressVector_PlaneStrain (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep) |
Default implementation relies on giveFirstPKStressVector_3d. More... | |
virtual void | giveFirstPKStressVector_PlaneStress (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep) |
Default implementation relies on giveFirstPKStressVector_3d. More... | |
virtual void | giveFirstPKStressVector_1d (FloatArray &answer, GaussPoint *gp, const FloatArray &reducedF, TimeStep *tStep) |
Default implementation relies on giveFirstPKStressVector_3d. More... | |
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 | givePlaneStressStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing plane stress stiffness matrix of receiver. More... | |
virtual void | givePlaneStressStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
virtual void | givePlaneStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
virtual void | givePlaneStrainStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing plane strain stiffness matrix of receiver. More... | |
virtual void | givePlaneStrainStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
virtual void | givePlaneStrainStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
virtual void | give1dStressStiffMtrx (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Method for computing 1d stiffness matrix of receiver. More... | |
virtual void | give1dStressStiffMtrx_dPdF (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
virtual void | give1dStressStiffMtrx_dCde (FloatMatrix &answer, MatResponseMode mmode, GaussPoint *gp, TimeStep *tStep) |
Public Member Functions inherited from oofem::Material | |
Material (int n, Domain *d) | |
Constructor. More... | |
virtual | ~Material () |
Destructor. More... | |
virtual bool | isCharacteristicMtrxSymmetric (MatResponseMode rMode) |
Returns true if stiffness matrix of receiver is symmetric Default implementation returns true. More... | |
virtual double | give (int aProperty, GaussPoint *gp) |
Returns the value of material property 'aProperty'. More... | |
virtual bool | hasProperty (int aProperty, GaussPoint *gp) |
Returns true if 'aProperty' exists on material. More... | |
virtual void | modifyProperty (int aProperty, double value, GaussPoint *gp) |
Modify 'aProperty', which already exists on material. More... | |
double | giveCastingTime () |
virtual bool | isActivated (TimeStep *tStep) |
virtual int | hasNonLinearBehaviour () |
Returns nonzero if receiver is non linear. More... | |
virtual int | hasCastingTimeSupport () |
Tests if material supports casting time. More... | |
virtual void | printYourself () |
Prints receiver state on stdout. Useful for debugging. More... | |
virtual contextIOResultType | saveIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Stores integration point state to output stream. More... | |
virtual contextIOResultType | restoreIPContext (DataStream &stream, ContextMode mode, GaussPoint *gp) |
Reads integration point state to output stream. More... | |
virtual int | checkConsistency () |
Allows programmer to test some internal data, before computation begins. More... | |
virtual int | initMaterial (Element *element) |
Optional function to call specific procedures when initializing a material. More... | |
virtual MaterialStatus * | giveStatus (GaussPoint *gp) const |
Returns material status of receiver in given integration point. More... | |
virtual int | packUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Pack all necessary data of integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep, GaussPoint *ip) |
Unpack and updates all necessary data of given integration point (according to element parallel_mode) into given communication buffer. More... | |
virtual int | estimatePackSize (DataStream &buff, GaussPoint *ip) |
Estimates the necessary pack size to hold all packed data of receiver. More... | |
virtual double | predictRelativeComputationalCost (GaussPoint *gp) |
Returns the weight representing relative computational cost of receiver The reference material model is linear isotropic material - its weight is set to 1.0 The other material models should compare to this reference model. More... | |
virtual double | predictRelativeRedistributionCost (GaussPoint *gp) |
Returns the relative redistribution cost of the receiver. More... | |
virtual void | initTempStatus (GaussPoint *gp) |
Initializes temporary variables stored in integration point status at the beginning of new time step. More... | |
Public Member Functions inherited from oofem::FEMComponent | |
FEMComponent (int n, Domain *d) | |
Regular constructor, creates component with given number and belonging to given domain. More... | |
virtual | ~FEMComponent () |
Virtual destructor. More... | |
Domain * | giveDomain () const |
virtual void | setDomain (Domain *d) |
Sets associated Domain. More... | |
int | giveNumber () const |
void | setNumber (int num) |
Sets number of receiver. More... | |
virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
Local renumbering support. More... | |
virtual contextIOResultType | saveContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Stores receiver state to output stream. More... | |
virtual contextIOResultType | restoreContext (DataStream &stream, ContextMode mode, void *obj=NULL) |
Restores the receiver state previously written in stream. More... | |
virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
Prints output of receiver to stream, for given time step. More... | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
Public Member Functions inherited from oofem::StructuralNonlocalMaterialExtensionInterface | |
StructuralNonlocalMaterialExtensionInterface (Domain *d) | |
Constructor. More... | |
~StructuralNonlocalMaterialExtensionInterface () | |
Destructor. More... | |
Public Member Functions inherited from oofem::NonlocalMaterialExtensionInterface | |
NonlocalMaterialExtensionInterface (Domain *d) | |
Constructor. More... | |
virtual | ~NonlocalMaterialExtensionInterface () |
Destructor. More... | |
void | updateDomainBeforeNonlocAverage (TimeStep *tStep) |
Updates data in all integration points before nonlocal average takes place. More... | |
void | buildNonlocalPointTable (GaussPoint *gp) |
Builds list of integration points which take part in nonlocal average in given integration point. More... | |
void | rebuildNonlocalPointTable (GaussPoint *gp, IntArray *contributingElems) |
Rebuild list of integration points which take part in nonlocal average in given integration point. More... | |
void | modifyNonlocalWeightFunctionAround (GaussPoint *gp) |
Recompute the nonlocal interaction weights based on the current solution (e.g., on the damage field). More... | |
void | modifyNonlocalWeightFunction_1D_Around (GaussPoint *gp) |
virtual double | giveNonlocalMetricModifierAt (GaussPoint *gp) |
Provide the current value of the variable that affects nonlocal interaction (e.g., of damage) This method is used e.g. More... | |
double | computeDistanceModifier (double damage) |
Compute the factor that specifies how the interaction length should be modified, based on the current solution (e.g., on the damage field). More... | |
double | computeModifiedLength (double length, double dam1, double dam2) |
Compute the modified interaction length based on the current solution (e.g., on the damage field). More... | |
std::vector< localIntegrationRecord > * | giveIPIntegrationList (GaussPoint *gp) |
Returns integration list corresponding to given integration point. More... | |
virtual double | computeWeightFunction (double distance) |
Evaluates the basic nonlocal weight function for a given distance between interacting points. More... | |
double | giveIntegralOfWeightFunction (const int spatial_dimension) |
Provides the integral of the weight function over the contributing volume in 1, 2 or 3D. More... | |
virtual double | maxValueOfWeightFunction () |
Determines the maximum value of the nonlocal weight function. More... | |
int | giveNumberOfRegions () |
Determines the number of material regions of domain. More... | |
virtual double | evaluateSupportRadius () |
Determines the width (radius) of limited support of weighting function. More... | |
Domain * | giveDomain () |
Returns reference to domain. More... | |
IRResultType | initializeFrom (InputRecord *ir) |
void | giveInputRecord (DynamicInputRecord &input) |
Stores receiver in an input record. More... | |
void | endIPNonlocalAverage (GaussPoint *gp) |
Notifies the receiver, that the nonlocal averaging has been finished for given ip. More... | |
Public Member Functions inherited from oofem::Interface | |
Interface () | |
Constructor. More... | |
virtual | ~Interface () |
Protected Member Functions | |
virtual MaterialStatus * | CreateStatus (GaussPoint *gp) const |
Creates new copy of associated status and inserts it into given integration point. More... | |
Protected Member Functions inherited from oofem::NonlocalMaterialExtensionInterface | |
void | applyBarrierConstraints (const FloatArray &gpCoords, const FloatArray &jGpCoords, double &weight) |
void | manipulateWeight (double &weight, GaussPoint *gp, GaussPoint *jGp) |
Manipulates weight on integration point in the element. More... | |
double | giveDistanceBasedInteractionRadius (const FloatArray &gpCoords) |
Provides the distance based interaction radius This function is called when nlvariation is set to 1. More... | |
int | mapToGridPoint (double x, double x0) |
double | mapToGridCoord (double x, double x0) |
double | dist2FromGridNode (double x, double y, int j, int i) |
Protected Attributes | |
double | R |
double | mParam |
Protected Attributes inherited from oofem::TrabBoneEmbed | |
double | eps0 |
double | nu0 |
Protected Attributes inherited from oofem::StructuralMaterial | |
double | referenceTemperature |
Reference temperature (temperature, when material has been built into structure). More... | |
Protected Attributes inherited from oofem::Material | |
Dictionary | propertyDictionary |
Property dictionary. More... | |
double | castingTime |
Casting time. More... | |
Protected Attributes inherited from oofem::FEMComponent | |
int | number |
Component number. More... | |
Domain * | domain |
Link to domain object, useful for communicating with other FEM components. More... | |
Protected Attributes inherited from oofem::NonlocalMaterialExtensionInterface | |
Domain * | domain |
IntArray | regionMap |
Map indicating regions to skip (region - cross section model). More... | |
bool | permanentNonlocTableFlag |
Flag indicating whether to keep nonlocal interaction tables of integration points cached. More... | |
WeightFunctionType | weightFun |
Parameter specifying the type of nonlocal weight function. More... | |
int | gridSize |
Grid on which the eikonal equation will be solved (used by eikonal nonlocal models) More... | |
Grid * | grid |
FloatMatrix * | minDist2 |
Auxiliary matrix to store minimum distances of grid points from Gauss points. More... | |
double | initDiag |
Optional parameters setting details of the fast marching method. More... | |
int | order |
int | centDiff |
double | cl |
Characteristic length of the nonlocal model (its interpretation depends on the type of weight function). More... | |
double | suprad |
Support radius. More... | |
double | mm |
For "undernonlocal" or "overnonlocal" formulation. More... | |
ScalingType | scaling |
Parameter specifying the type of scaling of nonlocal weight function. More... | |
AveragedVarType | averagedVar |
Parameter specifying the type of averaged (nonlocal) variable. More... | |
double | cl0 |
Initial(user defined) characteristic length of the nonlocal model (its interpretation depends on the weight function) Is different to cl when a Stress-based or a Distance-based nonlocal variation is applied. More... | |
NlVariationType | nlvar |
Parameter specifying the type of nonlocal variation. More... | |
double | beta |
Parameter which multiplied with the interaction radius cl0 gives its minimum allowed value. More... | |
double | zeta |
Parameter used when Distance-based nonlocal variation is applied When it is multiplied with the interaction radius cl gives the maxinmum distance of the Gauss Point from the boundary. More... | |
double | px |
Parameter specifying the periodic shift in x-direction. More... | |
double | Rf |
Final value of interaction radius, for a model with evolving characteristic length. More... | |
double | exponent |
Parameter used as an exponent by models with evolving characteristic length. More... | |
int | averType |
Parameter specifying how the weight function should be adjusted due to damage. More... | |
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 int | giveVoigtVectorMask (IntArray &answer, MaterialMode mmode) |
Returns a mask of the vector indicies corresponding to components in a general (non-symmetric) second order tensor of some stress/strain/deformation measure that performes work. More... | |
static int | giveVoigtSymVectorMask (IntArray &answer, MaterialMode mmode) |
The same as giveVoigtVectorMask but returns a mask corresponding to a symmetric second order tensor. More... | |
static void | giveInvertedVoigtVectorMask (IntArray &answer, MaterialMode mmode) |
Gives the inverted version of giveVoigtVectorMask. More... | |
static int | giveSizeOfVoigtVector (MaterialMode mmode) |
Returns the size of reduced stress/strain vector according to given mode. More... | |
static int | giveSizeOfVoigtSymVector (MaterialMode mmode) |
Returns the size of symmetric part of a reduced stress/strain vector according to given mode. More... | |
static void | giveFullVectorForm (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode) |
Converts the reduced symmetric Voigt vector (2nd order tensor) to full form. More... | |
static void | giveFullVectorFormF (FloatArray &answer, const FloatArray &strainVector, MaterialMode matMode) |
Converts the reduced deformation gradient Voigt vector (2nd order tensor). More... | |
static void | giveFullSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode) |
Converts the reduced unsymmetric Voigt vector (2nd order tensor) to full form. More... | |
static void | giveReducedVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode) |
Converts the full symmetric Voigt vector (2nd order tensor) to reduced form. More... | |
static void | giveReducedSymVectorForm (FloatArray &answer, const FloatArray &vec, MaterialMode matMode) |
Converts the full unsymmetric Voigt vector (2nd order tensor) to reduced form. More... | |
static void | giveFullSymMatrixForm (FloatMatrix &answer, const FloatMatrix &red, MaterialMode matMode) |
Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form. More... | |
static void | giveReducedMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode) |
Converts the full symmetric Voigt matrix (4th order tensor) to reduced form. More... | |
static void | giveReducedSymMatrixForm (FloatMatrix &answer, const FloatMatrix &full, MaterialMode matMode) |
Converts the full unsymmetric Voigt matrix (4th order tensor) to reduced form. More... | |
static void | transformStrainVectorTo (FloatArray &answer, const FloatMatrix &base, const FloatArray &strainVector, bool transpose=false) |
Transforms 3d strain vector into another coordinate system. More... | |
static void | transformStressVectorTo (FloatArray &answer, const FloatMatrix &base, const FloatArray &stressVector, bool transpose=false) |
Transforms 3d stress vector into another coordinate system. More... | |
static double | computeVonMisesStress (const FloatArray *currentStress) |
Computes equivalent of von Mises stress. More... | |
static void | giveStrainVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false) |
Computes 3d strain vector transformation matrix from standard vector transformation matrix. More... | |
static void | give2DStrainVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false) |
Computes 2d strain vector transformation matrix from standard vector transformation matrix. More... | |
static void | giveStressVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false) |
Computes 3d stress vector transformation matrix from standard vector transformation matrix. More... | |
static void | givePlaneStressVectorTranformationMtrx (FloatMatrix &answer, const FloatMatrix &base, bool transpose=false) |
Computes 2d stress vector transformation matrix from standard vector transformation matrix. More... | |
static void | sortPrincDirAndValCloseTo (FloatArray *pVal, FloatMatrix *pDir, FloatMatrix *toPDir) |
Method for sorting newly computed principal values (pVal) and corresponding principal directions (pDir) to be closed to some (often previous) principal directions (toPDir). More... | |
static void | computePrincipalValues (FloatArray &answer, const FloatArray &s, stressStrainPrincMode mode) |
Common functions for convenience. More... | |
static void | computePrincipalValDir (FloatArray &answer, FloatMatrix &dir, const FloatArray &s, stressStrainPrincMode mode) |
Computes principal values and directions of stress or strain vector. More... | |
static double | computeDeviatoricVolumetricSplit (FloatArray &dev, const FloatArray &s) |
Computes split of receiver into deviatoric and volumetric part. More... | |
static void | computeDeviatoricVolumetricSum (FloatArray &s, const FloatArray &dev, double mean) |
static void | applyDeviatoricElasticCompliance (FloatArray &strain, const FloatArray &stress, double EModulus, double nu) |
static void | applyDeviatoricElasticCompliance (FloatArray &strain, const FloatArray &stress, double GModulus) |
static void | applyDeviatoricElasticStiffness (FloatArray &stress, const FloatArray &strain, double EModulus, double nu) |
static void | applyDeviatoricElasticStiffness (FloatArray &stress, const FloatArray &strain, double GModulus) |
static void | applyElasticStiffness (FloatArray &stress, const FloatArray &strain, double EModulus, double nu) |
static void | applyElasticCompliance (FloatArray &strain, const FloatArray &stress, double EModulus, double nu) |
static double | computeStressNorm (const FloatArray &stress) |
static double | computeFirstInvariant (const FloatArray &s) |
static double | computeSecondStressInvariant (const FloatArray &s) |
static double | computeThirdStressInvariant (const FloatArray &s) |
static double | computeFirstCoordinate (const FloatArray &s) |
static double | computeSecondCoordinate (const FloatArray &s) |
static double | computeThirdCoordinate (const FloatArray &s) |
Static Public Attributes inherited from oofem::StructuralMaterial | |
static std::vector< std::vector< int > > | vIindex |
Voigt index map. More... | |
static std::vector< std::vector< int > > | svIndex |
Symmetric Voigt index map. More... | |
Protected Types inherited from oofem::NonlocalMaterialExtensionInterface | |
enum | WeightFunctionType { WFT_Unknown, WFT_Bell, WFT_Gauss, WFT_Green, WFT_Uniform, WFT_UniformOverElement, WFT_Green_21 } |
Type characterizing the nonlocal weight function. More... | |
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... | |
Trabecular bone nonlocal material.
Definition at line 88 of file trabbonenlembed.h.
oofem::TrabBoneNLEmbed::TrabBoneNLEmbed | ( | int | n, |
Domain * | d | ||
) |
Definition at line 54 of file trabbonenlembed.C.
References R.
|
virtual |
Definition at line 59 of file trabbonenlembed.C.
|
virtual |
Reimplemented from oofem::TrabBoneEmbed.
Definition at line 113 of file trabbonenlembed.C.
References oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::NonlocalMaterialStatusExtensionInterface::giveIntegrationDomainList(), oofem::NonlocalMaterialStatusExtensionInterface::giveIntegrationScale(), oofem::TrabBoneNLEmbedStatus::giveLocalCumPlastStrainForAverage(), oofem::Material::giveStatus(), and oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage().
|
inline |
Definition at line 110 of file trabbonenlembed.h.
References oofem::TrabBoneEmbed::computeCumPlastStrain().
Referenced by updateBeforeNonlocAverage().
|
virtual |
Evaluates the basic nonlocal weight function for two points with given coordinates.
This function is NOT normalized by the condition of unit integral.
src | Coordinates of source point. |
coord | Coordinates of receiver point. |
Reimplemented from oofem::NonlocalMaterialExtensionInterface.
Definition at line 184 of file trabbonenlembed.C.
References oofem::FloatArray::distance(), and R.
|
inlineprotectedvirtual |
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::TrabBoneEmbed.
Definition at line 124 of file trabbonenlembed.h.
References oofem::FEMComponent::domain, and oofem::TrabBoneNLEmbedStatus::TrabBoneNLEmbedStatus().
|
inlinevirtual |
Reimplemented from oofem::TrabBoneEmbed.
Definition at line 98 of file trabbonenlembed.h.
|
virtual |
Setups the input record string of receiver.
input | Dynamic input record to be filled by receiver. |
Reimplemented from oofem::StructuralMaterial.
Definition at line 175 of file trabbonenlembed.C.
References _IFT_TrabBoneNLEmbed_m, _IFT_TrabBoneNLEmbed_r, oofem::StructuralMaterial::giveInputRecord(), mParam, R, and oofem::DynamicInputRecord::setField().
|
inlinevirtual |
Reimplemented from oofem::TrabBoneEmbed.
Definition at line 99 of file trabbonenlembed.h.
References _IFT_TrabBoneNLEmbed_Name, oofem::TrabBoneEmbedStatus::alpha, oofem::FEMComponent::giveInputRecord(), oofem::TrabBoneNLEmbedStatus::giveInterface(), oofem::IntegrationPointStatus::gp, oofem::MaterialStatus::initializeFrom(), and oofem::StructuralMaterialStatus::strainVector.
|
virtual |
Interface requesting service.
Reimplemented from oofem::FEMComponent.
Definition at line 138 of file trabbonenlembed.C.
References oofem::NonlocalMaterialExtensionInterfaceType.
|
virtual |
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
Reimplemented from oofem::TrabBoneEmbed.
Definition at line 81 of file trabbonenlembed.C.
References oofem::FloatMatrix::beInverseOf(), oofem::FloatArray::beProductOf(), oofem::TrabBoneEmbed::constructIsoComplTensor(), oofem::FloatArray::dotProduct(), oofem::TrabBoneEmbed::eps0, oofem::Material::giveStatus(), oofem::StructuralMaterialStatus::letTempStrainVectorBe(), oofem::StructuralMaterialStatus::letTempStressVectorBe(), oofem::TrabBoneEmbed::nu0, oofem::FloatArray::resize(), oofem::FloatMatrix::resize(), oofem::TrabBoneEmbedStatus::setTempDam(), and oofem::TrabBoneEmbedStatus::setTempTSED().
|
inlinevirtual |
Determines the width (radius) of limited support of weighting function.
Definition at line 121 of file trabbonenlembed.h.
|
inlinevirtual |
Determines, whether receiver has bounded weighting function (limited support).
Reimplemented from oofem::NonlocalMaterialExtensionInterface.
Definition at line 118 of file trabbonenlembed.h.
|
virtual |
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.
ir | Input record to initialize from. |
Reimplemented from oofem::TrabBoneEmbed.
Definition at line 148 of file trabbonenlembed.C.
References _IFT_TrabBoneNLEmbed_m, _IFT_TrabBoneNLEmbed_r, oofem::TrabBoneEmbed::initializeFrom(), oofem::NonlocalMaterialExtensionInterface::initializeFrom(), IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, oofem::IRRT_OK, mParam, and R.
|
virtual |
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
strainVector | Total strain vector in given integration point. |
gp | Integration point to update. |
tStep | Solution step indicating time of update. |
Implements oofem::StructuralNonlocalMaterialExtensionInterface.
Definition at line 63 of file trabbonenlembed.C.
References computeLocalCumPlastStrain(), oofem::Material::giveStatus(), oofem::StructuralMaterial::giveStressDependentPartOfStrainVector(), oofem::Material::initTempStatus(), oofem::StructuralMaterialStatus::letTempStrainVectorBe(), oofem::TrabBoneEmbed::performPlasticityReturn(), and oofem::TrabBoneNLEmbedStatus::setLocalCumPlastStrainForAverage().
|
protected |
Definition at line 92 of file trabbonenlembed.h.
Referenced by giveInputRecord(), and initializeFrom().
|
protected |
Definition at line 91 of file trabbonenlembed.h.
Referenced by computeWeightFunction(), giveInputRecord(), initializeFrom(), and TrabBoneNLEmbed().