ANSYS BATCH MODE

1,270 views
Skip to first unread message

serkan.guler

unread,
Jun 21, 2011, 9:54:56 AM6/21/11
to Ansys
Hello

I'm performing a modal analysis using the batch mode, in ANSYS version
12.0.

I need to get the images of the deformed shape of the structure for
several mode shapes.
In each image I need to have an overview of the any displacements.

I'm using the following APDL code to get the pictures and save it in
the"D:\" directory:

<APDL CODE>

set,first,,,,,,,,
pldisp , 1
/SHOW,JPEG,,0
JPEG,QUAL,75,
JPEG , ORIENT, HORIZ
JPEG , Color, 2
JPEG , TMOD, 1
/GFILE,800,
/CMAP,_TEMPCMAP_,CMP,,SAVE
/RGB,INDEX,100,100,100,0
/RGB,INDEX,0,0,0,15
/REPLOT
/CMAP,_TEMPCMAP_,CMP
/DELETE,_TEMPCMAP_,CMP
/SHOW,CLOSE
/DEVICE,VECTOR,0

-------------------------


and I can get the output files (.jpeg) of the several mode shapes in
my working directory.

The problem now is that the images of the mode shapes doesnot appear.
I try to reverse the colors of the background from black to white
(/COLOR,WBAK,WHIT and /COLOR,GRBAK,WHIT) but the structural mode shape
is not represented.

Does anyone knows what should be the problem?



Regards,

Serkan Güler
Dokuz Eylül University Izmir
Izmir, Turkey.

Tarik Hadifi

unread,
Jun 21, 2011, 10:18:02 AM6/21/11
to an...@googlegroups.com
Selam Serkan,

i know about that problem. I have tried a similar task. I wanted ansys
to do some simulations in batch mode and export images to my hard
disk. I have been told by our local support that if you want ANSYS to
export images the GUI has to be active.

Hope this helps.
grsrz, Tarik

2011/6/21 serkan.guler <serk...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "Ansys" group.
> To post to this group, send email to an...@googlegroups.com.
> To unsubscribe from this group, send email to ansys+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ansys?hl=en.
>
>

Mahendran R

unread,
Jun 21, 2011, 11:39:19 AM6/21/11
to an...@googlegroups.com
hi
the problem is  jpeg images grab the image from screen literally , so try using png
else run the postprocessing macro in gui mode

Regards
,
R.Mahendran
+33661006527
http://in.linkedin.com/in/rmahendran




serkan.guler

unread,
Jun 22, 2011, 3:27:25 AM6/22/11
to Ansys
Selam Tarik, thanks for your help, have a nice day...

On 21 Haziran, 17:18, Tarik Hadifi <thad...@googlemail.com> wrote:
> Selam Serkan,
>
> i know about that problem. I have tried a similar task. I wantedansys
> to do some simulations inbatchmodeand export images to my hard
> disk. I have been told by our local support that if you wantANSYSto
> export images the GUI has to be active.
>
> Hope this helps.
> grsrz, Tarik
>
> 2011/6/21 serkan.guler <serka...@gmail.com>:
> > The problem now is that the images of themodeshapes does not appear.
> > I try to reverse the colors of the background from black to white
> > (/COLOR,WBAK,WHIT and /COLOR,GRBAK,WHIT) but the structural mode shape
> > is not represented.
>
> > Does anyone knows what should be the problem?
>
> > Regards,
>
> > Serkan Güler
> > Dokuz Eylül University Izmir
> > Izmir, Turkey.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Ansys" group.
> > To post to this group, send email toa...@googlegroups.com.
> > To unsubscribe from this group, send email toansys+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages