FEM SolverMystran: Difference between revisions
(Removed manual translation tags.) |
(Wiki code.) |
||
Line 32: | Line 32: | ||
Under Mod\Fem\femsolver\mystran, there are these files: |
Under Mod\Fem\femsolver\mystran, there are these files: |
||
</translate> |
|||
{{Code|code= |
{{Code|code= |
||
add_con_displacement.py |
add_con_displacement.py |
||
Line 44: | Line 45: | ||
tasks.py |
tasks.py |
||
}} |
}} |
||
<translate> |
|||
The function of each file are: |
The function of each file are: |
||
writer.py - main control file |
writer.py - main control file |
||
</translate> |
|||
{{Code|code= |
{{Code|code= |
||
model = BDF() |
model = BDF() |
||
Line 58: | Line 62: | ||
model = add_con_force.add_con_force(pynasf, model, self) |
model = add_con_force.add_con_force(pynasf, model, self) |
||
}} |
}} |
||
<translate> |
|||
BDF() - Create empty case file. |
BDF() - Create empty case file. |
||
</translate> |
|||
{{Code|code= |
{{Code|code= |
||
$pyNastran: version=msc |
$pyNastran: version=msc |
||
Line 68: | Line 75: | ||
ENDDATA |
ENDDATA |
||
}} |
}} |
||
<translate> |
|||
add_solver_control.py - Adding EXECUTIVE CONTROL DECK and CASE CONTROL DECK. |
add_solver_control.py - Adding EXECUTIVE CONTROL DECK and CASE CONTROL DECK. |
||
⚫ | |||
</translate> |
|||
⚫ | |||
$EXECUTIVE CONTROL DECK |
$EXECUTIVE CONTROL DECK |
||
SOL 101 |
SOL 101 |
||
Line 89: | Line 98: | ||
PARAM POST -1 |
PARAM POST -1 |
||
}} |
}} |
||
<translate> |
|||
add_femelement_geometry.py - Adding GRID cards |
add_femelement_geometry.py - Adding GRID cards |
||
Revision as of 10:13, 27 September 2021
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 SolverMystran |
Menu location |
---|
Solve → Solver Mystran |
Workbenches |
FEM |
Default shortcut |
S M |
Introduced in version |
- |
See also |
FEM tutorial |
Description
ToDo
Usage
ToDo
File function
Under Mod\Fem\femsolver\mystran, there are these files:
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
The function of each file are:
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 - Adding GRID cards
add_mesh.py - Adding element cards
add_femelement_material.py - Adding MAT1 card
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
- Materials: Solid, Fluid, Nonlinear mechanical, Reinforced (concrete); Material editor
- Element geometry: Beam (1D), Beam rotation (1D), Shell (2D), Fluid flow (1D)
Constraints
- Electromagnetic: Electrostatic potential, Current density, Magnetization
- Geometrical: Plane rotation, Section print, Transform
- Mechanical: Fixed, Displacement, Contact, Tie, Spring, Force, Pressure, Centrif, Self weight
- Thermal: Initial temperature, Heat flux, Temperature, Body heat source
- Overwrite Constants: Constant vacuum permittivity
- Solve: CalculiX Standard, Elmer, Mystran, Z88; Equations: Deformation, Elasticity, Electrostatic, Electricforce, Magnetodynamic, Magnetodynamic 2D, Flow, Flux, Heat; Solver: Solver control, Solver run
- Results: Purge, Show; Postprocessing: Apply changes, Pipeline from result, Warp filter, Scalar clip filter, Function cut filter, Region clip filter, Contours filter, Line clip filter, Stress linearization plot, Data at point clip filter, Filter function plane, Filter function sphere, Filter function cylinder, Filter function box
- Additional: Preferences; FEM Install, FEM Mesh, FEM Solver, FEM CalculiX, FEM Concrete; FEM Element Types
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub