ContactForceT_Dashpot class
Contents
Description
This is a sub-class of the ContactForceT class for the implementation of the Simple Dashpot tangent contact force model.
This model assumes that the tangent contact force has only a viscous component , provided by a linear dashpot.
The tangent damping coefficient must be provided.
Notation:
: Tangent direction between elements
: Time rate of change of tangent overlap
classdef ContactForceT_Dashpot < ContactForceT
Public properties
properties (SetAccess = public, GetAccess = public) % Contact parameters damp double = double.empty; % damping coefficient end
Constructor method
methods function this = ContactForceT_Dashpot() this = this@ContactForceT(ContactForceT.DASHPOT); this = this.setDefaultProps(); end end
Public methods: implementation of super-class declarations
methods %------------------------------------------------------------------ function this = setDefaultProps(this) end %------------------------------------------------------------------ function this = setCteParams(this,~) end %------------------------------------------------------------------ function this = evalForce(this,int) % Force modulus (viscous contribution only) f = this.damp * int.kinemat.vel_t; % Total tangential force vector (against deformation and motion) this.total_force = -f * int.kinemat.dir_t; end end
end