Hi all, I am trying to do a sweep of a particular parameter using the optype,sweep feature in the ANSYS optimization module. But I am having a problem in which I the Design variable I am doing a sweep.
carry optimization
sweep optimization
Hello there all,
I am trying to perform a spread around of a specific parameter using the optype,spread around function in thé ANSYS optimization moduIe. But I are getting a issue in which I the Style adjustable I am performing a sweep - worth is not altering.
Can anyone point me to an example where i can have got a look at the code and learn. search the manual and internet. everybody says its simple. but possess tried for over an hour and it ain't working.
my opt macro document will be as comes after:
/com work evaluation for optimization makes use of optcb macró
/com Getting into optimizarion.
!
!run macro document once
!
FINISH
/CLEAR,START
optcbv12
/OPT
OPANL,C:ResearchAnsysOptimizationoptcbv12,mac
! ASSIGN OPT Cycle Document
!0PVAR,Ky,OBJ,.01 ! OBJECTIVE Functionality
OPVAR,R,DV,55,80,2 ! Style VARIABLES
!
OPSAVE,Beginning,OPT ! SAVE INITIAL Style
!0PLOOP,ALL
0PDATA,Chemical:ResearchAnsysOptimizationoptv1.dat
OPTYPE,Carry
OPSWEEP,Final,10
OPEXE ! PERFORM Carry
!
PARSAV,AIl,C:ResearchAnsys0ptimizationSET1
0PLIST,ALL,1 ! Listing DESIGN SETS
/AXLAB,Y,Radius ! DV AL0NG Y-AXlS
PLVAROPT,R ! PLOT Ur sweep verify
/AXLAB,Y,Ky ! OBJECTIVE FUNCTION ALONG Y-AXlS
PLVAR0PT,R ! Story OBJ mop
I am trying to perform a spread around of a specific parameter using the optype,spread around function in thé ANSYS optimization moduIe. But I are getting a issue in which I the Style adjustable I am performing a sweep - worth is not altering.
Can anyone point me to an example where i can have got a look at the code and learn. search the manual and internet. everybody says its simple. but possess tried for over an hour and it ain't working.
my opt macro document will be as comes after:
/com work evaluation for optimization makes use of optcb macró
/com Getting into optimizarion.
!
!run macro document once
!
FINISH
/CLEAR,START
optcbv12
/OPT
OPANL,C:ResearchAnsysOptimizationoptcbv12,mac
! ASSIGN OPT Cycle Document
!0PVAR,Ky,OBJ,.01 ! OBJECTIVE Functionality
OPVAR,R,DV,55,80,2 ! Style VARIABLES
!
OPSAVE,Beginning,OPT ! SAVE INITIAL Style
!0PLOOP,ALL
0PDATA,Chemical:ResearchAnsysOptimizationoptv1.dat
OPTYPE,Carry
OPSWEEP,Final,10
OPEXE ! PERFORM Carry
!
PARSAV,AIl,C:ResearchAnsys0ptimizationSET1
0PLIST,ALL,1 ! Listing DESIGN SETS
/AXLAB,Y,Radius ! DV AL0NG Y-AXlS
PLVAROPT,R ! PLOT Ur sweep verify
/AXLAB,Y,Ky ! OBJECTIVE FUNCTION ALONG Y-AXlS
PLVAR0PT,R ! Story OBJ mop