lanl / FEHM

Finite Element Heat and Mass Transfer Code
https://fehm.lanl.gov
Other
56 stars 19 forks source link

fehmpytests fails for cellbased #71

Open millerta opened 3 months ago

millerta commented 3 months ago

This seems to be an issue with how python compares the output files. The output is fehmn.out which has a format that is tricky to compare. We need to determine which portion of the file should be evaluated, and ignore the rest of the file.

Though very different, the end of the files compare the same: es19:% ll /.out -rw-rw---- 1 tamiller sft 157974 Aug 20 11:08 compare/fehmn.out -rw-rw---- 1 tamiller sft 159210 Aug 29 09:36 _output/fehmn.out

compare/fehmn.out

*********************************************************************
 Time Step        87

                    Timing Information
           Years              Days         Step Size (Days)
      25000.0000          9131250.00        0.364870000E+05
 Heat and Mass Solution Disabled
    201     0.000000E+00                 0
    201     0.000000E+00                 0
    201     0.534817E+01                 2
    201     0.267409E+01                 1

 simulation ended: days   9131250.0000000000000000     timesteps    87

_output/fehmn.out

Time Step        87

                    Timing Information
           Years              Days         Step Size (Days)
      25000.0000          9131250.00        0.364870000E+05
 Heat and Mass Solution Disabled
    201     0.000000E+00                 0
    201     0.000000E+00                 0
    201     0.534817E+01                 2
    201     0.267409E+01                 1

 simulation ended: days   9131250.0000000000000000     timesteps    87
millerta commented 2 months ago

This test case is incomplete. It is missing input files and should include multiple sub-cases. Use setup based on the WIN VV Test Suite. VV WIN and linux runs are successful so output files can be used for comparison.

xiang112233 commented 2 months ago

This problem is a little complicated like the "uz_test". Must first run the "cellbased_init" and "chain", otherwise the verifying of "cellbased" would fail

millerta commented 2 months ago

Construct a simple version of this VV test for fehmpytests. Keep the full complicated version in the VV Test Suite. Linux and windows runs are successful using the VV Test Suite.