Once all the problem type files are finished (.cnd, .mat, .prb, .sim, .bas files), you can run the solver. You may wish to run it directly from inside GiD.
To do so, it is necessary to create the file
Because the .bat file will be different depending on the operating system, it is possible to create two files: one for Windows and another for Unix/Linux. The Windows file has to be called:
If GiD finds a
project_name(name of the current project);
c:\a\b\c\project_name.gid(path of the current project);
c:\a\b\c\problem_type_name.gid(path of the problem type selected);
Among other utilities, this script can move or rename files and execute the process until it finishes.
Note 1: This file must have the executable flag set (see the UNIX command chmod +x) in UNIX systems.
Note 2: GiD sets as the current directory the model directory (example:
Note 3: In UNIX platforms check you have installed the shell you are using in the .unix.bat script, there are more than one possibilities: bash, csh, tcsh, ...
The first line of the script specify the shell to be used, for example
In Windows platforms, the command.exe provided by GiD is used instead the standard cmd.exe or command.com