FEM SolverMystran

Description
The SolverMystran command enables usage of the MYSTRAN solver. It may be used for:
 * 1) Setting analysis parameters
 * 2) Selecting working directory
 * 3) Running the MYSTRAN solver

Installation
You can get Mystran Windows exe from here Download Mystran.exe and put that folder where you save it into Windows's PATH.

The SolverMystran also needs two other packages:
 * 1) pyNastran - to write out case file.
 * 2) hfcMystran  - to read in Mystran's NEU result file.

pyNastran can be installed through pip.

Open a Command terminal under your FreeCAD\bin folder.

key in:

It will be installed under FreeCAD\bin\site-pakages folder.

hfcMystran can be downloaded from its github site as a zip file. Unzip it under FreeCAD\Mod. It will be FreeCAD\Mod\hfcMystran.

QuickTest
After installation, in FEM workbench, you can select Utilities\Open FEM examples to open the FEM examples window. Under Solver\Mystran, you can find some working Mystran examples.

Usage
ToDo

File function
Under Mod\Fem\femsolver\mystran, there are these files:

The function of each file are:

writer.py - main control file

BDF - Create empty case file.

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

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