Model Keywords

  1. Set an input file keyword for your model
    • Example: THERMAL
  2. Assign a model number to your model
    • Example: MODEL = 19
  3. Use the keyword and model number to register the model in IPARSv2/input/idata.df
  4. Set a model keyword for preprocessing
    • Example: $THERMAL
    • All your model dependent calls from the framework routines should be hidden under this keyword
      $THERMAL CALL TMSTEP( )
  5. Make a directory for your model
    • Example: IPARSv2/thermal/
  6. Name your files to distinguish from other models
    • Example: thivdat.df, thbwell.df, thstep.df
  7. Create a model makefile and size file
    • Example: thermal.mak, thermal.siz
  8. Make a directory for your model
    • Example: in IPARSv2/ipars.df
      $BLACKP IF (MODEL.EQ.1) CALL PSTEP(NERR)
      $BLACKI IF (MODEL.EQ.2) CALL ISTEP(NERR)
      ...
      $TRCHEM IF (MODEL.EQ.17) CALL TRSTEP(NERR)
      $POROE IF (MODEL.EQ.18) CALL PESTEP(NERR)
      $THERMAL IF(MODEL.EQ.19) CALL THSTEP(NERR)
 

Written by Center for Subsurface Modeling