Spring-Damper
Use a Spring-Damper () for 3D, 2D, and 1D components to model — between two points — an elastic spring, a viscous damper, or both.
The spring can either act as an axial spring between the two points, or be defined be a general spring matrix, connecting all the degrees of freedom in the two points. The two points are referred to as the source and destination point, respectively. The points can be geometrical points, but there are also other methods for describing the attachment point of the spring as a virtual point in space.
A spring-damper can connect two points belonging to two different physics interfaces. If at least one of the physics interfaces possesses rotational degrees of freedom, the Spring-Damper should be placed in such an interface.
The Spring-Damper node is only available with some COMSOL products (see https://www.comsol.com/products/specifications/).
Coordinate System Selection
This section is only of importance when a full matrix representation of the spring-damper is used. In that case, the matrix is interpreted as acting on the degrees of freedom in the local directions provided by the local coordinate system.
Sketch
This section is only available if Directional is selected as Spring type. In that case, a conceptual representation of the spring-damper assembly is shown.
Attachment Selection
In this section, you select the two points between which the spring or damper is connected.
Source Point
Select a Source. The default is Select a connection point. You will then do the actual selection in the Source Point subnode. If you select more than a single point, the spring will be connected to a virtual point, the location of which is the average of the selected points. If you make another choice than Select a connection point, the corresponding Source Point subnode will be removed.
The other option that is always available as Source is Fixed. When Fixed is selected, the source side of the spring is fixed in space, and not connected to any modeled parts. In this case, you need to specify the location of the source point. For Connection point, select User defined and enter the coordinate Xs of the source point.
If a Base Motion is defined in a Multibody Dynamics interface, it can be selected as Source. Selecting a base motion gives a behavior similar to using Fixed, with the exception that the base now can have a nonzero prescribed displacement, velocity, or acceleration.
Any Attachment node in the model can be selected as Source, irrespective of in which physics interface it is defined. The use of attachments required the Multibody Dynamics Module or the Rotordynamics Module.
From the Source list, you can also select any object that is of a rigid body type, irrespective on in which physics interface it is defined. Such objects are:
Rigid Material
Spur Gear (in the Multibody Dynamics interface)
Helical Gear (in the Multibody Dynamics interface)
Bevel Gear (in the Multibody Dynamics interface)
Worm Gear (in the Multibody Dynamics interface)
Spur Rack (in the Multibody Dynamics interface)
Helical Rack (in the Multibody Dynamics interface)
Destination Point
Most settings are the same as for the Source. The differences are the following:
There is one other option: Prescribed displacement.
The available inputs for Prescribed displacement depend on the selected Spring type in the Spring-Damper section.
If the spring type is Directional, enter an expression for the Prescribed displacement, ud, and for the Reference destination point, Xd. The entered values determine how the spring extension is computed.
If the spring type is Matrix, enter expressions for the Prescribed displacement, ud, and the Prescribed rotation, Θd.
Using Prescribed displacement, it is possible to connect the spring to another physics interface. In order to do that, you can enter expressions using Nonlocal Couplings defined in the Definitions node for a component.
When the Spring type is set to Matrix, the rotation of the source and the destination (Θs and Θd) are determined by availability of rotational degrees of freedom. If the physics interface itself has rotational degrees of freedom, these will be used in a point selection. For all physics interfaces, irrespective whether they have rotational degrees of freedom or not, a connection to an attachment or rigid body type object will provide a rotation.

When the Spring-Damper node is used in the Multibody Dynamics interface, there is one more option: Use selection filter.
In large models, the list of available attachments can become very long. You can then create geometric filters to narrow down the search. When the Use selection filter check box is selected, two subnodes named Source Filter and Destination Filter are added to the Spring-Damper node. In these subnodes you can make graphic selections of the objects whose attachments should be shown in the Source and a Destination lists.
Spring-Damper
Select a Spring typeDirectional or Matrix. The latter option is not available for 1D and 1D axisymmetry.
Directional
Select a DefinitionSpring constant or Force as function of extension.
For Spring constant enter a value for k.
For Force as function of extension enter an expression for Fs. The expression must be a function of the extension of the spring. The built-in variable for the spring extension has the form <physicsName>.<SpringNodeTag>.dl, for example solid.spd1.dl.
To add viscous damping in a dynamic analysis, enter a value or expression for the Damping coefficient c.
Matrix
Under Spring constants, enter the stiffness matrices defining the elastic connection between the source and destination. Input fields for the matrices ku and kΘ are always shown. Select Translational-rotational coupling to show input fields for the coupling matrices kuΘ and kΘu. In 2D, most elements of these matrices are by definition zero. Only elements that can be nonzero are shown; these are elements 13 and 23 for kuΘ and elements 31 and 32 for kΘu.
Under Damping coefficients, enter the damping matrices defining the viscous connection between the source and destination. Input fields for the matrices cu and cΘ are always shown. Select Translational-rotational coupling to show input fields for the coupling matrices cuΘ and cΘu. In 2D, most elements of these matrices are by definition zero. Only elements that can be nonzero are shown; these are elements 13 and 23 for cuΘ and elements 31 and 32 for cΘu.
By default, the relative displacement between source and destination is computed as Δu = udus. In some cases, however, it can be more reasonable to also include displacements resulting from a rigid body type rotation. If Include rotational contribution in displacement is selected, an additional term is added to the expression for the relative displacement. It describes the additional displacement due to the rotation of the destination if the source and destination were connected by a rigid bar element.
Free Length
This section is only available if Directional is selected as Spring type.
The free length is the distance between the connection points when there is no force in the spring. Select an option from the list: Specify initial extension or Specify free length.
For Specify initial extension enter a value for Δl0. The free length is computed as lf = l0 − Δl0, where l0 is the initial distance between the connection points.
For Specify free length enter a value for lf.
Activation Conditions
If Directional is selected as Spring type, you can select a Spring actionBidirectional, Tension only, or Compression only.
If you want to activate or deactivate the entire spring-damper, select the Deactivation check box. Then, enter a Deactivation expression idac. The expression is treated as a Boolean expression, so that when it evaluated to a nonzero value, the spring or damper is deactivated.
Select the Permanently deactivate check box if the spring is supposed to be removed permanently from the simulation when the deactivation condition is fulfilled for the first time.
As an example, if the spring should break at a certain extension, you can write an expression like solid.spd2.dl>0.12[m], and select the Permanently deactivate check box. If the check box is not selected, the spring would become active again when its connection points come close enough to each other.
Location in User Interface
Context Menus
Ribbon
Physics tab with Solid Mechanics selected:
Physics tab with Shell selected:
Physics tab with Plate selected:
Physics tab with Layered Shell selected:
Physics tab with Membrane selected:
Physics tab with Beam selected:
Physics tab with Truss selected:
Physics tab with Multibody Dynamics selected:
Physics tab with Pipe Mechanics selected: