Class Fluid

java.lang.Object
neqsim.thermo.Fluid

public class Fluid extends Object

Fluid class.

Version:
$Id: $Id
Author:
esol
  • Field Details

    • logger

      static org.apache.logging.log4j.Logger logger
      Logger object for class.
    • fluid

    • hasWater

      private boolean hasWater
    • autoSelectModel

      private boolean autoSelectModel
    • thermoModel

      private String thermoModel
    • thermoMixingRule

      private String thermoMixingRule
  • Constructor Details

    • Fluid

      public Fluid()

      Constructor for Fluid.

  • Method Details

    • getFluid

      public SystemInterface getFluid()

      Getter for the field fluid.

      Returns:
      a SystemInterface object
    • create2

      public SystemInterface create2(String[] componentNames)

      create2.

      Parameters:
      componentNames - an array of String objects
      Returns:
      a SystemInterface object
    • create2

      public SystemInterface create2(String[] componentNames, double[] flowrate, String unit)

      create2.

      Parameters:
      componentNames - an array of String objects
      flowrate - an array of type double
      unit - a String object
      Returns:
      a SystemInterface object
    • create

      public SystemInterface create(String fluidType)

      create.

      Parameters:
      fluidType - a String object
      Returns:
      a SystemInterface object
    • createFluid

      public SystemInterface createFluid(String[] componentNames, double[] flowrate, String unit)

      createFluid.

      Parameters:
      componentNames - an array of String objects
      flowrate - an array of type double
      unit - a String object
      Returns:
      a SystemInterface object
    • addComponment

      public void addComponment(String name)

      addComponment.

      Parameters:
      name - a String object
    • main

      public static void main(String[] args)

      main.

      Parameters:
      args - an array of String objects
    • isHasWater

      public boolean isHasWater()

      isHasWater.

      Returns:
      a boolean
    • setHasWater

      public void setHasWater(boolean hasWater)

      Setter for the field hasWater.

      Parameters:
      hasWater - a boolean
    • isAutoSelectModel

      public boolean isAutoSelectModel()

      isAutoSelectModel.

      Returns:
      a boolean
    • setAutoSelectModel

      public void setAutoSelectModel(boolean autoSelectModel)

      Setter for the field autoSelectModel.

      Parameters:
      autoSelectModel - a boolean
    • getThermoModel

      public String getThermoModel()

      Getter for the field thermoModel.

      Returns:
      a String object
    • setThermoModel

      private void setThermoModel()
      Init fluid object?.
    • setThermoModel

      public void setThermoModel(String thermoModel)

      Setter for the field thermoModel.

      Parameters:
      thermoModel - a String object
    • getThermoMixingRule

      public String getThermoMixingRule()

      Getter for the field thermoMixingRule.

      Returns:
      a String object
    • setThermoMixingRule

      public void setThermoMixingRule(String thermoMixingRule)

      Setter for the field thermoMixingRule.

      Parameters:
      thermoMixingRule - a String object