Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

PyRocky defining Custom Property on Eulerian Process for a GridFunction

    • oroma
      Subscriber

      Dear Community,

      I am trying to compute a custom property on an Eulerian process (which I created as a child of a Cylinder process, which is a child of a Particle process). The reason for doing this on the eulerian process is because I need to use exclusively Eulerian properties with contact data enabled, which are the Stress Components.

      I am able to do this with no issues in the GUI, where I go to my Eulerian process and define a custom property, where this one is calculated with no issues. But when I try to replicate this workflow in PyRocky, I can't get my custom property. The way I do this is by defining a custom property on the Eulerian process:

      EulerianProcess.AddCustomProperty(**property_definition_dict)

       

      But then I cannot find this property defined anywhere, even though the line executes with no issue, and as far as I can see the definition is correctly done just as I do in the GUI. Ideally I would like to find this defined in:

      EulerianProcess.GetGridFunctionNames() and .GetGridFunction()

      But it does not. Am I missing something or doing something wrong?

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]