xc
Public Member Functions | List of all members

J2 Isotropic hardening material class for 3D problems. More...

#include <J2ThreeDimensional.h>

Inheritance diagram for XC::J2ThreeDimensional:
XC::J2Plasticity XC::NDMaterial XC::Material XC::TaggedObject XC::MovableObject XC::DistributedBase

Public Member Functions

 J2ThreeDimensional (int tag)
 
 J2ThreeDimensional (int tag, double K, double G, double yield0, double yield_infty, double d, double H, double viscosity=0)
 
 J2ThreeDimensional (int tag, double K, double G)
 
NDMaterialgetCopy (void) const
 Virtual constructor.
 
const std::string & getType () const
 
int getOrder () const
 
int setTrialStrain (const Vector &strain_from_element)
 Sets the value of the trial strain vector, that value used by {getStress()} and getTangent(), to be strain. More...
 
int setTrialStrain (const Vector &v, const Vector &r)
 Sets trial strain value.
 
int setTrialStrainIncr (const Vector &v)
 Set trial strain increment.
 
int setTrialStrainIncr (const Vector &v, const Vector &r)
 Set trial strain increment.
 
const VectorgetStrain (void) const
 Returns strain.
 
const VectorgetStress (void) const
 Returns the material stress vector at the current trial strain.
 
const MatrixgetTangent (void) const
 Return the tangent stiffness matrix at the current trial strain. More...
 
const MatrixgetInitialTangent (void) const
 
int setTrialStrain (const Tensor &v)
 Set trial strain value.
 
int setTrialStrain (const Tensor &v, const Tensor &r)
 
int setTrialStrainIncr (const Tensor &v)
 Set trial strain increment.
 
int setTrialStrainIncr (const Tensor &v, const Tensor &r)
 
const Tensor & getTangentTensor (void) const
 
- Public Member Functions inherited from XC::J2Plasticity
 J2Plasticity (int tag, int classTag, double K, double G, double yield0, double yield_infty, double d, double H, double viscosity=0)
 
 J2Plasticity (int tag, int classTag)
 Constructor.
 
 J2Plasticity (int tag, int classTag, double K, double G)
 
virtual NDMaterialgetCopy (const std::string &) const
 
virtual int commitState (void)
 
virtual int revertToLastCommit (void)
 
virtual int revertToStart (void)
 
virtual int sendSelf (CommParameters &)
 Sends object through the channel being passed as parameter.
 
virtual int recvSelf (const CommParameters &)
 Receives object through the channel being passed as parameter.
 
void Print (std::ostream &s, int flag=0)
 Print stuff.
 
- Public Member Functions inherited from XC::NDMaterial
 NDMaterial ()
 Constructor.
 
 NDMaterial (int tag, int classTag)
 Constructor. More...
 
virtual double getRho (void) const
 
virtual double getE (void)
 
virtual double getnu (void)
 
virtual double getpsi (void)
 
const VectorgetGeneralizedStress (void) const
 
const VectorgetGeneralizedStrain (void) const
 
virtual void setInitialGeneralizedStrain (const Vector &)
 Asigna el initial strain value.
 
const VectorgetInitialGeneralizedStrain (void) const
 Return the initial strain.
 
virtual const VectorgetCommittedStress (void)
 Returns commited stresses.
 
virtual const VectorgetCommittedStrain (void)
 Returns commited strains.
 
virtual const stresstensorgetStressTensor (void) const
 
virtual const straintensorgetStrainTensor (void) const
 
virtual const straintensorgetPlasticStrainTensor (void) const
 
virtual int setTrialF (const straintensor &f)
 
virtual int setTrialFIncr (const straintensor &df)
 
virtual int setTrialC (const straintensor &c)
 
virtual int setTrialCIncr (const straintensor &dc)
 
virtual const stresstensor getPK1StressTensor (void)
 
virtual const stresstensor getCauchyStressTensor (void)
 
virtual const straintensorgetF (void) const
 
virtual const straintensorgetC (void) const
 
virtual const straintensor getFp (void)
 
virtual ResponsesetResponse (const std::vector< std::string > &argv, Information &matInformation)
 
virtual int getResponse (int responseID, Information &matInformation)
 Returns material response.
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual const VectorgetStressSensitivity (int gradNumber, bool conditional)
 
virtual const VectorgetStrainSensitivity (int gradNumber)
 
virtual const MatrixgetTangentSensitivity (int gradNumber)
 
virtual const MatrixgetDampTangentSensitivity (int gradNumber)
 
virtual double getRhoSensitivity (int gradNumber)
 
virtual int commitSensitivity (Vector &strainGradient, int gradNumber, int numGrads)
 
- Public Member Functions inherited from XC::Material
 Material (int tag, int classTag)
 Constructor. More...
 
const MaterialHandlergetMaterialHandler (void) const
 Returns (if possible) a pointer to the material handler (owner).
 
MaterialHandlergetMaterialHandler (void)
 Returs a pointer to the material handler (if possible).
 
std::string getName (void) const
 Returns the name of the material.
 
virtual int setVariable (const std::string &argv)
 
virtual int getVariable (int variableID, double &info)
 
virtual void update (void)
 Update state variables for the material according to the new values of the parameters. More...
 
virtual void addInitialGeneralizedStrain (const Vector &)
 Increments generalized strain. More...
 
virtual void zeroInitialGeneralizedStrain (void)
 zeroes initial generalized strain
 
- Public Member Functions inherited from XC::TaggedObject
 TaggedObject (int tag, CommandEntity *owr=nullptr)
 Constructor. More...
 
void assignTag (int newTag)
 Set tag (to be called from Python interface).
 
int getTag (void) const
 Returns the tag associated with the object.
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (CommParameters &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (CommParameters &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Additional Inherited Members

- Protected Member Functions inherited from XC::J2Plasticity
void zero ()
 
void plastic_integrator ()
 Plasticity integration routine.
 
void doInitialTangent (void) const
 
double q (double xi)
 
double qprime (double xi)
 
virtual void index_map (int matrix_index, int &i, int &j) const
 
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::NDMaterial
int sendData (CommParameters &)
 Send object members through the channel being passed as parameter.
 
int recvData (const CommParameters &)
 Receives object members through the channel being passed as parameter.
 
- Protected Member Functions inherited from XC::TaggedObject
void setTag (int newTag)
 Set tag. More...
 
- Protected Attributes inherited from XC::J2Plasticity
double bulk
 bulk modulus
 
double shear
 shear modulus
 
double sigma_0
 initial yield stress
 
double sigma_infty
 final saturation yield stress
 
double delta
 exponential hardening parameter
 
double Hard
 linear hardening parameter
 
double eta
 viscosity
 
Matrix epsilon_p_n
 plastic strain time n
 
Matrix epsilon_p_nplus1
 plastic strain time n+1
 
double xi_n
 xi time n
 
double xi_nplus1
 xi time n+1
 
Matrix stress
 stress tensor
 
double tangent [3][3][3][3]
 material tangent
 
Matrix strain
 strain tensor
 
- Static Protected Attributes inherited from XC::J2Plasticity
static Tensor rank2
 
static Tensor rank4
 
static double initialTangent [3][3][3][3]
 material tangent
 
static double IIdev [3][3][3][3]
 rank 4 deviatoric
 
static double IbunI [3][3][3][3]
 rank 4 I bun I
 
static const double one3 = 1.0 / 3.0
 
static const double two3 = 2.0 / 3.0
 
static const double four3 = 4.0 / 3.0
 
static const double root23 = sqrt( 2.0 / 3.0 )
 

Detailed Description

J2 Isotropic hardening material class for 3D problems.

Member Function Documentation

§ getTangent()

const XC::Matrix & XC::J2ThreeDimensional::getTangent ( void  ) const
virtual

Return the tangent stiffness matrix at the current trial strain.

Reimplemented from XC::NDMaterial.

§ setTrialStrain()

int XC::J2ThreeDimensional::setTrialStrain ( const Vector v)
virtual

Sets the value of the trial strain vector, that value used by {getStress()} and getTangent(), to be strain.

To return \(0\) if successful and a negative number if not.

Reimplemented from XC::NDMaterial.


The documentation for this class was generated from the following files: