CONSTRAINT
Specifies the constraints based on responses.
Type
AcuSolve Command
Syntax
CONSTRAINT {parameters}
Qualifier
This command has no qualifier.
Parameters
- type (enumerated) [=less_than]
- Constraints are specified by relating the response variables with the type.
Requires RESPONSE_VARIABLE.
- less_than
- greater_than
- response_variable (string) [=""]
- User defined name of the response variable that is used to compute the objective and constraint functions.
- bound (real) [=0.0]
- Bounds are set to control the motion of surface/body in the optimization region.
Description
CONSTRAINT( "subject to pressure >= bound” ) {
type = larger_than
response_variable = "Inflow Pressure"
bound = 1000
}
RESPONSE_VARIABLE( "Inflow Pressure” ) {
type = surface_output
surface_output = "Inlet"
surface_output_variable = pressure
}