FEM SolverMystran/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "add_mesh.py - Ajout de cartes d'éléments")
(Created page with "add_femelement_material.py - Ajout de la carte MAT1")
Line 96: Line 96:
add_mesh.py - Ajout de cartes d'éléments
add_mesh.py - Ajout de cartes d'éléments


add_femelement_material.py - Adding MAT1 card
add_femelement_material.py - Ajout de la carte MAT1


add_con_fixed.py - Adding SPCADD and SPC1 cards
add_con_fixed.py - Adding SPCADD and SPC1 cards

Revision as of 20:17, 27 September 2021

Other languages:

Cette documentation n'est pas terminée. Merci de nous aider et de contribuer à la documentation.

Modèle GuiCommand explique comment les commandes doivent être documentées. Parcourez Category:UnfinishedDocu pour voir d'autres pages incomplètes comme celle-ci. Voir Category:Command_Reference pour toutes les commandes.

Voir Écrire une page Wiki pour apprendre à éditer les pages du wiki, et aller à Contribuer à FreeCAD pour apprendre d'autres façons de contribuer.

FEM Solveur Mystran

Emplacement du menu
Solve → Solver Mystran
Ateliers
FEM
Raccourci par défaut
S M
Introduit dans la version
-
Voir aussi
FEM Tutoriel

Description

A faire

Utilisation

A faire

Fonction du fichier

Sous Mod\Fem\femsolver\mystran, il y a ces fichiers :

add_con_displacement.py
add_con_fixed.py
add_con_force.py
add_femelement_geometry.py
add_femelement_material.py
add_mesh.py
add_solver_control.py
writer.py
solver.py
tasks.py

Les fonctions de chaque fichier sont les suivantes :

writer.py - fichier de contrôle principal

model = BDF()
model = add_solver_control.add_solver_control(pynasf, model, self)
model = add_femelement_geometry.add_femelement_geometry(pynasf, model, self)
model = add_mesh.add_mesh(pynasf, model, self)
model = add_femelement_material.add_femelement_material(pynasf, model, self)
model = add_con_fixed.add_con_fixed(pynasf, model, self)
model = add_con_displacement.add_con_displacement(pynasf, model, self)
model = add_con_force.add_con_force(pynasf, model, self)

BDF() - Crée un fichier de cas vide.

$pyNastran: version=msc
$pyNastran: punch=False
$pyNastran: encoding=utf-8
$pyNastran: nnodes=0
$pyNastran: nelements=0
ENDDATA

add_solver_control.py - Ajout du DECK DE CONTRÔLE EXÉCUTIF et du DECK DE CONTRÔLE DE CASE.

$EXECUTIVE CONTROL DECK
SOL 101
CEND
$CASE CONTROL DECK
ECHO = NONE
TITLE = pyNastran for generating solverinput for for Mystran
SUBCASE 1
    DISPLACEMENT(SORT1,REAL) = ALL
    LOAD = 1
    SPC = 1
    SPCFORCES(SORT1,REAL) = ALL
    STRESS(SORT1,REAL,VONMISES,BILIN) = ALL
    SUBTITLE = Default
BEGIN BULK
$PARAMS
PARAM       POST      -1

add_femelement_geometry.py - Ajout de cartes GRID

add_mesh.py - Ajout de cartes d'éléments

add_femelement_material.py - Ajout de la carte MAT1

add_con_fixed.py - Adding SPCADD and SPC1 cards

add_con_displacement.py - Adding SPCADD and SPC1 cards

add_con_force.py - Adding FORCE cards