IPARS Visualization

Example: IPARSv2/data/hydrovis.dat

  • Table function visualization
    • Copy IPARSv2/data/hydrovis.dat to the ipars run directory
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ cp
      ../../data/hydrovis.dat ./
    • Modify hydrovis.dat to request table visualization
      Comment out $VIS_TABOUTTYPE = 1
      VIS_TABOUTTYPE = 1
    • Run ipars executable using hydrovis.dat as input
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ ./ipars
    • Post-process the data (as described in IPARSv2/doc/vis.txt); here is one way to do it:
      - Copy all files from IPARSv2/visual/scripts to where you have all output
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ ln -s ../../visual/scripts/* ./
      - Ensure that you have the correct path to preplot.
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ which preplot
      /opt/apps/tecplot/360/bin/preplot

      - Run mtectab to create tecplot macros
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ mtectab
      - List the resulting macros
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ ls *.mcr
      KOSW___1.mcr KWSW___1.mcr PCOW___1.mcr
  • Scalar and vector variables
    • Copy IPARSv2/data/hydrovis.dat to the ipars run directory
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ cp
      ../../data/hydrovis.dat ./
    • Modify hydrovis.dat to request scalar and vector visualizations
    • Comment out vis. parameters in the transient data block
    • Run ipars executable using hydrovis.dat as input
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ ./ipars
    • Run mteccos to postprocess and create macros
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ mteccos
  • Tecplot visualization
    • List macros
      <water>/h1/gxl/IPARS/IPARSv2/work/Run/ ls *.mcr
      TecTRAN3.mcr TecTRAN5.mcr TecTRANanim.mcr
      TecTRANfirst.mcr TecTRANload.mcr
    • Load the macros to the Tecplot macro menu
      1. Load the "load" macro: TecTRANload.mcr
      2. Load TecTRANfirst.mcr
      3. Load TecTRANanim.mcr
      This can be done while your simulation continues to run (assuming that all the files have been nicely closed)
 

Written by Center for Subsurface Modeling