Class FluidCreator

java.lang.Object
neqsim.thermo.FluidCreator

public final class FluidCreator extends Object
Used to generate fluids of type SystemInterface.
Version:
$Id: $Id
Author:
esol
  • Field Details

    • hasWater

      public static boolean hasWater
      Constant hasWater=false.
    • autoSelectModel

      public static boolean autoSelectModel
      Constant autoSelectModel=false.
    • thermoModel

      public static String thermoModel
      Constant thermoModel="srk".
    • thermoMixingRule

      public static String thermoMixingRule
      Constant thermoMixingRule="classic".
  • Constructor Details

    • FluidCreator

      private FluidCreator()
      Dummy constructor, not for use. Class is to be considered static.
  • Method Details

    • create

      public static SystemInterface create(String[] componentNames)
      Create SystemInterface.
      Parameters:
      componentNames - name of components to be added to a fluid
      Returns:
      a fluid object (SystemInterface)
    • create

      public static SystemInterface create(String[] componentNames, double[] flowrate, String unit)
      Create SystemInterface.
      Parameters:
      componentNames - name of components to be added to a fluid
      flowrate - flow rate
      unit - unit of flow rate
      Returns:
      a fluid object (SystemInterface)
    • create

      public static SystemInterface create(String fluidType)
      Create SystemInterface.
      Parameters:
      fluidType - fluid type can be "dry gas", "water", "air", "gas condensate", "combustion air"...
      Returns:
      a fluid object (SystemInterface)