hfcMYSTRAN - a test case

About the development of the FEM module/workbench.

Moderator: bernd

HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: hfcMYSTRAN - a test case

Post by HoWil »

johnwang wrote: Fri May 29, 2020 11:25 pm Why volume mesh? This is a shell.
:D because I am curious if I/we can use it for meshing volumes
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

CBAR with a TUBE profile
cbar.jpg
cbar.jpg (23.9 KiB) Viewed 1965 times
Last edited by johnwang on Fri Jun 05, 2020 6:38 am, edited 1 time in total.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

CBAR with a T2 profile
t2d.jpg
t2d.jpg (13.77 KiB) Viewed 1908 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

mystran's all-elem-test.dat case. A plain supported by some frames.

FC doesn't support mixed meshes now, so have to draw twice, one with faces and the other one with edges. But for animation, only one could be viewed at one time.
all-elem-test.jpg
all-elem-test.jpg (29.42 KiB) Viewed 1828 times
all-elem-test.gif
all-elem-test.gif (374.77 KiB) Viewed 1828 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: hfcMYSTRAN - a test case

Post by HoWil »

johnwang wrote: Sat Jun 13, 2020 4:05 am mystran's all-elem-test.dat case. A plain supported by some frames.

FC doesn't support mixed meshes now, so have to draw twice, one with faces and the other one with edges. But for animation, only one could be viewed at one time.

all-elem-test.jpg

all-elem-test.gif
You did apply a force or? Is it a face load or is it only one force on the middle line of the face?
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

HoWil wrote: Fri Jun 19, 2020 2:02 pm
You did apply a force or? Is it a face load or is it only one force on the middle line of the face?
PLOAD2 on CQUAD4 & CTRIA3 shell


SubCase 91
sc91.jpg
sc91.jpg (13.39 KiB) Viewed 1656 times
sc91b.jpg
sc91b.jpg (11.35 KiB) Viewed 1656 times
pload2.jpg
pload2.jpg (48.01 KiB) Viewed 1750 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

Mystran now support CBUSH now. This is a test case from https://github.com/dr-bill-c/MYSTRAN/issues/11
cbush.gif
cbush.gif (227.86 KiB) Viewed 1473 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: hfcMYSTRAN - a test case

Post by bernd »

I gave Mystran a try. I installed https://github.com/ceanwang/hfcMystran to read the result file into FreeCAD but I got an error message ...

Code: Select all

14:02:03  Running the Python command 'hfcMystranNeuInWire' failed:
Traceback (most recent call last):
  File "/home/hugo/.FreeCAD/Mod/hfcMystran/hfcMystranNeuInWire.py", line 203, in Activated
    iniFout = open(inifileOut,"w")

[Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/local/Mod/hfcMystran/hfcMystran.ini'
Where do I get this ini file from? Is it really needed to read the results?

cheers bernd
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: hfcMYSTRAN - a test case

Post by johnwang »

bernd wrote: Wed Jul 14, 2021 12:04 pm
[Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/local/Mod/hfcMystran/hfcMystran.ini'[/code]
You can create one txt file. Just one line of the path where you last opened the case file.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: hfcMYSTRAN - a test case

Post by bernd »

johnwang wrote: Wed Jul 14, 2021 12:16 pm
bernd wrote: Wed Jul 14, 2021 12:04 pm
[Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/local/Mod/hfcMystran/hfcMystran.ini'[/code]
You can create one txt file. Just one line of the path where you last opened the case file.
Did not work either. I might did something wrong. Nevermind ... https://github.com/ceanwang/hfcMystran/pull/1 I added some code to use the standard FreeCAD way to open or import a file.

You did a great work with these importer :D


screen.png
screen.png (192.88 KiB) Viewed 1056 times
Post Reply