MYSTRAN Forum
Gmsh - Printable Version

+- MYSTRAN Forum (https://www.mystran.com/forums)
+-- Forum: Pre/Post Processors (https://www.mystran.com/forums/forumdisplay.php?fid=7)
+--- Forum: Pre/Post Processors (https://www.mystran.com/forums/forumdisplay.php?fid=9)
+--- Thread: Gmsh (/showthread.php?tid=43)

Pages: 1 2


Gmsh - JuanP74 - 08-19-2020

Hello,



I would recommend gmsh, at least for postprocessing. The MSH file formats (ASCII and binary) are very well suited for it in my experience (small, medium model sizes) and in ascii format easy to check and modify if necessary. Plotting capabilities are as good as femap and allows for nodal and elemental results. I have created the files with text processor sometimes for small models using f06 results. I think is as good as femap .neu file and easier to read and can be used with a software that is free & open source that does not need installation and runs in all platforms (macOS, windows and linux).

http://gmsh.info/doc/texinfo/gmsh.html#MSH-file-format-version-2-_0028Legacy_0029

I attach an example so you can check by yourselves (this is an ascii file in legacy format 2) for normal modes of a small model (remove .txt extension before opening with gmsh).


RE: PRE/POST OPTIONS FOR MYSTRAN - ceanwang - 08-20-2020

(08-19-2020, 06:35 AM)JuanP74 Wrote: I attach an example so you can check by yourselves (this is an ascii file in legacy format 2) for normal modes of a small model (remove .txt extension before opening with gmsh).

All-Elem-Test


RE: PRE/POST OPTIONS FOR MYSTRAN - JuanP74 - 08-21-2020

(08-20-2020, 10:25 PM)ceanwang Wrote:
(08-19-2020, 06:35 AM)JuanP74 Wrote: I attach an example so you can check by yourselves (this is an ascii file in legacy format 2) for normal modes of a small model (remove .txt extension before opening with gmsh).

All-Elem-Test

Hello, good example.
As a suggestion in gmsh you can define directly vector and tensor results and from them extract any component in the options window (see attachment). Vectors can be ploted as deformation or vector plots. So in general you only need to create 1 vector result for displacements and 1 vector result for rotations, from them components can be ploted if required.


RE: PRE/POST OPTIONS FOR MYSTRAN - ceanwang - 08-21-2020

two subcases


RE: PRE/POST OPTIONS FOR MYSTRAN - JuanP74 - 08-23-2020

(08-21-2020, 09:47 AM)ceanwang Wrote: two subcases

hi, I hand modified your file to show vector display capabilities.


RE: Gmsh - ceanwang - 08-23-2020

This test file defined 9 vectors at the nodes, but I don't understand why it shows 6 vectors at the element center.


RE: Gmsh - JuanP74 - 08-24-2020

(08-23-2020, 10:48 PM)ceanwang Wrote: This test file defined 9 vectors at the nodes, but I don't understand why it shows 6 vectors at the element center.

You have two options to show the arrows: at barycenter or at node, you have to choose at node, see attached picture.


RE: Gmsh - ceanwang - 08-24-2020

Thanks. Is there a setting to set the default to Show at node?

How you show the deformed shape? In View[0]/Aspect/Displacement factor, I changed the value, but seems no effect.

I like this Shrink function


RE: Gmsh - JuanP74 - 08-24-2020

You have to save the options. You have an overall options file that applies by default and you can as well save a file specific options file. It is loaded every time you open that file, otherwise default options apply.

In view>aspect>vector display select displacements


RE: Gmsh - JuanP74 - 08-25-2020

Grouping by physical properties (can be assimilated by mystran input deck element properties) and coloring. Groups prosprocess.