Sfsf
Model ElementSfsf defines a higher pair constraint. The constraint consists of a surface on one body rolling and sliding on a surface on a second body. The surfaces are required to have a unique contact point.
Class Name
Sfsf
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
isurface | Reference ("Surface") | Yes | Yes |
jsurface | Reference ("Surface") | Yes | Yes |
irm | Reference ("Marker") | Yes | Yes |
jrm | Reference ("Marker") | Yes | Yes |
idisp | Double ([0,0,0], count=3) | FD Only | |
jdisp | Double ([0,0,0], count=3) | FD Only | |
active | Bool () | Yes |
Usage
Sfsf (isurface=objSurface, irm=objMarker, jsurface=objSurface, jrm=objMarker, optional_attributes)
Attributes
- isurface
- Reference to an existing surface.
- irm
- Reference to an existing Marker.
- jsurface
- Reference to an existing surface.
- jrm
- Reference to an existing Marker.
- id
- Integer
- label
- String
- idisp
- List of three doubles.
- jdisp
- List of three doubles
- active
- Bool
Example
# Create the first surface object
surf1 = Surface (function="user (10)", routine=Surface1, uclosed=True,
vclosed=False,
minpar=[0, -150], maxpar=[2*pi, 150], label="Surf-1")
# Create the second surface object
surf2 = Surface (function="user (10)", routine= Surface2, uclosed=True,
vclosed=False,
minpar=[0, -1], maxpar=[2, 15], label="Surf-2")
ic1 =[1.466,5.66,0.1]
ic2 = [-0.522,-0.852,-0.453]
sfsf1 = Sfsf (isurface=surf1, irm=m1, jsurface=surf2, jrm=m2, idisp=ic1, jdisp=ic2)
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- For a more detailed explanation about SfSf, see Constraint: SFSF.