File: SphereModel.scn

package info (click to toggle)
sofa-framework 1.0~beta4-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 88,624 kB
  • sloc: cpp: 151,120; ansic: 2,387; xml: 581; sh: 436; makefile: 67
file content (31 lines) | stat: -rw-r--r-- 1,540 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
<Node name="root"  dt="0.02" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="1">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" name="Response" response="default" />
	<Object type="CollisionGroup" name="Group" />
	<Node name="cubeFEM">
		<Object type="EulerImplicit" name="cg_odesolver" printLog="false"/>
		<Object type="CGLinearSolver" iterations="25" name="linear solver" tolerance="1.0e-9" threshold="1.0e-9" />
		<Object type="MechanicalObject"/>
		<Object type="UniformMass" mass="0.25"/>
		<Object type="RegularGrid"
				nx="5" ny="5" nz="5"
				xmin="-3.5" xmax="3.5"
				ymin="-3.5" ymax="3.5"
				zmin="-3.5" zmax="3.5"
		/>
		<Object type="TetrahedronFEMForceField" name="FEM" youngModulus="25" poissonRatio="0.3" computeGlobalMatrix="false" updateStiffnessMatrix="false" method="large"/>
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/smCube125.obj" color="red" />
			<Object type="SurfaceIdentityMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf">
			<Object type="Sphere" filename="mesh/smCube27b.sph"/>
			<MechanicalObject/>
			<Object type="BarycentricMapping" />
		</Node>
	</Node>
	<Object type="Sphere" name="Floor" filename="mesh/floor.sph" simulated="0" moving="0" contactStiffness="1000"/>
	<MechanicalObject dy="-12.5" />
	<Object type="OglModel" name="FloorV" fileMesh="mesh/floor2.obj" texturename="textures/floor2.png" dy="-12.5" />
</Node>