FEM SolverMystran: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 33: Line 33:


==File function== <!--T:9-->
==File function== <!--T:9-->

Under Mod\Fem\femsolver\mystran:


<!--T:4-->
<!--T:4-->
Line 47: Line 49:
}}
}}


BDF() - Create empty case file.
add_solver_control.py
{{Code|code=
$pyNastran: version=msc
$pyNastran: punch=False
$pyNastran: encoding=utf-8
$pyNastran: nnodes=0
$pyNastran: nelements=0
ENDDATA
}}

add_solver_control.py - Adding EXECUTIVE CONTROL DECK and CASE CONTROL DECK.
{{Code|code=
{{Code|code=



Revision as of 05:43, 17 September 2021

Other languages:

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

FEM SolverZ88

Menu location
Solve → Solver Z88
Workbenches
FEM
Default shortcut
S Z
Introduced in version
-
See also
FEM tutorial

Description

ToDo

Usage

ToDo

File function

Under Mod\Fem\femsolver\mystran:

writer.py - main control file

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() - Create empty case file.

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

add_solver_control.py - Adding EXECUTIVE CONTROL DECK and CASE CONTROL DECK.

$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 add_mesh.py add_femelement_material.py add_con_fixed.py add_con_displacement.py - add_con_force.py