Skip to main content

Calling a File inside of the UEL

Submitted by ashkan khalili on

Hi everybody,

I'm writing a User Difined Element (UEL) for my research.

Would you please let me know if it's possible to call a file (txt, dat, etc) inside of the UEL or not?

Example:

    IF (LFLAGS(3)=1) THEN

        OPEN (UNIT = 10, FILE = "AAA.dat", STATUS = "OLD")

        READ (10, *), StiffnessTable

        AMATRX=StiffnessTable

    END IF

Thanks in advance,

Ashkan