General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

New parameters in Workbench Mechanical using CPython object

    • manuele.rossetti
      Subscriber

      Dear colleagues,

      in my static structural analysis after adding a CPython object in after post I processed some data creating a new scalar but I don't know how to return this new variable to Ansys and parametrize it.

      Basically, I would like to have this new scalar variable, not already present by default into Mechanical, parametrizable as output for the MOGA optimization analysis.

      Thank you

    • Erik Kostson
      Ansys Employee

      Hi

      See if this helps:

      https://discuss.ansys.com/discussion/2236/how-to-make-total-mass-of-a-part-as-an-output-parameter-in-mechanical-using-python-code-object

      If you have more questions post them in the above developer/ discuss ansys forum.

      All the best

      Erik

Viewing 1 reply thread
  • The topic ‘New parameters in Workbench Mechanical using CPython object’ is closed to new replies.