CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > EnSight

EnSight - queue of command files and abaqus post-processing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2016, 05:26
Default EnSight - queue of command files and abaqus post-processing
  #1
New Member
 
Paul
Join Date: Apr 2012
Posts: 27
Rep Power: 14
Delcraft is on a distinguished road
Hello,

I have prepared a command file (.enc) which performs some post-treatment operations on my results. I need to perform it many times on different result files (actually many scripts with different paths / results etc.). I would like to run it all in a sequence through the batch mode, I found that I can run one with the following command:

Code:
ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3a.enc
I know that in batch mode EnSight finally quit after executed a command file and I hoped that I can just place same commands in a queue to run it sequentially, like that:

Code:
ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3a.enc
ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3b.enc
ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3c.enc
But when EnSight finishes to run the first command it quit not only the program but my .bat file also, so the following commands do not perform at all. The cmd commands like pause or pind don't help.
Is there any command which forces EnSight to wait until the first script is finished and run the next one and so on?

My second question is not related to the first. How can I open abaqus .odb file in EnSight? In my version there is not such option. Is there additional package which permits to do this?

Thank you in advance!

Best Regards,

Delcraft
Delcraft is offline   Reply With Quote

Old   June 1, 2016, 16:38
Default
  #2
Member
 
Marina G's Avatar
 
Marina Galvagni
Join Date: Apr 2014
Location: North Carolina, USA
Posts: 58
Rep Power: 12
Marina G is on a distinguished road
Hi Paul,

That seems to be a problem with the bat script. You need to add a "call" at the beginning of each command, so that your script becomes:

call ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3a.enc
call ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3b.enc
call ensight100 -batch 1920 1200 -p Depouillement_NS3D_Venturi_BAS_REF_C3c.enc

Give a look here and links in this page for a more detailed explanation of why you need the "call":

http://stackoverflow.com/questions/4...t-all-three-li


About your second question: the Abaqus reader is not installed by default with EnSight. When you run the installer, you will need to explicitly select it to have it added to your installation. It sounds like this reader wasn't selected when you first installed EnSight. To add it, simply re-run the installer and select the Abaqus reader. This will add the reader in your installation.

If, after this, you still don't see the Abaqus reader, it's possible that it is set to not be visible in your instance of Ensight. Open EnSight and go into Edit -> Preferences -> Data. A list of all available readers will appear. Select the Abaqus reader so that you have (*) next to it, and save the preferences. Now you should be able to see the reader every time you open EnSight.

Let us know if you have more questions or problems.

Bests,
Marina Galvagni
CEI Software Support Engineer
Marina G is offline   Reply With Quote

Reply

Tags
batch mode, command file, ensight, queque


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:17.