GENERAL

The following comments are related to the TWOD computer program (a simple finite element computer program for two-dimensional plane stress & plane strain analyses).

All files related to TWOD are found in a public "ftp" site on our server. To access this directory from your machine, make sure youčre in the directory into which you want to transfer TWOD, and then type (followed by a carriage return - this holds for all subsequent commands)

ftp ce.udel.edu

This connects you to our department server. At the prompt for user name, type:

anonymous

For password, simply type your e-mail address. This places you in the directory home ftp directory. Then change directories by typing

cd pub/kaliakin

This puts you in my personal ftp directory. To see all the files associated with TWOD, type

ls twod*

You will then see the following listing

twod.f
twod_consts.inc
twod_ex_1.dat
twod_ex_2.dat
twod_max.inc

The file twod.f is the source code (FORTRAN 77). The files twod_ex_1.dat, and twod_ex_2.dat are sample analyses described in the user instructions for TWOD. Finally, the files twod_consts.inc and twod_max.inc are INCLUDE files. When compiling the twod.f source code, these INCLUDE files must reside in the SAME directory as the source.


OBTAINING FILES

Let's turn our attention next to getting the sample analysis files. To get these files, type

get twod_ex_1.dat
get twod_ex_2.dat

The sample analysis files twod_ex_1.dat and twod_ex_2.dat will be copied to your directory with the same name as listed above.

To get the TWOD source code and associated INCLUDE file, type

get twod.f
get twod_consts.inc
get twod_max.inc

The respective files copied to your directory will have the same names listed above. Proceed to next compile and link the twod.f source (NOTE: the INCLUDE files twod_consts.inc and twod_max.inc must reside in the SAME directory as the file twod.f). Proceed to next compile and link the source. Once this is successfully achieved, the execution of TWOD is as described below.


EXECUTING THE PROGRAM

Assume that the executable file has been called 'twod'. To execute the program on the sample file twod_ex_1.dat, consider the following sequence of commands (executed on my workstation, so ignore the " ~ vnk : " prompt):

~ vnk : twod

Enter input data file name : twod_ex_1.dat
Enter output print file name : out.prt

~ vnk :

The name of the input file (twod_ex_1.dat) is prompted for above, as is the name of the output file (out.prt). The latter is an ASCII text file that contains the results of the analysis.




updated : 07.03.00