Enum Class TwoFluidPipe.BoundaryCondition

java.lang.Object
java.lang.Enum<TwoFluidPipe.BoundaryCondition>
neqsim.process.equipment.pipeline.TwoFluidPipe.BoundaryCondition
All Implemented Interfaces:
Serializable, Comparable<TwoFluidPipe.BoundaryCondition>, Constable
Enclosing class:
TwoFluidPipe

public static enum TwoFluidPipe.BoundaryCondition extends Enum<TwoFluidPipe.BoundaryCondition>
Boundary condition type.
Version:
1.0
Author:
Even Solbraa
  • Enum Constant Details

    • CONSTANT_PRESSURE

      public static final TwoFluidPipe.BoundaryCondition CONSTANT_PRESSURE
      Constant pressure.
    • CONSTANT_FLOW

      public static final TwoFluidPipe.BoundaryCondition CONSTANT_FLOW
      Constant mass flow.
    • STREAM_CONNECTED

      public static final TwoFluidPipe.BoundaryCondition STREAM_CONNECTED
      Connected to stream.
    • CLOSED

      public static final TwoFluidPipe.BoundaryCondition CLOSED
      Closed (no flow - blocked/shut-in).
    • CHARACTERISTIC

      public static final TwoFluidPipe.BoundaryCondition CHARACTERISTIC
      Characteristic-based (Riemann invariant). Incoming characteristics carry boundary data while outgoing characteristics are extrapolated from the interior. Reduces spurious wave reflections during rapid transients (valve closures, slug arrivals). Based on Toro (2009).
  • Constructor Details

    • BoundaryCondition

      private BoundaryCondition()
  • Method Details

    • values

      public static TwoFluidPipe.BoundaryCondition[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TwoFluidPipe.BoundaryCondition valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null