### Topological Mapping (3/7)

Description

In this step we will add a mechanical behavior to the tetrahedral mesh using an ODE solver, finite element and mass. Thus, the cylinder can be deformed by gravity or the user.

Key points

- EulerImplicitSolver component is used to solve the mechanical ODE system.
- CGLinearSolver component is used to solve the linear system at each step of the ODE system.
- TetrahedralCorotationalFEM is used to create tetrahedral finite element on this mechanical system.
- DiagonalMass describe a global mass of the mesh elements.
- Constraint components are used here to fix on extremity face of the cylinder.

Add an EulerImplicitSolver component to the Tetrahedrons Mesh node.

Repeat with a CGLinearSolver component. Change the tolerance property to 1e-09, and in the Property 2/2 tab, change the threshold property to 1e-09.

Add a TetrahedralCorotationalFEMForceField component. Change the FEM Poisson Ratio to "0.3", and the FEM Young Modulus to 360.

Add a DiagonalMass component. In the Property 2/2 tab, change the mass density to "2".

Add a FixedPlaneProjectiveConstraint component. In the Property 2/2 tab, change the normal direction of the plane to (0 0 1), the minimum plane distance from the origin to "-0.1" and the maximum plane distance from the origin to "0.1".

Add a FixedConstraint component.

Results

Adding these components create a mechanical behavior for this cylinder. Adding some gravity on the scene, we can see that the cylinder starts to bend.

In this step, as there is no surface for visual model. We can see the finite elements.

### Previous ____________ Next