nonlinear spring¶
Module: solid
Category: discretematerial
Type string: "nonlinear spring"
Parameters¶
| Name | Description | Default | Units |
|---|---|---|---|
scale |
scale | 1 | [] |
measure |
measure | 0 | [] |
force |
[] |
Description¶
The nonlinear spring allows users to define a custom relation between a measure of stretch and the spring force.
The measure parameter can be set to one of the following values:
elongation: Use the spring elongation, the difference between current and original length, as the measure of stretch.strain: Use the strain, i.e. the ratio of elongation over original length, as the measure of stretchstretch: Use the ratio of current length over original length as measure of stretch.
Example:
<discrete_material id="1" name="set1" type="nonlinear spring">
<scale>1</scale>
<measure>elongation</measure>
<force type="math">
<math>x</math>
</force>
</discrete_material>