.grid and .xml files without clicking CALCULATE

Moderator: GiD Team

Post Reply
eduardrocas
Posts: 30
Joined: Thu Dec 11, 2014 2:34 pm

.grid and .xml files without clicking CALCULATE

Post by eduardrocas »

Hello,

I would like to know how to obtain the ".grid" and ".xml" files without having to click on CALCULATE.
What I would like to do is run GiD externally, so that GiD interprets a Tcl script that changes the geometry, and have a a variety of ".grid" and ".xml" files for different geometries. Afterwards I will submit these geometries to my executable to solve for the fields.

Thanks,
Eduard
User avatar
escolano
Posts: 1922
Joined: Sun Sep 05, 1982 10:51 pm

Re: .grid and .xml files without clicking CALCULATE

Post by escolano »

You can export the calculation file without starting the calculation (running the .bat file of the problemtype).

Mescape Files WriteCalcFile <your_filename>

Note: The calculation file/s has .dat extension, not .grid or .xml (each .bas template generate a .dat calculation file)
eduardrocas
Posts: 30
Joined: Thu Dec 11, 2014 2:34 pm

Re: .grid and .xml files without clicking CALCULATE

Post by eduardrocas »

That is perfect!

Thanks,
Eduard
Post Reply