Fluids

Fluids

Expression sequence

    • Jimmyhan
      Subscriber

      Hi, I am Jimmy, I have to input so many expressions in the simulation setting. sometimes I have input some constant and I have to add the equation when I tried to change the situation. So the expression list was in mess. It is so hard to find and change their value. How can I sort the expression list alphabetically or the sequence as I would like to?

    • Min Zhang
      Subscriber

      For example, if you define expressions named as "Ux" and "Aux" respectively. Meanwhile, "Aux" is a function of "Ux", eg. Aux=Ux*5. In the Expressions list, "Ux" is displayed before "Aux".


      ~~~ You can right click the "Expressions" menu, and choose "Edit in Command Editor" to amend your expressions.


      You also can create various CCL files to save your parameters, and import them automatically using session file (.pre). Notice: when import CCL files, choose "Append" Import Method.


       

    • Jimmyhan
      Subscriber

      Thank you for your reply, I understand what you mean. but can I change the sequence of expression?for example I want to input all the constant density, weight, viscosity......firstly, and input the equations. If I hesitated something I can just check the constant group or the equation group.

    • raul.raghav
      Subscriber

      I usually name the expression with "AA" in the front so its always easier to access them in the list. For example, instead of "fluidDensity", I name it as "AAfluidDensity". Not sure if that would be of use to you.

    • Jimmyhan
      Subscriber

      Thank you so much, It is a good idea!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.