Question about UEL in ABAQUS

Question about UEL in ABAQUS

Hi everybody,

I have a UEL for truss element (T3D2). I'm calling and reading some .dat files inside of the UEL. I'm just reading these files inside of the UEL without doing anything to them or with them (It's just a test case). Here is an example:

      OPEN(101, file="C:\Users\ak1070\Desktop\UMAT-UEL-UELMAT\UEL TEST\V1.dat", status='old',form='formatted',&
                    &action='read',position='rewind')  
      READ(101,*) AEVectors(1,:)      
      CLOSE(101)

     ...

     OPEN(164, file="C:\Users\ak1070\Desktop\UMAT-UEL-UELMAT\UEL TEST\V64.dat", status='old',form='formatted',&
                    &action='read',position='rewind')  
      READ(164,*) AEVectors(64,:)      
      CLOSE(164)

I'm supposed to call and read 64 files. But it's just working for 38 files. When I'm calling 38 files it's working perfectly. I Mean:

      OPEN(101, file="C:\Users\ak1070\Desktop\UMAT-UEL-UELMAT\UEL TEST\V1.dat", status='old',form='formatted',&
                    &action='read',position='rewind')  
      READ(101,*) AEVectors(1,:)      
      CLOSE(101)

     ...

     OPEN(138, file="C:\Users\ak1070\Desktop\UMAT-UEL-UELMAT\UEL TEST\V38.dat", status='old',form='formatted',&
                    &action='read',position='rewind')  
      READ(138,*) AEVectors(38,:)      
      CLOSE(138)

But, when I'm calling 39 files the results change to sth weird (No error message). I thought maybe sth is wrong with data so, I called one of the previous files twice to make the total number of files 39 and still the results change to sth weird. I've attached my UEL file here

It would be very kind of you to let me have your advice.

Thanks in advance.

Best Regards,

AttachmentSize
Downloadapplication/octet-stream TEST5-call.for13.5 KB
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello Ashkan,

Does it work if you use the same I/O unit number for each read?  Since you never have more than one unit open at any given time, it seems you could just reuse the same unit number.  On the other hand, using 64 unique unit numbers should not be a problem, but your test case won't compile 'as-is', so you will need to experiment a little bit.

Patrick

Leave a Comment

Please sign in to add a comment. Not a member? Join today