GEOS icon indicating copy to clipboard operation
GEOS copied to clipboard

PVT Tables logging improvements

Open arng40 opened this issue 11 months ago • 0 comments

This PR follows the #2984 that aim to standardize logs. Currently PVT tables are only accessible throught .csv files, however we don't know which tables are generated nor their exact paths. In this PR, logs will indicate which csv files are generated along with their associate path

CSV Generated to inputFiles/compositionalMultiphaseWell/test.xml/fluid1_phaseModel1_PhillipsBrineDensity_table.csv :
+-------------------------------------------------------------------------------------+
|                    fluid1_phaseModel1_PhillipsBrineDensity_table                    |
+-------------------------------------------------------------------------------------+
|  The fluid1_phaseModel1_PhillipsBrineDensity_table PVT table exceeding 500 rows.    |
|  To visualize the tables, go to the generated csv                                   |
+-------------------------------------------------------------------------------------+

In addition to csv files, PVT Tables with dimensions n <= 2 can be written in log by meetings 2 conditions :

  • have sufficient log lovel
  • Rows in the table < 500 lines
CSV Generated to inputFiles/compositionalMultiphaseWell/test.xml/fluid1_phaseModel1_PhillipsBrineViscosity_table.csv
+-------------------------------------------------------+
|    fluid1_phaseModel1_PhillipsBrineViscosity_table    |
+------------------------+------------------------------+
|    temperature [C]     |       viscosity [Pa*s]       |
+------------------------+------------------------------+
|          0.01          |          0.0017914           |
|           10           |           0.001306           |
|           20           |          0.0010016           |
|           25           |           0.00089            |
|           30           |          0.0007972           |
+-------------------------------------------------------+

arng40 avatar Feb 27 '24 14:02 arng40