*DeformableSurface()
Creates a three-dimensional deformable surface entity.
Syntax
*DeformableSurface(defsrf_name,"defsrf_label", NATURAL|PARABOLIC|PERIODIC numrows,numcols MarkerorBody,Point, MarkerorBody,Point, MarkerorBody,Point ...) *Set(defsrf_name.uspan,valu) *Set(defsrf_name.vspan,valv)
Arguments
- defsrf_name
- The variable name of the deformable surface.
- defsrf_label
- The label of the deformable surface.
- NATURAL|PARABOLIC| PERIODIC
- The type of end condition on the surface.
- numrows, numcols
- This is required only in the case of CANTILEVER curve end, and describes the condition for the CUBIC spline interpolation.
- Marker or Body,Point
- The ordered list of markers (or body, point sets) that form the surface in 3D space. The markers (or body, point sets) can belong to the same body or different bodies, including flexible bodies.
- valu
- The span across u for the deformable curve.
- valv
- The span across v for the deformable curve.
Example
*BeginMDL(the_model, "The Model")
*Point(p_1, "Point 1")
*Point(p_2, "Point 2")
*Point(p_3, "Point 3")
*Point(p_4, "Point 4")
*Point(p_5, "Point 5")
*Point(p_6, "Point 6")
*DeformableSurface(defsrf_0, "DeformableSurface 0", NATURAL, 3, 2,
m_0, m_1, m_2, m_3, m_4, m_5)
*Marker(m_0, "Marker 0", b_1, p_1)
*Marker(m_1, "Marker 1", b_1, p_2)
*Marker(m_2, "Marker 2", b_1, p_3)
*Marker(m_3, "Marker 3", b_1, p_4)
*Marker(m_4, "Marker 4", b_1, p_5)
*Marker(m_5, "Marker 5", b_1, p_6)
*Body(b_1, "Body 1")
*Body(b_0, "Body 0")
*PointToDeformableSurfaceJoint(aj_0, "Advanced Joint 0", b_0, p_10,
defsrf_0)
*Point(p_10, "Point 0" )
*Set(defsrf_0.uspan, 1.1)
*SetPoint(p_1, 50, 10, 10)
*SetPoint(p_2, 100, 10, 10)
*SetPoint(p_3, 150, 10, 10)
*SetPoint(p_4, 50, 20, 20)
*SetPoint(p_5, 100, 20, 20)
*SetPoint(p_6, 150, 20, 20)
*SetPoint(p_10, 100, 100, 100)
*EndMDL()
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
end_type | option | The type of end description that applies for both u and v. |
id | integer | The solver id for the entity. |
idstring | string | The solver id for the entity in string data form. |
label | string | The descriptive name of the entity. |
lamda_left | real | The condition for the CUBIC spline interpolation for one end of the curve. |
lamda_right | real | The condition for the CUBIC spline interpolation for the other end of the curve. |
note | string | The detailed notes and description about the entity. |
num | integer | The number of the entity. |
state | boolean | Set to zero for the entity to be inactive, or set to one for the entity to be active. |
uspan | real | The span for the u direction of the surface. |
varname | string | The unique variable name of the entity. |
vspan | real | The span for the v direction of the surface. |
Comments
The deformable surface can be used with the *PointToDeformableSurfaceJoint() statement and the *PointToDeformableSurfaceContact() statement. The *PointToDeformableSurfaceContact() statement can be used to model flexible to rigid and flexible to flexible contact.