File: Hexa2QuadTopologicalMapping.scn

package info (click to toggle)
sofa-framework 1.0~beta4-12
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88,828 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (35 lines) | stat: -rw-r--r-- 1,605 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
<Node name="root" dt="0.05" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="0" showBoundingTree="0" gravity="0 -9.81 0">
	<Object type="CollisionPipeline" verbose="0" />
	<Object type="BruteForceDetection" name="N2" />
	<Object type="CollisionResponse" response="default" />
	<Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.8" contactDistance="0.5" />
	<Object type="CollisionGroup" />

	<Node name="H">

		<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="MeshLoader" name="meshLoader" filename="mesh/nine_hexa.msh"/>
		<Object type="MechanicalObject" name="Hexa" />
		<include href="Objects/HexahedronSetTopology.xml" />

		<Object type="HexahedralFEMForceField" name="FEM" youngModulus="100" poissonRatio="0.3"  method="large" />
		<Object type="DiagonalMass" massDensity="0.5" />
<!--		<Object type="FixedConstraint" indices="12 15 28 31" />     -->
		<BoxConstraint box="0 3 0 0 3 1 3 3 0 3 3 1" />
		
		<Node name="Q">
			<include href="Objects/QuadSetTopology.xml" />
			<Object type="Hexa2QuadTopologicalMapping" object1="../../Container" object2="Container"/>	

           		<Object type="QuadularBendingSprings" name="FEM-Bend" stiffness="3000" damping="1.0"/>
			<Object type="TriangleSet"/>
			<Node name="Visu">
				<Object type="OglModel" name="Visual" color="blue" />
				<Object type="IdentityMapping" object1="../../../Hexa" object2="Visual" />
			</Node>
		</Node>
	</Node>
</Node>