FEM Condition limite de déplacement

From FreeCAD Documentation
Revision as of 10:45, 1 April 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

FEM Contrainte de déplacement

Emplacement du menu
Modèle → Contraintes mécaniques → Contrainte de déplacement
Ateliers
FEM
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
FEM Tutoriel

Description

Crée une contrainte FEM pour un déplacement imposé d'un objet sélectionné pour un degré de liberté spécifié.

Utilisation

  1. Il existe plusieurs façons de lancer la commande :
    • Appuyez sur le bouton Contrainte de déplacement.
    • Sélectionnez l'option Modèle → Contraintes mécaniques → Contrainte de déplacement dans le menu.
  2. Dans la Vue 3D, sélectionnez l'objet auquel la contrainte doit être appliquée, qui peut être un sommet (coin), une arête ou une face.
  3. Choisir un degré de liberté ou imposer un déplacement.

Formulas

introduced in version 1.0

General

For the solver Elmer it is possible to define the displacement as a formula. In this case the solver sets the displacement according to the give formula variable.

Take for example the case that we want to perform a transient analysis. For every time step the displacement should be increased by 6 mm:

enter this in the Formula field:
Variable "time"; Real MATC "0.006*tx"

This code has the following syntax:

  • the prefix Variable specifies that the displacement is not a constant but a variable
  • the variable is the current time
  • the displacement values are returned as Real (floating point) values
  • MATC is a prefix for the Elmer solver indicating that the following code is a formula
  • tx is always the name of the variable in MATC formulas, no matter that tx in our case is actually t

Rotations

Elmer only uses the Displacement * fields of the constraint. To define rotations, we need a formula.

If for example a face should be rotated according to this condition:

then we need to enter for Displacement x
Variable "time, Coordinate" Real MATC "(cos(tx(0)*pi)-1.0)*tx(1)-sin(tx(0)*pi)*tx(2)

and for Displacement y
Variable "time, Coordinate" Real MATC "(cos(tx(0)*pi)-1.0)*tx(2)+sin(tx(0)*pi)*tx(1)

This code has the following syntax:

  • we have 4 variables, the time and all possible coordinates (x, y z)
  • tx is a vector, tx(0) refers to the first variable, the time while tx(1) is the first coordinate x
  • pi denotes and was added so that after a rotation of 180° is performed

Remarques