GiD Postprocess

Moderator: GiD Team

Post Reply
ivan.mr4

GiD Postprocess

Post by ivan.mr4 »

Hello,

I´m writing a code to send the results from our calculations to GiD postprocess and I have a couple of questions:

Is there a way to open GiD from matlab once the results and mesh files have been created? I mean, once I run my code, at the end, Matlab will open GiD in postprocessing mode with the files generated already charged.

Why I dont get all the results but only couple of them and the option "more..." in the postprocessing view in the Contour fill button. That option open the window "View Results & Deformation" with the rest of the results.
¿Can i see all the results in this tabs instead to need to open the window?

Thank you.

Greetings!
User avatar
escolano
Posts: 1918
Joined: Sun Sep 05, 1982 10:51 pm

Re: GiD Postprocess

Post by escolano »

I don't know what is the command to start a program from Matlab.
you can start GiD and provide extra command line arguments,
e.g.
To open a GiD model

Code: Select all

gid.exe "C:\Program Files\GiD\GiD 12.1.3d\examples\arc3D.gid"
To evaluate a batch file (a file with GiD commands)

Code: Select all

gid.exe -b your_batch_file.bch
the GiD commands could for example open a model, go to postprocess and show a result
Invoke a Tcl procedure,... Here you can see all command line options:
http://www.gidhome.com/component/manual ... voking_gid

About the option 'more...' in result's menus, I think that it only appear if there are a lot of results (e.g. 100) and there is no space to show the list of all. With a couple of results all of them will be added to menus!!
Maybe you can attach an example to show your case.
ivan.mr4

Re: GiD Postprocess

Post by ivan.mr4 »

For open from Matlab I finnally found the command line

winopen( msh_file );

Once that the msh file is assigned to GiD this will open the program in Postprocess mode without problems.

About the "more..." option it appears only with a long list of results in the window so it wont be a problem :D
I´ll attach a image with the example.

Thank you!
Attachments
more....png
more....png (4.91 KiB) Viewed 4185 times
Post Reply