Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

UMAT: open and read an external file

Status
Not open for further replies.

RGX124

Mechanical
Apr 5, 2005
75
Hello,

I'd like to know if it is possible to put this kind of command in a UMAT subroutine:
open (unit=400,file='coeff.txt',status='old')
do i = 1, nbeElt-1
read ( 400 , * ) nel(i)
read ( 400 , * ) ak1(i)
read ( 400 , * ) amu1(i)
end do

I would like to read data from an external file called coeff.txt. It consists of 2000 data that I cannot define as props.
Please let me know.
Thanks for your help

Rgx124
 
Replies continue below

Recommended for you

Yes you can do that. Read the manual for Fortran unit numbers you can/can't use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor