Page 1 of 1

GiD Postprocess

Posted: Sun Mar 01, 2015 7:01 pm
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!

Re: GiD Postprocess

Posted: Tue Mar 03, 2015 10:49 am
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.

Re: GiD Postprocess

Posted: Sun Mar 29, 2015 3:17 pm
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!