ansys-meshing-prime 0.6.0.dev7__tar.gz → 0.6.0.dev8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/PKG-INFO +4 -4
  2. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/pyproject.toml +4 -4
  3. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/connect.py +2 -2
  4. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/connectstructs.py +3 -3
  5. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/primeconfig.py +10 -1
  6. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/mapdlcdbexportutils.py +162 -104
  7. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/defaults.py +1 -1
  8. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/error_handling.py +4 -1
  9. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/LICENSE +0 -0
  10. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/README.md +0 -0
  11. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/__init__.py +0 -0
  12. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/_version.py +0 -0
  13. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/automesh.py +0 -0
  14. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/automeshstructs.py +0 -0
  15. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/autoquadmesher.py +0 -0
  16. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/autoquadmesherstructs.py +0 -0
  17. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/boundaryfittednurbs.py +0 -0
  18. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/collapsetool.py +0 -0
  19. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/collapsetoolstructs.py +0 -0
  20. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/commonstructs.py +0 -0
  21. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/commontypes.py +0 -0
  22. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/controldata.py +0 -0
  23. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/controlstructs.py +0 -0
  24. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/coreobject.py +0 -0
  25. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/deletetool.py +0 -0
  26. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/deletetoolstructs.py +0 -0
  27. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/featureextraction.py +0 -0
  28. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/featureextractionstructs.py +0 -0
  29. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/fileio.py +0 -0
  30. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/fileiostructs.py +0 -0
  31. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/igastructs.py +0 -0
  32. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/materialpointmanager.py +0 -0
  33. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/materialpointmanagerstructs.py +0 -0
  34. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/meshinfo.py +0 -0
  35. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/meshinfostructs.py +0 -0
  36. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/model.py +0 -0
  37. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/modelstructs.py +0 -0
  38. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/morpher.py +0 -0
  39. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/morpherbcsstructs.py +0 -0
  40. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/morpherstructs.py +0 -0
  41. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/multizonecontrol.py +0 -0
  42. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/part.py +0 -0
  43. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/partstructs.py +0 -0
  44. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/periodiccontrol.py +0 -0
  45. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/periodiccontrolstructs.py +0 -0
  46. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/prismcontrol.py +0 -0
  47. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/prismcontrolstructs.py +0 -0
  48. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/quadtospline.py +0 -0
  49. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/scaffolder.py +0 -0
  50. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/scaffolderstructs.py +0 -0
  51. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/sizecontrol.py +0 -0
  52. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/sizecontrolstructs.py +0 -0
  53. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/sizefield.py +0 -0
  54. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/sizefieldstructs.py +0 -0
  55. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/splittoolstructs.py +0 -0
  56. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surfacesearch.py +0 -0
  57. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surfacesearchstructs.py +0 -0
  58. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surfaceutilities.py +0 -0
  59. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surfaceutilitystructs.py +0 -0
  60. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surfer.py +0 -0
  61. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/surferstructs.py +0 -0
  62. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/thinvolumecontrol.py +0 -0
  63. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/thinvolumecontrolstructs.py +0 -0
  64. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/topodata.py +0 -0
  65. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/topodatastructs.py +0 -0
  66. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/toposearchstructs.py +0 -0
  67. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/topoutilities.py +0 -0
  68. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/topoutilitystructs.py +0 -0
  69. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/transform.py +0 -0
  70. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/transformstructs.py +0 -0
  71. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumecontrol.py +0 -0
  72. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumecontrolstructs.py +0 -0
  73. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumemeshtool.py +0 -0
  74. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumemeshtoolstructs.py +0 -0
  75. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumesearch.py +0 -0
  76. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumesearchstructs.py +0 -0
  77. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumesweeper.py +0 -0
  78. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/volumesweeperstructs.py +0 -0
  79. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/vtcomposer.py +0 -0
  80. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/vtcomposerstructs.py +0 -0
  81. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/wrapper.py +0 -0
  82. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/wrappercontrol.py +0 -0
  83. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/autogen/wrapperstructs.py +0 -0
  84. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/controldata.py +0 -0
  85. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/dynaexportutils.py +0 -0
  86. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/fileio.py +0 -0
  87. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/model.py +0 -0
  88. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/multizonecontrol.py +0 -0
  89. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/part.py +0 -0
  90. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/periodiccontrol.py +0 -0
  91. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/sizecontrol.py +0 -0
  92. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/surfaceutilities.py +0 -0
  93. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/surfer.py +0 -0
  94. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/volumecontrol.py +0 -0
  95. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/volumesweeper.py +0 -0
  96. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/wrapper.py +0 -0
  97. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/core/wrappercontrol.py +0 -0
  98. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/examples/__init__.py +0 -0
  99. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/examples/download_utilities.py +0 -0
  100. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/examples/examples.py +0 -0
  101. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/examples/unit_test_examples.py +0 -0
  102. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/__init__.py +0 -0
  103. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/graphics.py +0 -0
  104. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/bin.png +0 -0
  105. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/invert_visibility.png +0 -0
  106. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/parts.png +0 -0
  107. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/selectioninfo.png +0 -0
  108. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/show_edges.png +0 -0
  109. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/show_ruler.png +0 -0
  110. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/images/surface_body.png +0 -0
  111. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/graphics/trame_gui.py +0 -0
  112. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/client.py +0 -0
  113. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/comm_manager.py +0 -0
  114. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/communicator.py +0 -0
  115. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/config.py +0 -0
  116. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/grpc_communicator.py +0 -0
  117. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/grpc_utils.py +0 -0
  118. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/json_utils.py +0 -0
  119. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/launcher.py +0 -0
  120. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/logger.py +0 -0
  121. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/prime_communicator.py +0 -0
  122. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/internals/utils.py +0 -0
  123. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/lucid/__init__.py +0 -0
  124. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/lucid/mesh_util.py +0 -0
  125. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/lucid/scope.py +0 -0
  126. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/lucid/utils.py +0 -0
  127. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/params/primestructs.py +0 -0
  128. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/relaxed_json/__init__.py +0 -0
  129. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/relaxed_json/decoder.py +0 -0
  130. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/relaxed_json/encoder.py +0 -0
  131. {ansys_meshing_prime-0.6.0.dev7 → ansys_meshing_prime-0.6.0.dev8}/src/ansys/meshing/prime/relaxed_json/scanner.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ansys-meshing-prime
3
- Version: 0.6.0.dev7
3
+ Version: 0.6.0.dev8
4
4
  Summary: PyPrimeMesh is a Python client to Ansys Prime Server, which delivers core Ansys meshing technology.
5
5
  Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
6
6
  Maintainer-email: "ANSYS, Inc." <pyansys.core@ansys.com>
@@ -18,12 +18,12 @@ Requires-Dist: numpy>=1.14.0
18
18
  Requires-Dist: appdirs>=1.4.0
19
19
  Requires-Dist: importlib-metadata>=4.0,<5; python_version<='3.8'
20
20
  Requires-Dist: pyvista[jupyter]>=0.38.1 ; extra == "all"
21
- Requires-Dist: ansys-sphinx-theme==0.14.1 ; extra == "doc"
21
+ Requires-Dist: ansys-sphinx-theme==0.15.2 ; extra == "doc"
22
22
  Requires-Dist: jupyter-sphinx==0.5.3 ; extra == "doc"
23
- Requires-Dist: numpydoc==1.6.0 ; extra == "doc"
23
+ Requires-Dist: numpydoc==1.7.0 ; extra == "doc"
24
24
  Requires-Dist: Sphinx==7.2.6 ; extra == "doc"
25
25
  Requires-Dist: pyvista==0.43.4 ; extra == "doc"
26
- Requires-Dist: sphinx-autodoc-typehints==2.0.0 ; extra == "doc"
26
+ Requires-Dist: sphinx-autodoc-typehints==2.0.1 ; extra == "doc"
27
27
  Requires-Dist: sphinx-copybutton==0.5.2 ; extra == "doc"
28
28
  Requires-Dist: sphinx-gallery==0.15.0 ; extra == "doc"
29
29
  Requires-Dist: sphinx-notfound-page==1.0.0 ; extra == "doc"
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "ansys-meshing-prime"
7
- version = "0.6.0.dev7"
7
+ version = "0.6.0.dev8"
8
8
  description = "PyPrimeMesh is a Python client to Ansys Prime Server, which delivers core Ansys meshing technology."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8,<4"
@@ -40,12 +40,12 @@ tests = [
40
40
  "pyvista[trame]==0.43.4"
41
41
  ]
42
42
  doc = [
43
- "ansys-sphinx-theme==0.14.1",
43
+ "ansys-sphinx-theme==0.15.2",
44
44
  "jupyter-sphinx==0.5.3",
45
- "numpydoc==1.6.0",
45
+ "numpydoc==1.7.0",
46
46
  "Sphinx==7.2.6",
47
47
  "pyvista==0.43.4",
48
- "sphinx-autodoc-typehints==2.0.0",
48
+ "sphinx-autodoc-typehints==2.0.1",
49
49
  "sphinx-copybutton==0.5.2",
50
50
  "sphinx-gallery==0.15.0",
51
51
  "sphinx-notfound-page==1.0.0",
@@ -126,13 +126,13 @@ class Connect(CoreObject):
126
126
  return ConnectResults(model = self._model, json_data = result)
127
127
 
128
128
  def subtract_volumes(self, part_id : int, target_volumes : Iterable[int], cutter_volumes : Iterable[int], params : SubtractVolumesParams) -> SubtractVolumesResults:
129
- """ Subtract cutter volumes from target volumes. Volumes should be computed prior to calling this function.
129
+ """ Subtract cutter volumes from target volumes. Volumes should be computed prior to calling this function. If multiple parts are being merged to form a single part, then volumes should be computed for each part prior to merging. Use compute_closed_volumes to do so.
130
130
 
131
131
 
132
132
  Parameters
133
133
  ----------
134
134
  part_id : int
135
- Id of a part.
135
+ Id of part containing target and cutter volumes for subtract operation.
136
136
  target_volumes : Iterable[int]
137
137
  Ids of target volumes.
138
138
  cutter_volumes : Iterable[int]
@@ -856,7 +856,7 @@ class SubtractVolumesParams(CoreObject):
856
856
  ignore_face_zonelets: Iterable[int], optional
857
857
  Face zonelet ids that subtract volumes should not remove (for example, periodic or fluid cap zonelets). If ignore face zonelets are provided, then the target volumes after subtract operation need to be recomputed.
858
858
  check_cutters: bool, optional
859
- Option to analyze overlapping or intersecting cutter volumes.
859
+ Option to manage intersecting cutter volumes. When keep_cutters is False an error message is provided if multiple cutters intersect. Overlapping cutter volumes are not supported.
860
860
  keep_cutters: bool, optional
861
861
  Option to retain cutter volumes.
862
862
  This is a beta parameter. The behavior and name may change in the future.
@@ -908,7 +908,7 @@ class SubtractVolumesParams(CoreObject):
908
908
  ignore_face_zonelets: Iterable[int], optional
909
909
  Face zonelet ids that subtract volumes should not remove (for example, periodic or fluid cap zonelets). If ignore face zonelets are provided, then the target volumes after subtract operation need to be recomputed.
910
910
  check_cutters: bool, optional
911
- Option to analyze overlapping or intersecting cutter volumes.
911
+ Option to manage intersecting cutter volumes. When keep_cutters is False an error message is provided if multiple cutters intersect. Overlapping cutter volumes are not supported.
912
912
  keep_cutters: bool, optional
913
913
  Option to retain cutter volumes.
914
914
  """
@@ -955,7 +955,7 @@ class SubtractVolumesParams(CoreObject):
955
955
 
956
956
  @property
957
957
  def check_cutters(self) -> bool:
958
- """Option to analyze overlapping or intersecting cutter volumes.
958
+ """Option to manage intersecting cutter volumes. When keep_cutters is False an error message is provided if multiple cutters intersect. Overlapping cutter volumes are not supported.
959
959
  """
960
960
  return self._check_cutters
961
961
 
@@ -337,7 +337,7 @@ class ErrorCode(enum.IntEnum):
337
337
  MERGESMALLZONELETSSUPPORTEDFORFACEZONELETS = 1311
338
338
  """Merge small zonelets option is supported for only face zonelets."""
339
339
  INVALIDINPUTVOLUMES = 1312
340
- """Invalid input volumes."""
340
+ """List of volume ids provided is empty or incorrect."""
341
341
  MORPHER_COMPUTEBCS = 1410
342
342
  """Failed to compute boundary conditions."""
343
343
  MORPHER_MATCHMORPHINVALIDSOURCEINPUT = 1450
@@ -651,6 +651,15 @@ class ErrorCode(enum.IntEnum):
651
651
  AUTOQUADMESHER_INVALIDMINMAXSIZES = 15001
652
652
  """Difference in maximum value and minimum value is negative.
653
653
  This is a beta parameter. The behavior and name may change in the future."""
654
+ ZEROELEMENTSREADFROMCDBFILE = 16500
655
+ """No elements read from CDB file.
656
+ This is a beta parameter. The behavior and name may change in the future."""
657
+ ZERONODESREADFROMCDBFILE = 16501
658
+ """No nodes read from CDB file.
659
+ This is a beta parameter. The behavior and name may change in the future."""
660
+ ZEROELEMENTSFORCDBEXPORT = 16600
661
+ """No elements found for cdb export.
662
+ This is a beta parameter. The behavior and name may change in the future."""
654
663
 
655
664
  class WarningCode(enum.IntEnum):
656
665
  """Warning codes associated with the PyPrimeMesh operation.
@@ -681,16 +681,18 @@ class _MaterialProcessor:
681
681
  def _process_expansion_data(self, property_dict, material, mat_id):
682
682
  expansion_data = ''
683
683
  zero = 0.0
684
+ data = []
685
+ parameters = []
686
+ if 'Parameters' in property_dict and property_dict['Parameters'] is not None:
687
+ parameters = property_dict['Parameters']
688
+ if 'Data' in property_dict and property_dict['Data'] is not None:
689
+ data = property_dict['Data']
684
690
  exp_type = 'ISO'
685
- if 'ZERO' in property_dict['Parameters']:
686
- zero = float(property_dict['Parameters']['ZERO'])
687
- if 'TYPE' in property_dict['Parameters']:
688
- exp_type = property_dict['Parameters']['TYPE']
689
- if (
690
- 'DEPENDENCIES' in property_dict['Parameters']
691
- or 'PORE FLUID' in property_dict['Parameters']
692
- or 'USER' in property_dict['Parameters']
693
- ):
691
+ if 'ZERO' in parameters:
692
+ zero = float(parameters['ZERO'])
693
+ if 'TYPE' in parameters:
694
+ exp_type = parameters['TYPE']
695
+ if 'DEPENDENCIES' in parameters or 'PORE FLUID' in parameters or 'USER' in parameters:
694
696
  self._logger.warning(
695
697
  f"Arguments PORE FLUID, DEPENDENCIES and USER on "
696
698
  f"*EXPANSION are not processed for material {material}"
@@ -702,31 +704,32 @@ class _MaterialProcessor:
702
704
  f"not processed for material {material}."
703
705
  )
704
706
  return ''
705
- if 'ZERO' in property_dict['Parameters']:
706
- expansion_data += f"MP,REFT,{mat_id},{zero}"
707
+ if 'ZERO' in parameters:
708
+ expansion_data += f"MP,REFT,{mat_id},{zero}\n"
707
709
  if exp_type == 'ISO':
708
710
  temperature = [None]
709
- if 'Temperature' in property_dict['Data']:
710
- temperature = property_dict['Data']['Temperature']
711
- if 'a' in property_dict['Data']:
712
- ctes = property_dict['Data']['a']
711
+ ctes = [None]
712
+ if 'Temperature' in data:
713
+ temperature = data['Temperature']
714
+ if 'a' in data:
715
+ ctes = data['a']
713
716
  expansion_data += f"TB, CTE, {mat_id},,,\n"
714
717
  for temp, cte in zip(temperature, ctes):
715
718
  if temp is not None:
716
719
  expansion_data += f"TBTEMP,{temp}\n"
717
720
  expansion_data += f"TBDATA, 1, {cte}\n"
718
721
  if exp_type == 'ORTHO':
719
- if 'A11' in property_dict['Data']:
720
- ctexs = property_dict['Data']['A11']
722
+ if 'A11' in data:
723
+ ctexs = data['A11']
721
724
  cteys = ['0.0'] * len(ctexs)
722
- if 'A22' in property_dict['Data']:
723
- cteys = property_dict['Data']['A22']
725
+ if 'A22' in data:
726
+ cteys = data['A22']
724
727
  ctezs = ['0.0'] * len(ctexs)
725
- if 'A33' in property_dict['Data']:
726
- ctezs = property_dict['Data']['A33']
728
+ if 'A33' in data:
729
+ ctezs = data['A33']
727
730
  temperature = [None] * len(ctexs)
728
- if 'Temperature' in property_dict['Data']:
729
- temperature = property_dict['Data']['Temperature']
731
+ if 'Temperature' in data:
732
+ temperature = data['Temperature']
730
733
  expansion_data += f"TB, CTE, {mat_id},,,\n"
731
734
  for temp, ctex, ctey, ctez in zip(temperature, ctexs, cteys, ctezs):
732
735
  if temp is not None:
@@ -739,22 +742,26 @@ class _MaterialProcessor:
739
742
  damping_data = ''
740
743
  if property_dict['Parameters'] is None:
741
744
  self._logger.warning(f"*DAMPING does not have parameters to process.")
742
- if 'ALPHA' in property_dict['Parameters']:
743
- damping_data += f"MP, ALPD, {mat_id}, {property_dict['Parameters']['ALPHA']} \n"
744
- if float(property_dict['Parameters']['BETA']) != 0.0:
745
- self._logger.warning(f"Parameter {'BETA'} on *DAMPING is not processed.")
746
- if float(property_dict['Parameters']['COMPOSITE']) != 0.0:
747
- self._logger.warning(f"Parameter {'COMPOSITE'} on *DAMPING is not processed.")
745
+ else:
746
+ if 'ALPHA' in property_dict['Parameters']:
747
+ damping_data += f"MP, ALPD, {mat_id}, {property_dict['Parameters']['ALPHA']} \n"
748
+ if float(property_dict['Parameters']['BETA']) != 0.0:
749
+ self._logger.warning(f"Parameter {'BETA'} on *DAMPING is not processed.")
750
+ if float(property_dict['Parameters']['COMPOSITE']) != 0.0:
751
+ self._logger.warning(f"Parameter {'COMPOSITE'} on *DAMPING is not processed.")
748
752
  damping_data += f"\n"
749
753
  return damping_data
750
754
 
751
755
  def _process_density(self, property_dict, material, mat_id):
752
756
  density_data = ''
757
+ data = []
758
+ if 'Data' in property_dict and property_dict['Data'] is not None:
759
+ data = property_dict['Data']
753
760
  if "Parameters" in property_dict and property_dict['Parameters'] is not None:
754
761
  self._logger.warning(f"Parameter on *DENSITY are not processed.")
755
- density = property_dict['Data']['Mass density']
756
- if 'Temperature' in property_dict['Data']:
757
- temperature = property_dict['Data']['Temperature']
762
+ density = data['Mass density']
763
+ if 'Temperature' in data:
764
+ temperature = data['Temperature']
758
765
  if len(density) != len(temperature):
759
766
  self._logger.warning(
760
767
  f"data values on *DENSITY are not consistent for material {material}."
@@ -773,16 +780,19 @@ class _MaterialProcessor:
773
780
 
774
781
  def _process_elastic_modulus(self, property_dict, material, mat_id):
775
782
  elastic_modulus = ''
783
+ data = []
784
+ if 'Data' in property_dict and property_dict['Data'] is not None:
785
+ data = property_dict['Data']
776
786
  if property_dict["Parameters"]["TYPE"] == "ISOTROPIC":
777
787
  # self._logger.warning(f"Only isotropic elastic modulus is processed, "
778
788
  # f"Elastic Modulus for the material {material} "
779
789
  # f"is not processed.")
780
790
  # return ''
781
- youngs_mod = property_dict['Data']['E']
782
- nu = property_dict['Data']['V']
783
- # temperature = property_dict['Data']['Temperature']
784
- if 'Temperature' in property_dict['Data']:
785
- temperature = property_dict['Data']['Temperature']
791
+ youngs_mod = data['E']
792
+ nu = data['V']
793
+ # temperature = data['Temperature']
794
+ if 'Temperature' in data:
795
+ temperature = data['Temperature']
786
796
  if len(youngs_mod) != len(temperature):
787
797
  self._logger.warning(
788
798
  f"data values on *ELASTIC are not consistent for material {material}."
@@ -820,13 +830,13 @@ class _MaterialProcessor:
820
830
  f" this is not processed."
821
831
  )
822
832
  return ''
823
- knn = property_dict['Data']['E/Knn']
824
- kss = property_dict['Data']['G1/Kss']
825
- ktt = property_dict['Data']['G2/Ktt']
833
+ knn = data['E/Knn']
834
+ kss = data['G1/Kss']
835
+ ktt = data['G2/Ktt']
826
836
  t = self._cohezive_zone_thickness_data[material]['Thickness']
827
- # temperature = property_dict['Data']['Temperature']
828
- if 'Temperature' in property_dict['Data']:
829
- temperature = property_dict['Data']['Temperature']
837
+ # temperature = data['Temperature']
838
+ if 'Temperature' in data:
839
+ temperature = data['Temperature']
830
840
  if len(knn) != len(temperature):
831
841
  self._logger.warning(
832
842
  f"data values on *ELASTIC are not consistent for material {material}."
@@ -861,6 +871,9 @@ class _MaterialProcessor:
861
871
 
862
872
  def _process_plastic_data(self, property_dict, material, mat_id):
863
873
  plastic_data = ''
874
+ data = []
875
+ if 'Data' in property_dict and property_dict['Data'] is not None:
876
+ data = property_dict['Data']
864
877
  if property_dict["Parameters"]["HARDENING"] != "ISOTROPIC":
865
878
  self._logger.warning(
866
879
  f"Only HARDENING=ISOTROPIC is processed, "
@@ -870,12 +883,12 @@ class _MaterialProcessor:
870
883
  return ''
871
884
  if self._material_linked_to_zone_type[material] == 'Cohesive':
872
885
  return ''
873
- strains = property_dict['Data']['Plastic strain']
874
- stresses = property_dict['Data']['Yield stress']
875
- # temperature = property_dict['Data']['Temperature']
886
+ strains = data['Plastic strain']
887
+ stresses = data['Yield stress']
888
+ # temperature = data['Temperature']
876
889
  data_points = len(strains)
877
- if 'Temperature' in property_dict['Data']:
878
- temperature = property_dict['Data']['Temperature']
890
+ if 'Temperature' in data:
891
+ temperature = data['Temperature']
879
892
  unique_temperatures = len(list(set(temperature)))
880
893
  data_points = len(strains) / unique_temperatures
881
894
  if len(stresses) != len(temperature):
@@ -889,7 +902,7 @@ class _MaterialProcessor:
889
902
  plastic_data += f"TB,PLAS,{mat_id},,{int(data_points)},MISO\n"
890
903
  curr_temp = None
891
904
  for i, strain in enumerate(strains):
892
- if 'Temperature' in property_dict['Data']:
905
+ if 'Temperature' in data:
893
906
  if curr_temp != temperature[i]:
894
907
  curr_temp = temperature[i]
895
908
  plastic_data += f"TBTEMP,{curr_temp}\n"
@@ -900,6 +913,9 @@ class _MaterialProcessor:
900
913
  def _process_hyperelastic_data(self, property_dict, material, mat_id):
901
914
  hyperelastic_data = ''
902
915
  param_keys = property_dict["Parameters"].keys()
916
+ data = []
917
+ if 'Data' in property_dict and property_dict['Data'] is not None:
918
+ data = property_dict['Data']
903
919
  if (
904
920
  'REDUCED POLYNOMIAL' not in param_keys
905
921
  and 'YEOH' not in param_keys
@@ -915,8 +931,8 @@ class _MaterialProcessor:
915
931
  if self._material_linked_to_zone_type[material] == 'Cohesive':
916
932
  return ''
917
933
  if 'NEO HOOKE' in param_keys:
918
- if 'Temperature' in property_dict['Data']:
919
- temperature = property_dict['Data']['Temperature']
934
+ if 'Temperature' in data:
935
+ temperature = data['Temperature']
920
936
  temp_data_points = len(temperature)
921
937
  else:
922
938
  self._logger.warning(
@@ -924,10 +940,10 @@ class _MaterialProcessor:
924
940
  )
925
941
  temp_data_points = 1
926
942
  temperature = [None]
927
- if 'C10' in property_dict['Data'].keys():
928
- c10 = property_dict['Data']['C10']
929
- if 'D1' in property_dict['Data'].keys():
930
- d1 = property_dict['Data']['D1']
943
+ if 'C10' in data.keys():
944
+ c10 = data['C10']
945
+ if 'D1' in data.keys():
946
+ d1 = data['D1']
931
947
  else:
932
948
  d1 = [0.0] * len(c10)
933
949
  hyperelastic_data += f"TB,HYPE,{mat_id},,,NEO\n"
@@ -936,8 +952,8 @@ class _MaterialProcessor:
936
952
  hyperelastic_data += f"TBTEMP, {temperature[i]}\n"
937
953
  hyperelastic_data += f"TBDATA, 1, {float(c10[i])*2}, {d1[i]}\n"
938
954
  if 'REDUCED POLYNOMIAL' in param_keys or 'YEOH' in param_keys:
939
- if 'Temperature' in property_dict['Data']:
940
- temperature = property_dict['Data']['Temperature']
955
+ if 'Temperature' in data:
956
+ temperature = data['Temperature']
941
957
  temp_data_points = len(temperature)
942
958
  else:
943
959
  self._logger.warning(
@@ -946,25 +962,25 @@ class _MaterialProcessor:
946
962
  temp_data_points = 1
947
963
  temperature = [None]
948
964
  number_of_constants = 3
949
- if 'C10' in property_dict['Data'].keys():
965
+ if 'C10' in data.keys():
950
966
  number_of_constants = 1
951
- c10 = property_dict['Data']['C10']
952
- if 'D1' in property_dict['Data'].keys():
953
- d1 = property_dict['Data']['D1']
967
+ c10 = data['C10']
968
+ if 'D1' in data.keys():
969
+ d1 = data['D1']
954
970
  else:
955
971
  d1 = [0.0] * len(c10)
956
- if 'C20' in property_dict['Data'].keys():
972
+ if 'C20' in data.keys():
957
973
  number_of_constants = 2
958
- c20 = property_dict['Data']['C20']
959
- if 'D2' in property_dict['Data'].keys():
960
- d2 = property_dict['Data']['D2']
974
+ c20 = data['C20']
975
+ if 'D2' in data.keys():
976
+ d2 = data['D2']
961
977
  else:
962
978
  d2 = [0.0] * len(c20)
963
- if 'C30' in property_dict['Data'].keys():
979
+ if 'C30' in data.keys():
964
980
  number_of_constants = 3
965
- c30 = property_dict['Data']['C30']
966
- if 'D3' in property_dict['Data'].keys():
967
- d3 = property_dict['Data']['D3']
981
+ c30 = data['C30']
982
+ if 'D3' in data.keys():
983
+ d3 = data['D3']
968
984
  else:
969
985
  d3 = [0.0] * len(c30)
970
986
  hyperelastic_data += f"TB,HYPE,{mat_id},,{number_of_constants},YEOH\n"
@@ -982,8 +998,8 @@ class _MaterialProcessor:
982
998
  else:
983
999
  pass
984
1000
  # if 'REDUCED POLYNOMIAL' in param_keys:
985
- # if 'Temperature' in property_dict['Data']:
986
- # temperature = property_dict['Data']['Temperature']
1001
+ # if 'Temperature' in data:
1002
+ # temperature = data['Temperature']
987
1003
  # temp_data_points = len(temperature)
988
1004
  # else:
989
1005
  # self._logger.warning(
@@ -1408,21 +1424,24 @@ class _JointMaterialProcessor:
1408
1424
  comp4_str = "Angle1"
1409
1425
  comp5_str = "Angle2"
1410
1426
  comp6_str = "Angle3"
1427
+ data = []
1428
+ if 'Data' in property_dict and property_dict['Data'] is not None:
1429
+ data = property_dict['Data']
1411
1430
  # self._logger.info("property_dict")
1412
1431
  # self._logger.info(property_dict)
1413
- # self._logger.info(property_dict['Data'])
1414
- if comp1_str in property_dict['Data']:
1415
- ref_length[0] = property_dict['Data'][comp1_str]
1416
- if comp2_str in property_dict['Data']:
1417
- ref_length[1] = property_dict['Data'][comp2_str]
1418
- if comp3_str in property_dict['Data']:
1419
- ref_length[2] = property_dict['Data'][comp3_str]
1420
- if comp4_str in property_dict['Data']:
1421
- ref_length[3] = property_dict['Data'][comp4_str]
1422
- if comp5_str in property_dict['Data']:
1423
- ref_length[4] = property_dict['Data'][comp5_str]
1424
- if comp6_str in property_dict['Data']:
1425
- ref_length[5] = property_dict['Data'][comp6_str]
1432
+ # self._logger.info(data)
1433
+ if comp1_str in data:
1434
+ ref_length[0] = data[comp1_str]
1435
+ if comp2_str in data:
1436
+ ref_length[1] = data[comp2_str]
1437
+ if comp3_str in data:
1438
+ ref_length[2] = data[comp3_str]
1439
+ if comp4_str in data:
1440
+ ref_length[3] = data[comp4_str]
1441
+ if comp5_str in data:
1442
+ ref_length[4] = data[comp5_str]
1443
+ if comp6_str in data:
1444
+ ref_length[5] = data[comp6_str]
1426
1445
  return ref_length
1427
1446
 
1428
1447
 
@@ -1465,6 +1484,27 @@ class _BoundaryProcessor:
1465
1484
  def get_boundary_commands_by_id(self, boundary_id):
1466
1485
  pass
1467
1486
 
1487
+ def get_boundary_comp_name_with_base_motion(self, base_motion_name):
1488
+ boundaries_data = self._boundaries_data
1489
+ comp_names = []
1490
+ for boundary_data in boundaries_data:
1491
+ if 'Parameters' in boundary_data:
1492
+ params = boundary_data['Parameters']
1493
+ if params is not None and 'BASE NAME' in params:
1494
+ if params['BASE NAME'] == base_motion_name:
1495
+ data_lines = boundary_data['Data']
1496
+ if data_lines is not None:
1497
+ for data_line in data_lines:
1498
+ comp_names.append(str(data_line['node_set']))
1499
+ else:
1500
+ if base_motion_name == "":
1501
+ data_lines = boundary_data['Data']
1502
+ if data_lines is not None:
1503
+ for data_line in data_lines:
1504
+ comp_names.append(str(data_line['node_set']))
1505
+
1506
+ return comp_names
1507
+
1468
1508
  def _get_commands(self, boundary_data):
1469
1509
  # self._logger.info("boundary data is ")
1470
1510
  # self._logger.info(boundary_data)
@@ -2572,17 +2612,18 @@ class _StepProcessor:
2572
2612
  if self._simulation_data is not None:
2573
2613
  if "ConnectorBehavior" in self._simulation_data:
2574
2614
  all_conn_behavior = self._simulation_data['ConnectorBehavior']
2575
- for mat in all_conn_behavior:
2576
- conn_mat = all_conn_behavior[mat]
2577
- if 'CONNECTOR DAMPING' in conn_mat:
2578
- for conn_damp in conn_mat['CONNECTOR DAMPING']:
2579
- if 'Parameters' in conn_damp:
2580
- if (
2581
- "TYPE" in conn_damp['Parameters']
2582
- and conn_damp['Parameters']['TYPE'] == 'VISCOUS'
2583
- ):
2584
- modopt_method = 'QRDAMP'
2585
- break
2615
+ if all_conn_behavior:
2616
+ for mat in all_conn_behavior:
2617
+ conn_mat = all_conn_behavior[mat]
2618
+ if conn_mat and 'CONNECTOR DAMPING' in conn_mat:
2619
+ for conn_damp in conn_mat['CONNECTOR DAMPING']:
2620
+ if conn_damp and 'Parameters' in conn_damp:
2621
+ if (
2622
+ "TYPE" in conn_damp['Parameters']
2623
+ and conn_damp['Parameters']['TYPE'] == 'VISCOUS'
2624
+ ):
2625
+ modopt_method = 'QRDAMP'
2626
+ break
2586
2627
  frequency_analysis_commands += (
2587
2628
  f'! -------------------------- STEP: {self._step_counter} -----------------------\n'
2588
2629
  )
@@ -2721,7 +2762,7 @@ class _StepProcessor:
2721
2762
  for modal_ouput in output['Data']['ModalOutput']:
2722
2763
  # modal_ouput = output['ModalOutput']
2723
2764
  for key in modal_ouput['Data']['keys']:
2724
- if key in ["GV", "GA", "GPV", "GPA"]:
2765
+ if key in ["GV", "GA", "GPV", "GPA", "A1", "A2", "A3"]:
2725
2766
  has_velocities = True
2726
2767
  return has_modal_output, has_velocities
2727
2768
 
@@ -2837,7 +2878,7 @@ class _StepProcessor:
2837
2878
  for nodeout in output['Data']['NodeOutput']:
2838
2879
  # nodeout = output['NodeOutput']
2839
2880
  for key in nodeout['Data']['keys']:
2840
- if key in ["RF", "U", "UT"]:
2881
+ if key in ["RF", "U", "UT", "U1", "U2", "U3", "A1", "A2", "A3"]:
2841
2882
  output_analysis_commands += "OUTRES, "
2842
2883
  if key == "RF":
2843
2884
  output_analysis_commands += "RSOL, "
@@ -2853,7 +2894,7 @@ class _StepProcessor:
2853
2894
  output_analysis_commands += f'{nfreq}, '
2854
2895
  else:
2855
2896
  output_analysis_commands += 'ALL, '
2856
- elif key == "U" or key == "UT":
2897
+ elif key in ["U", "UT", "U1", "U2", "U3", "A1", "A2", "A3"]:
2857
2898
  output_analysis_commands += "NSOL, "
2858
2899
  if time_points is not None:
2859
2900
  output_analysis_commands += f'%{time_points}%, '
@@ -3039,6 +3080,9 @@ class _StepProcessor:
3039
3080
  base_name = ""
3040
3081
  if 'BASE NAME' in params:
3041
3082
  base_name = params['BASE NAME']
3083
+ boundaries_for_motion = self.get_step_boundary_component_data(
3084
+ self._curr_step["Boundary"], base_name
3085
+ )
3042
3086
  dof = int(params['DOF'])
3043
3087
  scale = 0
3044
3088
  if 'SCALE' in params:
@@ -3052,12 +3096,13 @@ class _StepProcessor:
3052
3096
  vector_commands += f'SFEDELE, ALL, ALL, ALL \n'
3053
3097
  vector_commands += f'ACEL, 0, 0, 0 \n'
3054
3098
  vector_commands += f'\n'
3055
- vector_commands += f"F, {base_name}, {dof_map[dof]}, 1\n"
3056
- count_load_vectors += 1
3057
- self._modal_load_vectors[count_load_vectors] = {
3058
- 'SET': base_name,
3059
- "COMP": dof_map[dof],
3060
- }
3099
+ for item in boundaries_for_motion:
3100
+ vector_commands += f"F, {item}, {dof_map[dof]}, 1\n"
3101
+ count_load_vectors += 1
3102
+ self._modal_load_vectors[count_load_vectors] = {
3103
+ 'SET': base_name,
3104
+ "COMP": dof_map[dof],
3105
+ }
3061
3106
  # else:
3062
3107
  # vector_commands += 'SOLVE\n'
3063
3108
  return vector_commands
@@ -3140,6 +3185,19 @@ class _StepProcessor:
3140
3185
  self._boundary_ampl_commands += boundary_processor.get_ampl_commands()
3141
3186
  return boundary_commands
3142
3187
 
3188
+ def get_step_boundary_component_data(self, boundaries_data, base_name):
3189
+ boundary_processor = _BoundaryProcessor(
3190
+ self._model,
3191
+ boundaries_data,
3192
+ self._step_start_time,
3193
+ self._step_end_time,
3194
+ sim_data=self._simulation_data,
3195
+ )
3196
+ # TODO this needs to be in List of boundaries instead of single Boundary
3197
+ comp_names = []
3198
+ comp_names.extend(boundary_processor.get_boundary_comp_name_with_base_motion(base_name))
3199
+ return comp_names
3200
+
3143
3201
  def get_global_damping_commnads(self, global_damping_data):
3144
3202
  global_damping_processor = _GlobalDampingProcessing(self._model, global_damping_data)
3145
3203
  global_damping_commands = global_damping_processor.get_global_damping_commands(
@@ -41,7 +41,7 @@ LOCAL_OUTDIR = os.path.join(USER_DATA_PATH, 'output')
41
41
  if not os.path.exists(LOCAL_OUTDIR): # pragma: no cover
42
42
  os.makedirs(LOCAL_OUTDIR)
43
43
 
44
- CONTAINER_USER_DATA = '/data'
44
+ CONTAINER_USER_DATA = os.getenv('PYPRIMEMESH_CONTAINER_USER_DATA ', '/data')
45
45
  CONTAINER_EXAMPLES = os.path.join(CONTAINER_USER_DATA, 'examples')
46
46
  CONTAINER_OUTDIR = os.path.join(CONTAINER_USER_DATA, 'output')
47
47
 
@@ -47,7 +47,7 @@ prime_error_messages = {
47
47
  ErrorCode.PERIODICSURFACESNOTSUPPORTEDFORPRISMS: "Periodic surfaces selected for prism generation, not supported.",
48
48
  ErrorCode.ALREADYVOLUMEMESHED: "Already volume meshed.",
49
49
  ErrorCode.INCREMENTALVOLUMEMESHINGNOTSUPPORTED: "Incremental volume meshing is not supported.",
50
- ErrorCode.VOLUMESNOTUPTODATE: "Volumes are not up to date. Update volumes and try again.",
50
+ ErrorCode.VOLUMESNOTUPTODATE: "Volumes are not up to date. Compute topovolumes for topology part or compute closed volumes for non topology parts and try again.",
51
51
  ErrorCode.QUADRATICMESHSUPPORTEDONLYFORTETS: "Quadratic meshing is supported only for tetrahedrons.",
52
52
  ErrorCode.NOACTIVESFFOUND: "Active size fields are not available.",
53
53
  ErrorCode.AITOVERLAPALONGMULTIFOUND: "Overlapping faces along multi-connection found.",
@@ -308,6 +308,9 @@ prime_error_messages = {
308
308
  ErrorCode.AUTOQUADMESHER_INVALIDMINMAXSIZES: "Minimum size is more than maximum size.",
309
309
  ErrorCode.AUTOQUADMESHER_NEGATIVEINPUTPARAMETER: "Input parameters contain one or more negative values.",
310
310
  ErrorCode.FACEZONELETSHAVECELLSCONNECTED: "Face zonelets have cells connected.",
311
+ ErrorCode.ZEROELEMENTSREADFROMCDBFILE: "No mesh elements found. Check the input CDB file.",
312
+ ErrorCode.ZERONODESREADFROMCDBFILE: "No nodes found. Check the input CDB file.",
313
+ ErrorCode.ZEROELEMENTSFORCDBEXPORT: "No mesh elements found for CDB export. Check if the model is meshed, or set write_by_zones in ExportMapdlCdbParams to false if zones are not defined.",
311
314
  }
312
315
 
313
316
  prime_warning_messages = {