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.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

cannot transfer updated mesh to FLUENT

    • e.bakhtyary
      Subscriber
      • Hi
        For automation using Fluent, I used journal recording in Workbench. However, the mesh cannot be updated and passed into FLUENT:

        The main part of the code reads:

        mesh1.Edit()
        mesh1.SendCommand(Language = "Python", Command = """
        Model.UpdateGeometryFromSource()
        mesh_14 = Model.Mesh
        mesh_14.GenerateMesh()
        """)

        mesh1.Update(AllDependencies=True)

         

        When I omit the last line, everything works fine. But when it is included, it causes this error:

        Why is it that the "update" should be attributed and the WB-recorded script cannot do this? What should I do?

        Any help would be greatly appreciated.
        Best

    • e.bakhtyary
      Subscriber

      It seems the images are not uploaded.

      The system contains:

      And the error when running the workbench script reads:

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]