File: SparseGridRamificationTopology.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 (110 lines) | stat: -rwxr-xr-x 3,640 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<Node name="root"  gravity="0 0 0" dt="0.02" showBehaviorModels="1" showVisualModels="1" showCollisionModels="0" showMappings="0" showForceFields="1">
	
	
	<Object type="CollisionPipeline" depth="6" verbose="0" draw="0"/>
	<Object type="BruteForceDetection" name="N2" />
	<Object type="MinProximityIntersection" name="Proximity" alarmDistance="0.5" contactDistance="0.3" />
	<Object type="CollisionResponse" name="Response" response="default" />
	<Object type="CollisionGroup" name="Group" />
	

	
	
	<Node name="NonUniformC">
		<Object type="SparseGridRamification"
				  n="5 2 2"
				  fileTopology="mesh/c.obj"
				  nbVirtualFinerLevels="3"
				  finestConnectivity="0"
				  />
		<Object type="EulerImplicit" />
		<Object type="CGLinearSolver" iterations="10" />
		<Object type="MechanicalObject" />
		
		
		<Object type="NonUniformHexahedronFEMForceFieldAndMass" nbVirtualFinerLevels="3" youngModulus="6400000" poissonRatio="0.3" method="large" density="10" updateStiffnessMatrix="false" printLog="0"/>

		<Object type="BoxConstraint" box="-16 -10 -3 -14 10 3"/>
		
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/c.obj" color="blue" />
			<Object type="BarycentricMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf">
			<Object type="MeshLoader" name="meshLoader"  filename="mesh/c.obj"/>
			<Object type="Mesh"/>
			<Object type="MechanicalObject"/>
			<Object type="Triangle" />
			<Object type="Point" />
			<Object type="Line" />
			<Object type="BarycentricMapping"  /> 
		</Node>
	</Node>
	
	
	<Node name="UniformC">
		<Object type="SparseGridRamification"
				  n="5 2 2"
				  fileTopology="mesh/c.obj"
				  nbVirtualFinerLevels="3"
				  finestConnectivity="0"
				  />
		<Object type="EulerImplicit" />
		<Object type="CGLinearSolver" iterations="10" />
		<Object type="MechanicalObject" dx="40"/>
	
		<Object type="HexahedronFEMForceFieldAndMass" youngModulus="300000" poissonRatio="0.3" method="large" density="3" updateStiffnessMatrix="false" printLog="0"/>
		

		<Object type="BoxConstraint" box="24 -10 -3 26 10 3"/>
		
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/c.obj" color="red" />
			<Object type="BarycentricMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf">
			<Object type="MeshLoader" name="meshLoader"  filename="mesh/c.obj"/>
			<Object type="Mesh"/>
			<Object type="MechanicalObject"/>
			<Object type="Triangle" />
			<Object type="Point" />
			<Object type="Line" />
			<Object type="BarycentricMapping"  /> 
		</Node>
	</Node>
	

	<Node name="UniformC and finestConnectivity">
		<Object type="SparseGridRamification"
				  n="5 3 3"
				  fileTopology="mesh/c.obj"
				  nbVirtualFinerLevels="0"
				  finestConnectivity="1"
				  />
		<Object type="EulerImplicit" />
		<Object type="CGLinearSolver" iterations="10" />
		<Object type="MechanicalObject" dx="80"/>
		
		<Object type="HexahedronFEMForceFieldAndMass" youngModulus="20000" poissonRatio="0.3" method="large" density="3" updateStiffnessMatrix="false" printLog="0"/>
		
		
		<Object type="BoxConstraint" box="64 -10 -3 66 10 3"/>
		
		<Node name="Visu">
			<Object type="OglModel" name="Visual" fileMesh="mesh/c.obj" color="yellow" />
			<Object type="BarycentricMapping" object1="../.." object2="Visual" />
		</Node>
		<Node name="Surf">
			<Object type="MeshLoader" name="meshLoader"  filename="mesh/c.obj"/>
			<Object type="Mesh"/>
			<Object type="MechanicalObject"/>
			<Object type="Triangle" />
			<Object type="Point" />
			<Object type="Line" />
			<Object type="BarycentricMapping"  /> 
		</Node>
	</Node>

		
	
</Node>