Class CMGEOSExporter.ExportConfig

java.lang.Object
neqsim.blackoil.io.CMGEOSExporter.ExportConfig
Enclosing class:
CMGEOSExporter

public static final class CMGEOSExporter.ExportConfig extends Object
Configuration for CMG export.
Version:
1.0
Author:
esol
  • Field Details

    • simulator

      private CMGEOSExporter.Simulator simulator
    • units

      private CMGEOSExporter.Units units
    • referenceTemperature

      private double referenceTemperature
    • standardPressure

      private double standardPressure
    • standardTemperature

      private double standardTemperature
    • pressureGrid

      private double[] pressureGrid
    • includeHeader

      private boolean includeHeader
    • modelName

      private String modelName
    • comment

      private String comment
  • Constructor Details

    • ExportConfig

      public ExportConfig()
  • Method Details

    • setSimulator

      public CMGEOSExporter.ExportConfig setSimulator(CMGEOSExporter.Simulator simulator)
      Set the target CMG simulator.
      Parameters:
      simulator - target simulator
      Returns:
      this config for chaining
    • setUnits

      Set the unit system.
      Parameters:
      units - unit system
      Returns:
      this config for chaining
    • setReferenceTemperature

      public CMGEOSExporter.ExportConfig setReferenceTemperature(double temperature)
      Set reference temperature for PVT table generation.
      Parameters:
      temperature - temperature in Kelvin
      Returns:
      this config for chaining
    • setStandardConditions

      public CMGEOSExporter.ExportConfig setStandardConditions(double pressure, double temperature)
      Set standard conditions for stock tank properties.
      Parameters:
      pressure - pressure in kPa
      temperature - temperature in Kelvin
      Returns:
      this config for chaining
    • setPressureGrid

      public CMGEOSExporter.ExportConfig setPressureGrid(double[] pressures)
      Set pressure grid for PVT table generation.
      Parameters:
      pressures - pressures in bar
      Returns:
      this config for chaining
    • setIncludeHeader

      public CMGEOSExporter.ExportConfig setIncludeHeader(boolean include)
      Enable or disable header comments in output.
      Parameters:
      include - true to include header
      Returns:
      this config for chaining
    • setModelName

      public CMGEOSExporter.ExportConfig setModelName(String name)
      Set model name for the export.
      Parameters:
      name - model name
      Returns:
      this config for chaining
    • setComment

      public CMGEOSExporter.ExportConfig setComment(String comment)
      Add a custom comment to the header.
      Parameters:
      comment - comment string
      Returns:
      this config for chaining