Forum Replies Created
-
AuthorPosts
-
Cristóbal RoderoBlocked
Problem solved!
It seems that when I change the grid resolution in the Sofa Modeler, it keeps the edges, quads and hexaedra from the previous resolution so, if I set them to 0, it automatically set the adequate amount of edges, quads and hexaedra.
Lot of thanks!
Cristóbal
Cristóbal RoderoBlockedThanks Hugo,
but now I have problems with the grid resolutions. If I change to n = “3 3 3” for example, with the SparseGrid I get a cube formed by 2x2x2 sub-cubes; but with the RegularGrid I get an error and the simulation doesn’t work.
The idea of the simulation I’m trying to do is to fix the vertices when y = 0 (simulating the floor) but with different “structures” (I mean, different subdivisions) of the cube.
Sorry for the inconveniences.
Thanks,
CristóbalCristóbal RoderoBlockedYes, tell me if you need more:
<SparseGridTopology name="sparseGridTopology3" fileTopology="mesh/cube.obj" n="2 2 2" /> <MechanicalObject template="Vec3d" name="mObject1" position="0 0 0" velocity="0 0 0" force="0 0 0" externalForce="0 0 0" restScale="1" showObject="0" showObjectScale="1" showIndices="0" showIndicesScale="0.002" /> <FixedConstraint template="Vec3d" name="fixedConstraint3" indices="0 1 4 5" /> <WriteState name="writeState1" listening="1" filename="FinalPos_SOFA" />
Thanks for the quick reply!
Cheers,
Cristóbal
Cristóbal RoderoBlockedDear Hugo,
yes, all clear! After some tests I decided to keep using UniformMass, but specifying the TotalMass instead of the Mass.
Even though, all the information has been useful.
Thank you!
Cristóbal
-
AuthorPosts