Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I believe that you can modify your conec.flx to call a user-defined model and in the model you can read your data file and set the var values.

I believe that you can modify your conec.flx to call a user-defined model and in the model you can read your data file and set the var values.

An example as follows,

`      SUBROUTINE CONEC
C
      INCLUDE 'COMON4.INS'
      INTEGER IU
C
      IF (MODE.NE.2) RETURN
      IU = 10
      CALL GENCHK(1, '1', II, 'IN CONEC')
      IF (II.EQ.0) RETURN
      OPEN(UNIT=IU, ACCESS= 'APPEND', FILE = 'output.txt')
      WRITE(IU, 5) TIME, PMECH(II), (VAR(JJ), JJ=100, 103)
5     FORMAT(F10.5, F5.2, 4F10.5)
      CLOSE(IU)
C
      RETURN
      END

`