Dynamic character substitution.

William Park opengeometry at yahoo.ca
Thu Sep 29 16:18:10 EDT 2005


John Bausano <jbausano at vt.edu> wrote:
> Hello all,
> 
> 
> 
> I've been using Ansys which is a commercial FEA package which can be 
> controlled through its own scripting language they call APDL.  Now I'm 
> trying to write some stand alone code in Python to supplement my current 
> efforts.
> 
> 
> 
> In Ansys I can do something like this.
> 
> 
> 
> *do,n,1,3                                                          #loop 
> through n
> 
>             *dim,data%n%,1000,2                         #creates variables 
> arrays data1(1000,2), data2(1000,2)..
> 
>             *vread,data%n%,filename%n%            #fills arrays with data 
> from filename1,.


I await English translation of the above.

-- 
William Park <opengeometry at yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/



More information about the Python-list mailing list