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!
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…[Read more]
Yes, tell me if you need more:
<SparseGridTopology name="sparseGridTopology3" fileTopology="mesh/cube.obj" n="2 2 2" />[Read more]
<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"…
I’m doing a simulation where I get the topology from mesh/cube.obj. I’m fixing all the vertices with FixedConstraint and writing out the final state with WriteState. My surprise was to find out that, even in the initial position the vertices are moved from where they should be at.
For example, the last vertex should be (as is in the…[Read more]
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.
I’m trying to build a cube with FEM with a variable number of (hexahedral or tetrahedral) elements. I found the component SparseGridTopology and I thought it could provide me what I want.
The problem I encountered was using the example SparseGridTopology.scn, because it seems that when the mesh is refined, there is a loss of…[Read more]