Вы находитесь на странице: 1из 3

Command Reference Page: 1

OPVAR
OPVAR, Name, Type, MIN, MAX, TOLER Specifies the parameters to be treated as optimization variables. OPTIMIZATION: Specifications MP ME ST PR PRN <> <> FL EM EH DY PP <> EME MFS Name Parameter name (must be a scalar parameter). Type Optimization variable type: DV SV OBJ DEL Design variable. MAX must also be specified. State variable, also referred to as a constrained variable. (Usually defined via a *GET command.) MIN, or MAX, or both must be specified. Objective function (variable to be minimized). Only one objective function is allowed. MIN and MAX are not used. Deletes this optimization variable (does not delete the parameter). This option only has meaning if the parameter Name was previously defined as an optimization variable (DV, SV, or OBJ). The parameter retains the value assigned during the last loop. MIN and MAX are not used.

MIN Minimum value for this parameter. For Type = DV, MIN must be greater than 0.0 and defaults to 0.001*(MAX). For Type = SV, there will be no lower limit if MIN is left blank, but if MIN = 0.0, the lower limit is zero. MIN is ignored for Type = OBJ. MIN is also ignored for Type = DEL (except for the special case when Name = (blank) and Type = DEL, as described next). When the GUI is on, if a Delete operation (in a Design Variables or State Variables dialog box) writes this command to a log file (Jobname.LOG or Jobname.LGW), you will observe that Name is blank, Type = DEL, and MIN is an integer number. In this case, the GUI has assigned a value of MIN that corresponds to the location of a chosen variable name in the dialog box's list. It is not intended that you type in such a location value for MIN in an ANSYS session. However, a file that contains a GUIgenerated OPVAR command of this form can be used for batch input or for use with Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates

Command Reference Page: 2 the /INPUT command. MAX Maximum value for this parameter. Required for Type = DV and ignored for Type = OBJ or DEL. For Type = SV, there will be no upper limit if MAX is left blank, but if MAX = 0.0, the upper limit is zero. TOLER For Type = DV and OBJ, acceptable change between loops for convergence; defaults to 0.01*(current value) for OBJ and 0.01*(MAX-MIN) for DV. For Type = SV, defines feasibility tolerance. For double-sided SV limits (MAX and MIN specified), the default is 0.01*(MAX-MIN). For a single-sided SV limit (MAX or MIN specified), the default is 0.01* (specified limit) or, if the absolute value of the limit is < 1, the default is 0.01*(current SV value). TOLER is ignored for Type = DEL.

Command Default
No optimization parameters defined.

Notes
Specifies the parameters to be treated as optimization variables. Variable constraints (MIN and MAX) and tolerances (TOLER) are also specified on this command. If the specified parameter (Name) does not exist at the time OPVAR is issued, the OPVAR command defines that parameter and assigns a value of zero to it. Up to 60 DV and 100 SV parameters are allowed.

Menu Paths
Main Menu>Design Opt>Design Variables Main Menu>Design Opt>Objective Main Menu>Design Opt>State Variables Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates

Command Reference Page: 3

Release 12.0 - 2009 SAS IP, Inc. All rights reserved. Draft Published: 2009-02-24

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates

Вам также может понравиться