public enum BoundaryConditionType extends java.lang.Enum<BoundaryConditionType>
This enumeration provides supported boundary conditions. Currently, these are based on Nek5000 boundary conditions. See http://nek5000.mcs.anl.gov/index.php/Boundary_Definition for more details on the boundary conditions.
Enum Constant and Description |
---|
AxisymmetricBoundary
Axisymmetric boundary.
|
DirichletTemperatureScalar
Dirichlet temperature/scalar.
|
DirichletVelocity
Dirichlet velocity.
|
Flux
Flux.
|
Insulated
Insulated (zero flux) for temperature.
|
Internal
Internal (element connectivity).
|
MovingBoundary
Moving boundary.
|
None
No boundary condition specified.
|
Outflow
Outflow.
|
OutflowNormal
Outflow, Normal (need surface to be normal to x, y, or z).
|
Periodic
Periodic.
|
Symmetry
Symmetry.
|
UserDirichletTemperature
User defined Dirichlet temperature.
|
UserDirichletVelocity
User defined Dirichlet temperature.
|
UserFlux
User defined flux.
|
Wall
Wall (no slip).
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
id
This attribute stores a human-readable reason for rejecting an invalid
value passed to setValue().
|
int |
numberOfParameters
Specifies the number of parameters required for the simulation.
|
Modifier and Type | Method and Description |
---|---|
static BoundaryConditionType |
fromId(java.lang.String id)
Gets a BoundaryConditionType from a string ID.
|
static BoundaryConditionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoundaryConditionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundaryConditionType None
No boundary condition specified.
public static final BoundaryConditionType Internal
Internal (element connectivity). Requires 2 parameters: adjacent element and face.
public static final BoundaryConditionType Periodic
Periodic. Requires 2 parameters: periodic element and face.
public static final BoundaryConditionType DirichletTemperatureScalar
Dirichlet temperature/scalar. Requires 1 parameter: value.
public static final BoundaryConditionType DirichletVelocity
Dirichlet velocity. Requires 3 parameters: u, v, and w.
public static final BoundaryConditionType Outflow
Outflow. Requires 0 parameters.
public static final BoundaryConditionType Wall
Wall (no slip). Requires 0 parameters.
public static final BoundaryConditionType Flux
Flux. Requires 1 parameter: flux.
public static final BoundaryConditionType Symmetry
Symmetry. Requires 0 parameters.
public static final BoundaryConditionType AxisymmetricBoundary
Axisymmetric boundary. Requires 0 parameters.
public static final BoundaryConditionType MovingBoundary
Moving boundary. Requires 0 parameters.
public static final BoundaryConditionType Insulated
Insulated (zero flux) for temperature.
public static final BoundaryConditionType OutflowNormal
Outflow, Normal (need surface to be normal to x, y, or z). Requires 0 parameters.
public static final BoundaryConditionType UserDirichletVelocity
User defined Dirichlet temperature. Assigned a value in USERBC.
public static final BoundaryConditionType UserDirichletTemperature
User defined Dirichlet temperature. Assigned a value in USERBC.
public static final BoundaryConditionType UserFlux
User defined flux. Assigned a value in USERBC.
public java.lang.String id
This attribute stores a human-readable reason for rejecting an invalid value passed to setValue(). It may be retrieved by calling getErrorMessage().
public int numberOfParameters
Specifies the number of parameters required for the simulation. This number should vary between 0 and 5, inclusive, since there are only 5 values read in for each boundary condition.
public static BoundaryConditionType[] values()
for (BoundaryConditionType c : BoundaryConditionType.values()) System.out.println(c);
public static BoundaryConditionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BoundaryConditionType fromId(java.lang.String id)
Gets a BoundaryConditionType from a string ID.
id
- The ID of the boundary condition. This is usually a one or two
character string.