File: BeamFEMForceField.scn

package info (click to toggle)
sofa-framework 1.0~beta4-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 88,820 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (65 lines) | stat: -rw-r--r-- 3,708 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<Node name="root" dt="0.01" showBehaviorModels="1" showCollisionModels="1" showBoundingCollisionModels="0" showForceFields="1">
    <Object type="CollisionPipeline" depth="6" verbose="0" draw="0"/>
    <Object type="BruteForceDetection" name="N2" />
    <Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.03" contactDistance="0.02" />
    <Object type="CollisionResponse" name="Response" response="default" />
    <Object type="CollisionGroup" name="Group" />
   <Node name="beam">
      <Object type="EulerImplicit" rayleighStiffness="0" printLog="false" />
      <Object type="BTDLinearSolver" template="NewMatBand" bandWidth="11"  printLog="false" verbose="false" />
      <Object type="MechanicalObject" template="Rigid" name="DOFs" position="0 0 0 0 0 0 1  1 0 0 0 0 0 1  2 0 0 0 0 0 1  3 0 0 0 0 0 1  4 0 0 0 0 0 1  5 0 0 0 0 0 1  6 0 0 0 0 0 1  7 0 0 0 0 0 1" />
      <Object type="Mesh" name="lines" lines="0 1 1 2 2 3 3 4 4 5 5 6 6 7" />
      <!--
      <Object type="MechanicalObject" template="Rigid" name="DOFs" position="0 0 0 0 0 0 1  1 0 0 0 0 0 1  2 0 0 0 0 0 1  3 0 0 0 0 0 1" />
      <Object type="Mesh" name="lines" lines="0 1 1 2 2 3" />
      -->
      <!--
      <Object type="MechanicalObject" template="Rigid" name="DOFs" position="0 0 0 0 0 -0.7071067811865475244 0.7071067811865475244  0 -1 0 0 0 -0.7071067811865475244 0.7071067811865475244" />
      <Object type="Mesh" name="lines" lines="0 1" />
      -->
      <Object type="FixedConstraint" name="FixedConstraint" indices="0" />
      <Object type="UniformMass" mass="1 1 0.01 0 0 0 0.1 0 0 0 0.1" printLog="false" />
      <Object type="BeamFEMForceField" name="FEM" radius="0.1" youngModulus="20000000" />
<!--
      <Object type="Gravity" value="0 0 0 0 0 0" />
      <Object type="ExternalForceField" forces="10 0 0 0 0 0" indices="1" />
-->
<!--
      <Node name="Collision">
        <Object type="Sphere" radius=".2" position="0 0 0 0 0 0" />
        <MechanicalObject/>
        <Object type="RigidMapping" index="7" />
      </Node>
-->
      <Node name="Collision">
<!--        <Object type="CubeTopology" nx="115" ny="4" nz="4" xmin="0" xmax="7" ymin="-0.1" ymax="0.1" zmin="-0.1" zmax="0.1" /> -->
        <Object type="CubeTopology" nx="15" ny="2" nz="2" min="0 -0.1 -0.1" max="7 0.1 0.1" />
        <Object type="MechanicalObject" />
        <Object type="BeamLinearMapping" isMechanical="true" />
        <Object type="Triangle" />
<!--        <Object type="OglModel" /> -->
      </Node>
   </Node>
   <Node name="beam2">
      <Object type="EulerImplicit" rayleighStiffness="0" printLog="false" />
      <Object type="CGLinearSolver" template="NewMat" threshold="0.000000001" tolerance="0.0000000001" printLog="false" />
      <!--
      <Object type="MechanicalObject" template="Rigid" name="DOFs" position="0 0 0 0 0 0 1  1 0 0 0 0 0 1  2 0 0 0 0 0 1  3 0 0 0 0 0 1" />
      <Object type="Mesh" name="lines" lines="0 1 1 2 2 3" />
      -->
      <Object type="MechanicalObject" template="Rigid" name="DOFs" position="0 0 1 0 0 0 1  1 0 1 0 0 0 1" />
      <Object type="Mesh" name="lines" lines="0 1" />
      <Object type="FixedConstraint" name="FixedConstraint" indices="0" />
      <Object type="UniformMass" mass="1 1 0.01 0 0 0 0.1 0 0 0 0.1"/>
      <Object type="BeamFEMForceField" name="FEM" radius="0.05" youngModulus="10000000" />
<!--
      <Object type="Gravity" value="0 0 0 0 0 0" />
      <Object type="ExternalForceField" forces="0 10 0 0 0 0" indices="1" />
-->
      <Node name="Collision">
        <Object type="Sphere" radius=".2" position="0 0 0 0 0 0" />
		<MechanicalObject/>
        <Object type="RigidMapping" index="1" />
      </Node>
   </Node>
</Node>