A Mystran writer error when using 1d element

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: A Mystran writer error when using 1d element

Post by bernd »

fyi:

Code: Select all

>>> 
>>> import math
>>> math.pi
3.141592653589793
>>> 
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: A Mystran writer error when using 1d element

Post by bernd »

https://github.com/berndhahnebach/FreeC ... 2c5982a72c

just made it pep8 compatible ... no tests yet
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: A Mystran writer error when using 1d element

Post by bernd »

FreeCAD FEM 3D truss from solver calculix and z88, see examples gui ... 8145 Meter is surely wrong ...

John have you tested your circular as well?

3D_truss_mystran.FCStd
(61.44 KiB) Downloaded 66 times
Attachments
Screenshot_20210917_182703.png
Screenshot_20210917_182703.png (156.96 KiB) Viewed 1931 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: A Mystran writer error when using 1d element

Post by bernd »

if a rectangular section 222x22 mm is used I get reasonable results ... of 8.1 mm maximal deflection
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: A Mystran writer error when using 1d element

Post by johnwang »

PBARL maybe working without the continuation mark.
Last edited by johnwang on Sun Sep 19, 2021 4:32 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: A Mystran writer error when using 1d element

Post by johnwang »

bernd wrote: Fri Sep 17, 2021 4:29 pm 8145 Meter is surely wrong ...
I got the same result.
The Young's Modulus is 200GPa, but the output is small.

Code: Select all

MAT1           1 200000.              .3
change to 200.+09 will gives the right result.
3dT0.jpg
3dT0.jpg (33.67 KiB) Viewed 1707 times
Mesh.dat.txt
(27.88 KiB) Downloaded 46 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: A Mystran writer error when using 1d element

Post by johnwang »

Added more elements. The middle part seems not moving.
3dT5.jpg
3dT5.jpg (35.18 KiB) Viewed 1662 times
3dT3.jpg
3dT3.jpg (13.54 KiB) Viewed 1662 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: A Mystran writer error when using 1d element

Post by bernd »

attached with rectangle section. everything seams correct. It can be seen we did not define hinges ... one of the things to do after the sections work correct ...


3D_truss_mystran_rectangle_section.FCStd
(73.64 KiB) Downloaded 51 times

Screenshot_20210918_132453.png
Screenshot_20210918_132453.png (132.71 KiB) Viewed 1641 times
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: A Mystran writer error when using 1d element

Post by bernd »

we should get this with the circular as well, but something goes wrong with them ...
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: A Mystran writer error when using 1d element

Post by johnwang »

bernd wrote: Sat Sep 18, 2021 11:27 am we should get this with the circular as well, but something goes wrong with them ...
You need use m for mesh, not mm.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply