modelCloth_Initialization_2

Cloth initialization example

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED

Example using the cloth modeling framework with a blanket hanging between a fixed spar and a hinged spar starting at a relative angle of 25 degrees to each other. Gravity acting on the blanket pulls the spars together.

Parameters

TypeNameDefaultDescription
IntegerM3
IntegerN4
SI.Lengthlength2
SI.Lengthwidth1
SI.Lengthlength_start1
Realangle25Start angle in degrees
SI.Position[3]P1{0.1, 0.1, 0}
SI.Position[3]P2{1.1, 0.1, 0}
SI.Position[3]P3{1.1, 0, 0}
SI.Position[3]P4{0.1, 0, 0}
SI.Position[3]P1_start{0.1*cos(angle*3.14/180), 0.1*sin(angle*3.14/180), 0}Initial location of P1 in world coordinates
SI.Position[3]P2_start{1.1*cos(angle*3.14/180), 1.1*sin(angle*3.14/180), 0}Initial location of P2 in world coordinates
SI.Position[3]P3_start{1.1, 0, 0}Initial location of P3 in world coordinates
SI.Position[3]P4_start{0.1, 0, 0}Initial location of P4 in world coordinates
Properties.ClothPropertyclothProps

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Worldworld
DeployStructLib.DSL_GlobalsDSLglb
DeployStructLib.Parts.Cloth.clothcloth1
Modelica.Mechanics.MultiBody.Parts.BodyBoxsparA
Modelica.Mechanics.MultiBody.Parts.BodyBoxsparB
Modelica.Mechanics.MultiBody.Joints.Revoluterevolute