CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   how to many transient figures by command (https://www.cfd-online.com/Forums/siemens/54306-how-many-transient-figures-command.html)

lenson January 12, 2005 23:44

how to many transient figures by command
 
recently I do some transient cases . after computation , I should get figures with which to compare. But I have 200 pics need done. Can anyone tell me how to get the gif.pictures by using commands. thanks for help~


yacine January 13, 2005 02:44

Re: how to many transient figures by command
 
you can find a small example of script to generate pictures in the manual (star guide) using loop comand to download data from *.pstt file and plot them have a look.

Peter January 13, 2005 05:40

Re: how to many transient figures by command
 
What would be the commands to export some .gif files? For example: number of gifs "i", name "i.gif" i=1..10(1)? Can you give an example? Thanks!

Jörn Beilke January 13, 2005 06:07

Re: how to many transient figures by command
 
scdu gif

*defi noexec

repl

*end

*loop 1 10

scdu off

Anton Lyaskin January 13, 2005 06:09

Re: how to many transient figures by command
 
Look for help for scdump command. It can produce gif files for you

carno January 13, 2005 06:43

Re: how to many transient figures by command
 
Look what Jörn has said. It is the best way to do. Create variable within the loop and use trload command to load particular load step. In past I have generated more than 500 images in transient cases within munutes by such macro.

Thanks

ted January 13, 2005 10:34

Re: how to many transient figures by command
 
There are a couple of other ways to output pictures from pro-STAR, both of which can be used in a *loop, as previously described.

If you run pro-STAR in GLM mode, you can get high quality screen dumps using "HRSD".

Alternatively, you can use the .plot file, which allows you to produce figures in a varienty of formats.

In pro-STAR: term,,file rast *loop 1 10 1 term,, close .plot

Then on the command line, use the "plot" utility to generate the files in the format you want: plot gif

tak January 19, 2005 10:43

Re: how to many transient figures by command
 
hai

i am working with ic engines for tranisent ( moving mesh), can any one explain in detail how to write a macro to capture figures ( one complete cycle) for any variable ex..velocity vector plots. thanks in advance

anand


lenson January 21, 2005 03:41

Re: how to many transient figures by command
 
the following codes used in my simulation can work you can take it as a reference

scdu gif *defi noexec *set I 1 1 % I is for loop parameter from iteration to 40 by 1

store,iter,I

% just add the command button then you can find % which command code is according.step by step % you can fill folling code

psys,1 getc,all,none spoint,0,0,0,0 snorm,1,0,0,0 plty sect, $edge,on $popt,vect $thin,1 $term,,,vect $repl

*end *loop 1 40 scdu off



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