We are hidding this “ugly” DOS console, then it looks more like a single package instead two separated programs.
To see your process information you can use, as you said, the View process info window.
You must “say” GiD the file name with your “process information” with an special comment in the .windows.bat file:
e.g imagine that your solver is writtin this information in a file with the same name as the current model and with extension .log, then you must put this in your bat file
rem OutputFile: %2%1.log
and if your solver detect some error, can write if for example in a file .err and let you know to GiD with this comment:
rem ErrorFile: %2%1.err
then if this file exists and it’s not void, GiD will show the contents in an error message.
Note. It’s more recommended that your program write the process information in a file (like the .log file) ,
but if you are only writting to the standard output (console) and you don’t want to change your program, can redirect this output
to a file with “” (send to a new file) or “” (append if the file exists)
inside your code it’s also recommended to invoke a flush command after write something to the log file, to force the internal buffers to write its contents to the file
Your .windows.bat file can look like this:
rem OutputFile: %2%1.log
rem ErrorFile: %2%1.err
%3\yoursolver.exe %2%1.dat %2%1.log
Enrique
----- Original Message -----
From: Phillipe D. Alves
To: gidlist at gid.cimne.upc.edu
Sent: Wednesday, May 14, 2008 7:20 PM
Subject: [GiDlist] DOS window
Hi all, I have some questions about GiD.
When I use the menu CALCULATE to call my analysis code I get run my solver but I can’t visualize the solver running in the window.
I want to show the process running in DOS window (like ANSYS analysis running, for example), because my analysis has a lot of iterations.
Is there some possibility to make this? Can I use the menu “View process info”? How can I do this?
Regards
P. D. Alves
\
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20080514/a21a9293/attachment.htm