Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0"?>
<Node name="root" gravity="0 0 0" dt="0.05" >
<VisualStyle name="visualStyle1" displayFlags="showVisual showBehaviorModels" />
<DefaultPipeline name="defaultPipeline1" verbose="0" />
<BruteForceDetection name="N2" />
<DefaultContactManager name="defaultContactManager1" response="default" />
<MinProximityIntersection name="Proximity" alarmDistance="0.8" contactDistance="0.5" />
<DefaultCollisionGroupManager name="defaultCollisionGroupManager1" />
<Node name="TT" >
<EulerImplicitSolver name="cg_odesolver" printLog="0" />
<CGLinearSolver template="GraphScattered" name="linear solver" iterations="25" tolerance="1e-09" threshold="1e-09" />
<MeshGmshLoader name="loader" filename="mesh/cylinder.msh" tetrahedraGroups=" -1 0 2430" />
<MechanicalObject template="Vec3d" name="Volume" position="@loader.position" velocity="0 0 0" force="0 0 0" externalForce="0 0 0" restScale="1" />
<TetrahedronSetTopologyContainer name="Container" position="@loader.position" edges="@loader.edges" triangles="@loader.triangles" tetrahedra="@loader.tetras" />
<TetrahedronSetTopologyModifier name="Modifier" />
<TetrahedronSetTopologyAlgorithms template="Vec3d" name="TopoAlgo" />
<TetrahedronSetGeometryAlgorithms template="Vec3d" name="GeomAlgo" />
<DiagonalMass template="Vec3d" name="diagonalMass1" massDensity="0.5" />
<FixedPlaneConstraint template="Vec3d" name="fixedPlaneConstraint1" direction="0 0 1" dmin="-0.1" dmax="0.1" />
<FixedConstraint template="Vec3d" name="fixedConstraint1" indices="0" />
<TetrahedralCorotationalFEMForceField template="Vec3d" name="FEM" method="large" poissonRatio="0.3" youngModulus="360" />
<Node name="T" >
<TriangleSetTopologyContainer name="Container" nbPoints="@.nbPoints" position="@.position" edges="@.edges" checkConnexity="@.checkConnexity" triangles="@.triangles" />
<TriangleSetTopologyModifier name="Modifier" />
<TriangleSetTopologyAlgorithms template="Vec3d" name="TopoAlgo" />
<TriangleSetGeometryAlgorithms template="Vec3d" name="GeomAlgo" />
<Tetra2TriangleTopologicalMapping name="tetra2TriangleTopologicalMapping1" input="@../Container" output="@Container" />
<TriangularFEMForceField template="Vec3d" name="FEM" method="large" poissonRatio="0.3" youngModulus="60" />
<TriangularBendingSprings template="Vec3d" name="FEM-Bend" stiffness="300" damping="1" />
<TrianglePressureForceField template="Vec3d" name="trianglePressureFF1" pressure="0.4 0 0" normal="0 0 1" dmin="0.9" dmax="1.1" />
<TTriangleModel template="Vec3d" name="tTriangleModel1" />
<OBJExporter name="oBJExporter0" listening="1" filename="/home/zahra/sofa/Work/trianglemeshexportcheck/cylinder_surface" exportEveryNumberOfSteps="1" exportAtBegin="1" exportAtEnd="1" />
<Node name="Visu" >
<OglModel template="ExtVec3f" name="Visual" material="Default Diffuse 1 0 0 1 1 Ambient 1 0 0 0.2 1 Specular 0 0 0 1 1 Emissive 0 0 0 1 1 Shininess 0 45 " primitiveType="DEFAULT" blendEquation="GL_FUNC_ADD" sfactor="GL_SRC_ALPHA" dfactor="GL_ONE_MINUS_SRC_ALPHA" />
<IdentityMapping template="Vec3d,ExtVec3f" name="identityMap1" input="@../../Volume" output="@Visual" />
</Node>
</Node>
</Node>
</Node>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.