We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

Is it possible to limit the variable range of an Additional Variable?

    • FAQFAQ
      Participant

      A limiter (clipping) of the variable range can be applied for an additional variable by adding the arguments “Component Bounds Flag” and “Component Lower Bounds” or “Component Upper Bounds” to the CCL definition of the additional variable: LIBRARY: ADDITIONAL VARIABLE: myAV Option = Definition Component Bounds Flag = Yes Component Lower Bounds = 0.0 [ ] END END The above CCL example applies a lower limit of zero, while there is no upper limit applied. You can either copy the above lines into a text file (myAVlimited.ccl), edit it as needed, and pass it to the solver with the solver argument -ccl myAVlimited.ccl, or you right-click on the definition of the additional variable in CFX-Pre, choose “Edit in Command Editor” and paste and edit the required additional lines there. Although these settings are not visible in the GUI (except in the command editor), they will remain in the CCL even if you edit the additional variable definition in the GUI.