Hello everyone,
I am developing a new material for a novel damper and the force of the damper is: F = pR^2 [sgn(v) + z];
where p is pressure, R is length, v is velocity and z is the same as parameter z in Bouc-Wen model (I understand pR^2 has the unit of the force ).
I have a hard time understanding how to define the tangent of material in my C++ code?
For example when we have elastic material that force is: F = kx, we know the tangent is k = F/x but when we have viscous material F = CV or in my case F = pR^2 [sgn(v) + z].....my question is how I should define the tangent:
double getTangent(void);
double getInitialTangent(void);
double getDampTangent(void);
Thanks for your help!
Stiffness of new material (getTangent)
Moderators: silvia, selimgunay, Moderators
-
- Posts: 84
- Joined: Tue Nov 07, 2017 7:47 am
- Location: University of Central Florida
Re: Stiffness of new material (getTangent)
getTangent returns the derivative of F with respect to deformation
getDampTangent returns the derivative of F with respect to velocity, so take the derivative of your expression with respect to v
getDampTangent returns the derivative of F with respect to velocity, so take the derivative of your expression with respect to v
-
- Posts: 84
- Joined: Tue Nov 07, 2017 7:47 am
- Location: University of Central Florida
Re: Stiffness of new material (getTangent)
Awesome, thanks. In order to calculate the force of the damper, I need to compute the velocity, v, and sign of the velocity, sgn(v). in order to that
I use getStrainRate(void) to calculate velocity and signum(TVel):
TVel = strainRate;
double
SandDamper::getStrainRate(void)
{
return TVel;
}
F = pR^2 [signum(TVel) + z];
However, my result is NOT in a good agreement with MATLAB. what's the best way to calculate velocity and its sign?
I use getStrainRate(void) to calculate velocity and signum(TVel):
TVel = strainRate;
double
SandDamper::getStrainRate(void)
{
return TVel;
}
F = pR^2 [signum(TVel) + z];
However, my result is NOT in a good agreement with MATLAB. what's the best way to calculate velocity and its sign?