65 answer.
at(1) =
kn * jump.
at(1);
68 double s = 0., dKappa = 0.;
69 for (
int i = 2; i <= 3; i++ ) {
72 s += answer.
at(i) * answer.
at(i);
73 dKappa += depsi*depsi;
80 dKappa = sqrt(dKappa);
83 double tempKappa = status->
giveKappa() + dKappa;
90 for (
int i = 2; i <= 3; i++ ) {
91 answer.
at(i) *= smax / s;
108 answer.
at(1, 1) =
kn;
109 answer.
at(2, 2) = answer.
at(3, 3) =
ks;
131 if ( type == IST_MaxEquivalentStrainLevel ) {
198 fprintf(file,
"status { ");
199 if ( this->
kappa > 0.0 ) {
200 fprintf(file,
"kappa %g ", this->
kappa);
203 fprintf(file,
"}\n");
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
double ks
Shear elastic stiffness.
double tauf
Residual shear stress.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual MaterialStatus * giveStatus(GaussPoint *gp) const
Returns material status of receiver in given integration point.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
double & at(int i)
Coefficient access function.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
#define _IFT_BondCEBMaterial_kn
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
double taumax
Shear strength.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual int read(int *data, int count)=0
Reads count integer values into array pointed by data.
MatResponseMode
Describes the character of characteristic material matrix.
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
virtual ~BondCEBMaterial()
Destructor.
#define _IFT_BondCEBMaterial_al
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
virtual void give3dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
BondCEBMaterial(int n, Domain *d)
Constructor.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in Reduced form.
virtual int write(const int *data, int count)=0
Writes count integer values from array pointed by data.
double tempKappa
Non-equilibrated cumulative slip.
This class implements associated status to BondCEBInterfaceMaterial.
#define _IFT_BondCEBMaterial_ks
BondCEBMaterialStatus(int n, Domain *d, GaussPoint *g)
Constructor.
void setTempKappa(double newKappa)
Sets the temporary cumulative slip to the given value.
void letTempJumpBe(FloatArray v)
Assigns tempJump to given vector v.
virtual void updateYourself(TimeStep *tStep)
Update equilibrium history variables according to temp-variables.
double kappa
Cumulative slip.
This class implements a structural interface material status information.
#define _IFT_BondCEBMaterial_s3
double at(int i, int j) const
Coefficient access function.
double giveKappa()
Returns the last equilibrated cumulative slip.
const FloatArray & giveJump() const
Returns the const pointer to receiver's jump.
virtual void printOutputAt(FILE *file, TimeStep *tStep)
Print receiver's output to given stream.
Class representing vector of real numbers.
const FloatArray & giveTraction() const
Returns the const pointer to receiver's traction vector.
Implementation of matrix containing floating point numbers.
double s0
Characteristic slip values.
IRResultType
Type defining the return values of InputRecord reading operations.
#define _IFT_BondCEBMaterial_tauf
#define _IFT_BondCEBMaterial_s1
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual void giveEngTraction_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
#define _IFT_BondCEBMaterial_taumax
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
double kn
Normal elastic stiffness.
#define _IFT_BondCEBMaterial_s2
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
void zero()
Zeroes all coefficient of receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual ~BondCEBMaterialStatus()
Destructor.
REGISTER_Material(DummyMaterial)
void letTempTractionBe(FloatArray v)
Assigns tempTraction to given vector v.
Abstract base class for all "structural" interface models.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void initTempStatus()
Initializes the temporary internal variables, describing the current state according to previously re...
double evaluateBondStress(const double kappa)
Class representing integration point in finite element program.
#define OOFEM_WARNING(...)
Class representing solution step.
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
void resize(int s)
Resizes receiver towards requested size.