NaxToPy 3.4.0__tar.gz → 3.4.1__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 (191) hide show
  1. {naxtopy-3.4.0/src/NaxToPy.egg-info → naxtopy-3.4.1}/PKG-INFO +29 -1
  2. {naxtopy-3.4.0 → naxtopy-3.4.1}/README.md +28 -0
  3. {naxtopy-3.4.0 → naxtopy-3.4.1}/pyproject.toml +1 -1
  4. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PMaterial.py +8 -4
  5. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PNastranInputData.py +48 -49
  6. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Errors/N2PLog.py +65 -5
  7. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/material.py +30 -1
  8. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/model_processor.py +10 -4
  9. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/property.py +76 -5
  10. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/aerospace/core_shear_crimping_aerospace.py +5 -0
  11. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/aerospace/dimpling_aerospace.py +31 -0
  12. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/aerospace/wrinkling_aerospace.py +45 -0
  13. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/cmh/core_shear_loading_cmh.py +52 -0
  14. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/cmh/wrinkling_cmh.py +28 -0
  15. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/hypersizer/dimpling_hypersizer.py +4 -1
  16. naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/nasa/__init__.py +2 -0
  17. naxtopy-3.4.1/src/NaxToPy/Modules/static/composite/__init__.py +5 -0
  18. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/composite/failure_analysis/N2PCompositeFailure.py +536 -530
  19. naxtopy-3.4.1/src/NaxToPy/Modules/static/composite/sandwich/N2PSandwich.py +2151 -0
  20. naxtopy-3.4.1/src/NaxToPy/Modules/static/composite/unfolding/N2PUnfolding.py +1896 -0
  21. naxtopy-3.4.1/src/NaxToPy/Modules/static/composite/unfolding/__init__.py +2 -0
  22. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PCreateFasteners.py +150 -87
  23. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PStiffness.py +34 -0
  24. {naxtopy-3.4.0 → naxtopy-3.4.1/src/NaxToPy.egg-info}/PKG-INFO +29 -1
  25. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy.egg-info/SOURCES.txt +7 -0
  26. naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/cmh/wrinkling_cmh.py +0 -29
  27. naxtopy-3.4.0/src/NaxToPy/Modules/static/composite/__init__.py +0 -3
  28. naxtopy-3.4.0/src/NaxToPy/Modules/static/composite/sandwich/N2PSandwich.py +0 -1860
  29. {naxtopy-3.4.0 → naxtopy-3.4.1}/LICENSE +0 -0
  30. {naxtopy-3.4.0 → naxtopy-3.4.1}/setup.cfg +0 -0
  31. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQEntities/N2PEntity.py +0 -0
  32. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQEntities/N2PEntityElement.py +0 -0
  33. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQEntities/N2PEntityNode.py +0 -0
  34. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQEntities/N2PEntityShell.py +0 -0
  35. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQEntities/__init__.py +0 -0
  36. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeyword.py +0 -0
  37. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordBEAMSECTION.py +0 -0
  38. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordCOUPLING.py +0 -0
  39. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordDENSITY.py +0 -0
  40. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordDISTRIBUTING.py +0 -0
  41. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordDISTRIBUTINGCOUPLING.py +0 -0
  42. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordELASTIC.py +0 -0
  43. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordELEMENT.py +0 -0
  44. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordELSET.py +0 -0
  45. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordENDINSTANCE.py +0 -0
  46. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordENDPART.py +0 -0
  47. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordINSTANCE.py +0 -0
  48. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordKINEMATIC.py +0 -0
  49. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordKINEMATICCOUPLING.py +0 -0
  50. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordMATERIAL.py +0 -0
  51. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordNODE.py +0 -0
  52. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordNSET.py +0 -0
  53. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordORIENTATION.py +0 -0
  54. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordPART.py +0 -0
  55. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordPLASTIC.py +0 -0
  56. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordSHELLSECTION.py +0 -0
  57. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordSOLIDSECTION.py +0 -0
  58. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/N2PKeywordSURFACE.py +0 -0
  59. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ABQKeywords/__init__.py +0 -0
  60. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/AllClasses.py +0 -0
  61. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PAbaqusInputData.py +0 -0
  62. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PComponent.py +0 -0
  63. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PConnector.py +0 -0
  64. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PCoord.py +0 -0
  65. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PElement.py +0 -0
  66. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PFreeBody.py +0 -0
  67. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PIncrement.py +0 -0
  68. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PLoadCase.py +0 -0
  69. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PNode.py +0 -0
  70. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PProperty.py +0 -0
  71. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PReport.py +0 -0
  72. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PResult.py +0 -0
  73. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PSection.py +0 -0
  74. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/N2PSet.py +0 -0
  75. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/ProgresBar.py +0 -0
  76. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Classes/__init__.py +0 -0
  77. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Constants/Constants.py +0 -0
  78. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Constants/__init__.py +0 -0
  79. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Constants/librerias.py +0 -0
  80. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Errors/N2PColors.py +0 -0
  81. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Errors/N2PFileHandler.py +0 -0
  82. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Errors/__init__.py +0 -0
  83. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/N2PModelContent.py +0 -0
  84. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Reference_Finder/__Reference_Finder.py +0 -0
  85. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/Reference_Finder/__init__.py +0 -0
  86. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/_AuxFunc/_NetToPython.py +0 -0
  87. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/_AuxFunc/__init__.py +0 -0
  88. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Core/__init__.py +0 -0
  89. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/__init__.py +0 -0
  90. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/__init__.py +0 -0
  91. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/data_input_hdf5.py +0 -0
  92. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/common/hdf5.py +0 -0
  93. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/envelope/N2PEnvelope.py +0 -0
  94. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/envelope/__init__.py +0 -0
  95. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/N2PFatigueDamage.py +0 -0
  96. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/__init__.py +0 -0
  97. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/Combination.py +0 -0
  98. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/Event.py +0 -0
  99. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/FatigueEvents.py +0 -0
  100. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/Load.py +0 -0
  101. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/Material.py +0 -0
  102. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/fatigue/_n2pfatiguedamage/__init__.py +0 -0
  103. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/__init__.py +0 -0
  104. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/airbus → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/aerospace}/__init__.py +0 -0
  105. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/bruhn → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/airbus}/__init__.py +0 -0
  106. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/airbus/core_shear_crimping_airbus.py +0 -0
  107. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/airbus/dimpling_airbus.py +0 -0
  108. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/airbus/wrinkling_airbus.py +0 -0
  109. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/cmh → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/bruhn}/__init__.py +0 -0
  110. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/esdu → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/cmh}/__init__.py +0 -0
  111. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/cmh/core_shear_crimping_cmh.py +0 -0
  112. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/cmh/dimpling_cmh.py +0 -0
  113. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/hsb → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/esdu}/__init__.py +0 -0
  114. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/hypersizer → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/hsb}/__init__.py +0 -0
  115. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/hsb/wrinkling_hsb.py +0 -0
  116. {naxtopy-3.4.0/src/NaxToPy/Modules/handbooks/nasa → naxtopy-3.4.1/src/NaxToPy/Modules/handbooks/hypersizer}/__init__.py +0 -0
  117. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/hypersizer/crimping_hypersizer.py +0 -0
  118. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/hypersizer/wrinkling_hypersizer.py +0 -0
  119. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/handbooks/nasa/wrinkling_nasa.py +0 -0
  120. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/n2ptoexe/N2PtoEXE.py +0 -0
  121. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/n2ptoexe/__init__.py +0 -0
  122. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/numericaltools/N2PCoefficientsFinder.py +0 -0
  123. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/numericaltools/__init__.py +0 -0
  124. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/__init__.py +0 -0
  125. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/composite/delamination/N2PEdgeDelamination.py +0 -0
  126. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/composite/delamination/__init__.py +0 -0
  127. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/composite/failure_analysis/__init__.py +0 -0
  128. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/composite/sandwich/__init__.py +0 -0
  129. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PCalculatorRFJoints.py +0 -0
  130. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PCompRF.py +0 -0
  131. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PFastenerAnalysis.py +0 -0
  132. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PGetFasteners.py +0 -0
  133. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PGetLoadFasteners.py +0 -0
  134. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PMetalRF.py +0 -0
  135. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PRivetRF.py +0 -0
  136. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/N2PUpdateFastener.py +0 -0
  137. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/N2PGetAttachments.py +0 -0
  138. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/N2PGetResults.py +0 -0
  139. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/N2PInterpolation.py +0 -0
  140. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/N2PLoadModel.py +0 -0
  141. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/N2PRotation.py +0 -0
  142. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/Functions/__init__.py +0 -0
  143. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/Core/__init__.py +0 -0
  144. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysis/__init__.py +0 -0
  145. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Check/Validation.py +0 -0
  146. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/AR1DElement.py +0 -0
  147. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/ARAttachment.py +0 -0
  148. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/ARBolt.py +0 -0
  149. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/ARPlate.py +0 -0
  150. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/ARPlateElements.py +0 -0
  151. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Classes/__init__.py +0 -0
  152. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARAuxiliarFunctions.py +0 -0
  153. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARBilinearInterpolation.py +0 -0
  154. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARConfigurationInput.py +0 -0
  155. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARDerivedLoadCases.py +0 -0
  156. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARFileInputRivetsIDs.py +0 -0
  157. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARGetAttachments.py +0 -0
  158. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARGetBolts.py +0 -0
  159. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARReadResultsFromFile.py +0 -0
  160. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARResults.py +0 -0
  161. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARRotation.py +0 -0
  162. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/ARSerialize.py +0 -0
  163. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/Functions/__init__.py +0 -0
  164. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/Core/__init__.py +0 -0
  165. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_N2PFastenerAnalysisDeprecated/__init__.py +0 -0
  166. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/__init__.py +0 -0
  167. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_isami_export.py +0 -0
  168. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PCardBuilder.py +0 -0
  169. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PFastenerLayout.py +0 -0
  170. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PGeometry.py +0 -0
  171. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PIDManager.py +0 -0
  172. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/N2PPiece.py +0 -0
  173. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/_n2pcreatefasteners/__init__.py +0 -0
  174. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PAttachment.py +0 -0
  175. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PBolt.py +0 -0
  176. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PFastenerSystem.py +0 -0
  177. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PJoint.py +0 -0
  178. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PJointAnalysisParameters.py +0 -0
  179. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/N2PPlate.py +0 -0
  180. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/joints/__init__.py +0 -0
  181. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/templates/isami/CFH_template_Input.xlsm +0 -0
  182. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/fasteners/templates/isami/MFH_template_Input.xlsx +0 -0
  183. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/metallic/__init__.py +0 -0
  184. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/metallic/neuber/N2PNeuber.py +0 -0
  185. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/Modules/static/metallic/neuber/__init__.py +0 -0
  186. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/NaxToPy.ico +0 -0
  187. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/__init__.py +0 -0
  188. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy/user_functions.txt +0 -0
  189. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy.egg-info/dependency_links.txt +0 -0
  190. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy.egg-info/requires.txt +0 -0
  191. {naxtopy-3.4.0 → naxtopy-3.4.1}/src/NaxToPy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: NaxToPy
3
- Version: 3.4.0
3
+ Version: 3.4.1
4
4
  Summary: Package for postprocessing FEM results in Python
5
5
  Author-email: Idaero Solutions <manuel.sanchez@idaerosolutions.com>
6
6
  License: Copyright (c) 2026 Idaero Solutions
@@ -479,6 +479,34 @@ imperfect models: out of range indexes when getting joints, incomplete
479
479
  property dictionaries, bypass box edge cases (NODATA is now 0), and points
480
480
  that fall exactly on a node.
481
481
 
482
+ ### v.3.4.1
483
+
484
+ 1. feat: new module `N2PUnfolding` for the radial stresses of curved composite laminates.
485
+
486
+ 2. feat: new method `"RBE3+CBUSH_AXIAL_BYPASS"` in `N2PCreateFasteners` for fasteners
487
+ that go through three or more plates. Properties that take a fixed set of
488
+ values accept any case (e.g. ShearType).
489
+
490
+ 3. feat: New criteria `MaxStrain` in `N2PCompositeFailure`, and the full Puck criterion with Modes A/B/C
491
+ (Puck & Schürmann 1998) using p21+/p21- from the material.
492
+
493
+ 4. refactor: speed improvement in `N2PCompositeFailure` where ply stresses and the failure criteria are vectorised, and
494
+ the force resultants are read once in the material coordinate system.
495
+
496
+ 5. bugfix: Fixes in `N2PCompositeFailure` to the Tsai-Wu RF, the Tsai-Hill interaction term and FMC. The FMC
497
+ RF no longer depends on the sign of the shear.
498
+
499
+ 6. feat: New method `"CMH-17"` in `N2PSandwich` for the core shear allowable.
500
+
501
+ 7. feat: In `N2PCompositeFailure` and `N2PSandwich` is possible now pass to pass loads, sandwiches and laminate analysis. The
502
+ RFs are exposed in Analysis_Results, and results are named after the
503
+ failure mode. One object can run several failure modes.
504
+
505
+ 8. bugfix: The CLT facesheet theory is removed.
506
+
507
+ 9. bugfix: Orthotropic materials: Xc/Xt and Yc/Yt were swapped when read from the
508
+ .NET layer. This is now fixed.
509
+
482
510
  # Documentation
483
511
 
484
512
  **NaxToPy** is a package developed by Idaero Solutions© as a part of the **NaxTo** software.
@@ -349,6 +349,34 @@ imperfect models: out of range indexes when getting joints, incomplete
349
349
  property dictionaries, bypass box edge cases (NODATA is now 0), and points
350
350
  that fall exactly on a node.
351
351
 
352
+ ### v.3.4.1
353
+
354
+ 1. feat: new module `N2PUnfolding` for the radial stresses of curved composite laminates.
355
+
356
+ 2. feat: new method `"RBE3+CBUSH_AXIAL_BYPASS"` in `N2PCreateFasteners` for fasteners
357
+ that go through three or more plates. Properties that take a fixed set of
358
+ values accept any case (e.g. ShearType).
359
+
360
+ 3. feat: New criteria `MaxStrain` in `N2PCompositeFailure`, and the full Puck criterion with Modes A/B/C
361
+ (Puck & Schürmann 1998) using p21+/p21- from the material.
362
+
363
+ 4. refactor: speed improvement in `N2PCompositeFailure` where ply stresses and the failure criteria are vectorised, and
364
+ the force resultants are read once in the material coordinate system.
365
+
366
+ 5. bugfix: Fixes in `N2PCompositeFailure` to the Tsai-Wu RF, the Tsai-Hill interaction term and FMC. The FMC
367
+ RF no longer depends on the sign of the shear.
368
+
369
+ 6. feat: New method `"CMH-17"` in `N2PSandwich` for the core shear allowable.
370
+
371
+ 7. feat: In `N2PCompositeFailure` and `N2PSandwich` is possible now pass to pass loads, sandwiches and laminate analysis. The
372
+ RFs are exposed in Analysis_Results, and results are named after the
373
+ failure mode. One object can run several failure modes.
374
+
375
+ 8. bugfix: The CLT facesheet theory is removed.
376
+
377
+ 9. bugfix: Orthotropic materials: Xc/Xt and Yc/Yt were swapped when read from the
378
+ .NET layer. This is now fixed.
379
+
352
380
  # Documentation
353
381
 
354
382
  **NaxToPy** is a package developed by Idaero Solutions© as a part of the **NaxTo** software.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "NaxToPy"
7
- version = "3.4.0"
7
+ version = "3.4.1"
8
8
  license = {file = "LICENSE"}
9
9
  authors = [ { name = "Idaero Solutions", email = "manuel.sanchez@idaerosolutions.com" }, ]
10
10
  requires-python = ">=3.9"
@@ -279,28 +279,32 @@ class N2PMatI(N2PMaterial):
279
279
  @property
280
280
  def Xc(self) -> float:
281
281
  """Longitudinal Compressive Strength"""
282
- return (float(self.__info.Xc))
282
+ # A bajo nivel esta mal. Se parchea intercambiando el valor de Xc y Xt. No hacer en el nuevo.
283
+ return (float(self.__info.Xt))
283
284
  # ------------------------------------------------------------------------------------------------------------------
284
285
 
285
286
  # Metodo para obtener la temperatura de referencia del material ----------------------------------------------------
286
287
  @property
287
288
  def Xt(self) -> float:
288
289
  """Longitudinal Tensile Strength"""
289
- return (float(self.__info.Xt))
290
+ # A bajo nivel esta mal. Se parchea intercambiando el valor de Xt y Xc. No hacer en el nuevo.
291
+ return (float(self.__info.Xc))
290
292
  # ------------------------------------------------------------------------------------------------------------------
291
293
 
292
294
  # Metodo para obtener la temperatura de referencia del material ----------------------------------------------------
293
295
  @property
294
296
  def Yc(self) -> float:
295
297
  """Transverse Compressive Strength"""
296
- return (float(self.__info.Yc))
298
+ # A bajo nivel esta mal. Se parchea intercambiando el valor de Yt y Yc. No hacer en el nuevo.
299
+ return (float(self.__info.Yt))
297
300
  # ------------------------------------------------------------------------------------------------------------------
298
301
 
299
302
  # Metodo para obtener la temperatura de referencia del material ----------------------------------------------------
300
303
  @property
301
304
  def Yt(self) -> float:
302
305
  """Transverse Tensile Strength"""
303
- return (float(self.__info.Yt))
306
+ # A bajo nivel esta mal. Se parchea intercambiando el valor de Yc y Yt. No hacer en el nuevo.
307
+ return (float(self.__info.Yc))
304
308
  # ------------------------------------------------------------------------------------------------------------------
305
309
 
306
310
  # Metodo para obtener la temperatura de referencia del material ----------------------------------------------------
@@ -696,84 +696,83 @@ class N2PNastranInputData:
696
696
  >>> inp = model.ModelInputData
697
697
 
698
698
  Whole categories
699
- >>> grids = inp.find_cards("GRID") # every grid in the model
700
- >>> grids_main = inp.find_cards("GRID", superElements=0) # only the global model
701
- >>> materials = inp.find_cards("MATERIAL")
702
- >>> sets = inp.find_cards("SETDEFINITION")
699
+ >>> grids = inp.find_cards("GRID") # every grid in the model
700
+ >>> grids_main = inp.find_cards("GRID", superElements=0) # only the global model
701
+ >>> materials = inp.find_cards("MATERIAL")
702
+ >>> sets = inp.find_cards("SETDEFINITION")
703
703
 
704
704
  Narrowing by card type
705
- >>> quads = inp.find_cards("ELEMENT", ["CQUAD4"])
706
- >>> shells = inp.find_cards("ELEMENT", ["CQUAD4", "CQUAD8", "CTRIA3"])
707
- >>> quads = inp.find_cards("ELEMENT", ["cquad4"]) # case insensitive
708
- >>> cords = inp.find_cards("COORDINATESYSTEM", ["CORD2R"])
705
+ >>> quads = inp.find_cards("ELEMENT", ["CQUAD4"])
706
+ >>> shells = inp.find_cards("ELEMENT", ["CQUAD4", "CQUAD8", "CTRIA3"])
707
+ >>> quads = inp.find_cards("ELEMENT", ["cquad4"]) # case insensitive
708
+ >>> cords = inp.find_cards("COORDINATESYSTEM", ["CORD2R"])
709
709
 
710
710
  One card by its identifier
711
- >>> grid_5 = inp.find_cards("GRID", filters={"ID": 5})
712
- >>> pshell_3 = inp.find_cards("PROPERTY", ["PSHELL"], {"PID": 3})
713
- >>> mat_1 = inp.find_cards("MATERIAL", filters={"MID": 1})
714
- >>> rbe = inp.find_cards("CONNECTOR", filters={"EID": 90001})
711
+ >>> grid_5 = inp.find_cards("GRID", filters={"ID": 5})
712
+ >>> pshell_3 = inp.find_cards("PROPERTY", ["PSHELL"], {"PID": 3})
713
+ >>> mat_1 = inp.find_cards("MATERIAL", filters={"MID": 1})
714
+ >>> rbe = inp.find_cards("CONNECTOR", filters={"EID": 90001})
715
715
 
716
716
  Several identifiers in ONE call, instead of one call each
717
- >>> some_grids = inp.find_cards("GRID", filters={"ID": [5, 9, 12]})
718
- >>> a_range = inp.find_cards("GRID", filters={"ID": range(100, 200)})
719
- >>> from_array = inp.find_cards("GRID", filters={"ID": ids_array}) # numpy works
720
- >>> two_props = inp.find_cards("PROPERTY", filters={"PID": {10, 20}})
717
+ >>> some_grids = inp.find_cards("GRID", filters={"ID": [5, 9, 12]})
718
+ >>> a_range = inp.find_cards("GRID", filters={"ID": range(100, 200)})
719
+ >>> from_array = inp.find_cards("GRID", filters={"ID": ids_array}) # numpy works
720
+ >>> two_props = inp.find_cards("PROPERTY", filters={"PID": {10, 20}})
721
721
 
722
722
  Each call walks its category once, so asking for the identifiers one at a
723
723
  time repeats that walk as many times as identifiers there are:
724
- >>> found = [c for i in wanted for c in inp.find_cards("GRID", filters={"ID": i})]
725
- >>> found = inp.find_cards("GRID", filters={"ID": wanted}) # same cards, one walk
724
+ >>> found = [c for i in wanted for c in inp.find_cards("GRID", filters={"ID": i})]
725
+ >>> found = inp.find_cards("GRID", filters={"ID": wanted}) # same cards, one walk
726
726
 
727
727
  Filtering by a field that is not the identifier
728
- >>> in_frame_10 = inp.find_cards("GRID", filters={"CP": 10}) # positioned in system 10
729
- >>> output_10 = inp.find_cards("GRID", filters={"CD": 10}) # results in system 10
730
- >>> clamped = inp.find_cards("GRID", filters={"PS": 123456}) # the integer, not "123456"
731
- >>> on_basic = inp.find_cards("COORDINATESYSTEM", filters={"RID": 0})
728
+ >>> in_frame_10 = inp.find_cards("GRID", filters={"CP": 10}) # positioned in system 10
729
+ >>> output_10 = inp.find_cards("GRID", filters={"CD": 10}) # results in system 10
730
+ >>> clamped = inp.find_cards("GRID", filters={"PS": 123456}) # the integer, not "123456"
731
+ >>> on_basic = inp.find_cards("COORDINATESYSTEM", filters={"RID": 0})
732
732
 
733
733
  Whole load cases and constraint sets
734
- >>> case_10 = inp.find_cards("LOAD", filters={"SID": 10}) # every card of the case
735
- >>> two_cases = inp.find_cards("LOAD", filters={"SID": [10, 20]})
736
- >>> spc_set = inp.find_cards("CONSTRAINT", ["SPC1"], {"SID": 5}) # SPC1 only, not MPC
734
+ >>> case_10 = inp.find_cards("LOAD", filters={"SID": 10}) # every card of the case
735
+ >>> two_cases = inp.find_cards("LOAD", filters={"SID": [10, 20]})
736
+ >>> spc_set = inp.find_cards("CONSTRAINT", ["SPC1"], {"SID": 5}) # SPC1 only, not MPC
737
737
 
738
738
  Cards that leave a field blank
739
- >>> no_cp = inp.find_cards("GRID", filters={"CP": None})
740
- >>> no_seid = inp.find_cards("GRID", filters={"SEID": None})
739
+ >>> no_cp = inp.find_cards("GRID", filters={"CP": None})
740
+ >>> no_seid = inp.find_cards("GRID", filters={"SEID": None})
741
741
 
742
742
  Combining criteria
743
- >>> quads_of_prop = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3})
744
- >>> in_part_2 = inp.find_cards("GRID", filters={"ID": [5, 9]}, superElements=2)
745
- >>> several_parts = inp.find_cards("GRID", superElements=[0, 1, 2])
746
- >>> narrow = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": [3, 4]}, superElements=0)
743
+ >>> quads_of_prop = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3})
744
+ >>> in_part_2 = inp.find_cards("GRID", filters={"ID": [5, 9]}, superElements=2)
745
+ >>> several_parts = inp.find_cards("GRID", superElements=[0, 1, 2])
746
+ >>> narrow = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": [3, 4]}, superElements=0)
747
747
 
748
748
  Searching by geometry and by connectivity
749
- >>> at_origin = inp.find_cards("GRID", filters={"X1": 0.0, "X2": 0.0, "X3": 0.0})
750
- >>> touching = inp.find_cards("ELEMENT", filters={"NODE": 5}) # elements using grid 5
751
- >>> using_any = inp.find_cards("ELEMENT", filters={"NODE": [5, 9]}) # grid 5 OR grid 9
749
+ >>> at_origin = inp.find_cards("GRID", filters={"X1": 0.0, "X2": 0.0, "X3": 0.0})
750
+ >>> touching = inp.find_cards("ELEMENT", filters={"NODE": 5}) # elements using grid 5
751
+ >>> using_any = inp.find_cards("ELEMENT", filters={"NODE": [5, 9]}) # grid 5 OR grid 9
752
752
 
753
753
  "Uses every one of these grids" is not a filter. Intersect two results:
754
- >>> with_9 = {e.EID for e in inp.find_cards("ELEMENT", filters={"NODE": 9})}
755
- >>> using_both = [e for e in touching if e.EID in with_9]
754
+ >>> with_9 = {e.EID for e in inp.find_cards("ELEMENT", filters={"NODE": 9})}
755
+ >>> using_both = [e for e in touching if e.EID in with_9]
756
756
 
757
757
  Chaining one query into the next. Note that each step names a card type:
758
758
  the attribute being read exists on that type, not on the whole category.
759
- >>> quads = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3})
760
- >>> shells = inp.find_cards("PROPERTY", ["PSHELL"], {"PID": {q.PID for q in quads}})
761
- >>> mats = inp.find_cards("MATERIAL", filters={"MID": {s.MID1 for s in shells}})
762
-
763
- >>> corners = {g for q in quads for g in (q.G1, q.G2, q.G3, q.G4)}
764
- >>> grids = inp.find_cards("GRID", filters={"ID": corners}) # grids of those elements
759
+ >>> quads = inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3})
760
+ >>> shells = inp.find_cards("PROPERTY", ["PSHELL"], {"PID": {q.PID for q in quads}})
761
+ >>> mats = inp.find_cards("MATERIAL", filters={"MID": {s.MID1 for s in shells}})
762
+ >>> corners = {g for q in quads for g in (q.G1, q.G2, q.G3, q.G4)}
763
+ >>> grids = inp.find_cards("GRID", filters={"ID": corners}) # grids of those elements
765
764
 
766
765
  Reading the result
767
- >>> for card in inp.find_cards("GRID", filters={"ID": [5, 9]}):
768
- ... print(card.ID, card.X1, card.X2, card.X3)
766
+ >>> for card in inp.find_cards("GRID", filters={"ID": [5, 9]}):
767
+ ... print(card.ID, card.X1, card.X2, card.X3)
769
768
 
770
- >>> for el in inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3}):
771
- ... print(el.EID, el.G1, el.G2, el.G3, el.G4) # grids come one field at a time
769
+ >>> for el in inp.find_cards("ELEMENT", ["CQUAD4"], {"PID": 3}):
770
+ ... print(el.EID, el.G1, el.G2, el.G3, el.G4) # grids come one field at a time
772
771
 
773
- >>> by_id = {g.ID: g for g in inp.find_cards("GRID")} # index once, look up often
772
+ >>> by_id = {g.ID: g for g in inp.find_cards("GRID")} # index once, look up often
774
773
 
775
- >>> for card in inp.find_cards("PROPERTY"):
776
- ... print(card.CardType, card.PID, card.BdfFilePath) # its type and its file
774
+ >>> for card in inp.find_cards("PROPERTY"):
775
+ ... print(card.CardType, card.PID, card.BdfFilePath) # its type and its file
777
776
  """
778
777
  # Convert superElements (part id) to System.Byte[] (or None)
779
778
  if not superElements and superElements != 0:
@@ -1144,13 +1144,11 @@ own information message. Use the following structure as a standard message (I +
1144
1144
  N2PLog._N2PLog__logger.warning(message)
1145
1145
 
1146
1146
  return message
1147
-
1148
-
1149
1147
 
1150
1148
  @staticmethod
1151
- def W801() -> None:
1152
- ''' Warning raised when trying to initialize a Property class with a wrong N2PProperty / N2PMaterial instance / user input'''
1153
- message = f"W801: Trying to initialize a Property class with incorrect N2PProperty or N2PMaterial assignment"
1149
+ def W802(material_ids) -> None:
1150
+ ''' Warning raised when a material of the plies has an allowable equal to zero'''
1151
+ message = f"W802: ALLOWABLES EQUAL TO ZERO IN MATERIALS {material_ids}: EVERY PLY OF THEM GETS RF = 0. SET THEM IN Materials[...].Allowables"
1154
1152
  N2PLog._N2PLog__logger.warning(message)
1155
1153
 
1156
1154
  @staticmethod
@@ -1225,6 +1223,30 @@ own information message. Use the following structure as a standard message (I +
1225
1223
  message = f"W951: TENSION LOAD STATE USED FOR A COMPRESSION CRITERIA IN SOME ELEMENTS. RF SET TO 999999"
1226
1224
  N2PLog._N2PLog__logger.warning(message)
1227
1225
 
1226
+ @staticmethod
1227
+ def W952(n_elements) -> None:
1228
+ ''' Warning raised when the weak core assumption is not satisfied'''
1229
+ message = f"W952: WEAK CORE ASSUMPTION IS NOT SATISFIED IN {n_elements} ELEMENTS. CHECK VALIDITY OF THE CALCULATION"
1230
+ N2PLog._N2PLog__logger.warning(message)
1231
+
1232
+ @staticmethod
1233
+ def W953(n_elements) -> None:
1234
+ ''' Warning raised when the weak core assumption cannot be checked'''
1235
+ message = f"W953: IN-PLANE MODULUS OF THE CORE NOT DEFINED IN {n_elements} ELEMENTS. WEAK CORE ASSUMPTION NOT CHECKED"
1236
+ N2PLog._N2PLog__logger.warning(message)
1237
+
1238
+ @staticmethod
1239
+ def W954(n_elements) -> None:
1240
+ ''' Warning raised when the FE mesh is too fine for the global buckling analysis'''
1241
+ message = f"W954: {n_elements} ELEMENTS ARE SHORTER THAN 3 TIMES THE WRINKLING HALF WAVELENGTH (RP0813804 EQ. 10). THE EIGENVALUE MAY BE A LOCAL MODE, NOT THE GLOBAL BUCKLING OF THE PANEL"
1242
+ N2PLog._N2PLog__logger.warning(message)
1243
+
1244
+ @staticmethod
1245
+ def W955() -> None:
1246
+ ''' Warning raised when none of the materials given belongs to the laminate of the faces'''
1247
+ message = "W955: NONE OF THE MATERIALS GIVEN BELONGS TO THE LAMINATE OF THE FACES: THEIR ALLOWABLES ARE NOT USED AND THE ONES OF THE MODEL ARE KEPT. GIVE A LAMINATE THAT IS NOT IN THE MODEL AS LaminateAnalysis"
1248
+ N2PLog._N2PLog__logger.warning(message)
1249
+
1228
1250
  # ------------------------------------------------------------------------------------------------------------------
1229
1251
  ############################################ ERROR ###############################################################
1230
1252
  class Error:
@@ -2314,6 +2336,30 @@ own information message. Use the following structure as a standard message (I +
2314
2336
  N2PLog._N2PLog__logger.error(message)
2315
2337
 
2316
2338
  return message
2339
+
2340
+ @staticmethod
2341
+ def E807() -> None:
2342
+ ''' Error raised when a module (Failure Analysis) is initialized with a wrong Loads assignment.'''
2343
+ message = f"E807: Invalid Loads assignment to Loads attribute."
2344
+ N2PLog._N2PLog__logger.error(message)
2345
+
2346
+ return message
2347
+
2348
+ @staticmethod
2349
+ def E808(solver) -> None:
2350
+ ''' Error raised when the solver of the model is not supported by the Failure Analysis module. '''
2351
+ message = f"E808: {solver} is not a Solver supported by N2PFailureComposites. Forces and moment resultants cannot be extracted. "
2352
+ N2PLog._N2PLog__logger.error(message)
2353
+
2354
+ return message
2355
+
2356
+ @staticmethod
2357
+ def E809(element_id, ply, load_case) -> None:
2358
+ ''' Error raised when a ply stress is undefined and its reserve factor cannot be computed. '''
2359
+ message = f"E809: Undefined stress on element {element_id}, ply {ply}, load case {load_case}. "
2360
+ N2PLog._N2PLog__logger.error(message)
2361
+
2362
+ return message
2317
2363
 
2318
2364
  @staticmethod
2319
2365
  def E900(joint_id) -> None:
@@ -3036,6 +3082,20 @@ own information message. Use the following structure as a standard message (I +
3036
3082
  message = f"C974: ALLOWABLE DISPLACEMENT MUST BE DEFINED FOR PANEL STIFFNESS CRITERIA"
3037
3083
  N2PLog._N2PLog__logger.error(message)
3038
3084
  return message
3085
+
3086
+ @staticmethod
3087
+ def C975(n_elements) -> None:
3088
+ ''' Critical Error raised when some elements cannot be analysed as a single laminate'''
3089
+ message = f"C975: {n_elements} ELEMENTS CANNOT BE ANALYSED AS A SINGLE LAMINATE BY THE AEROSPACE FACESHEET METHOD"
3090
+ N2PLog._N2PLog__logger.error(message)
3091
+ return message
3092
+
3093
+ @staticmethod
3094
+ def C976() -> None:
3095
+ ''' Critical Error raised when the facesheet failure is asked for composite and isotropic faces at once'''
3096
+ message = f"C976: FACESHEET FAILURE CANNOT ANALYSE COMPOSITE AND ISOTROPIC FACES AT ONCE: RUN THEM SEPARATELY"
3097
+ N2PLog._N2PLog__logger.error(message)
3098
+ return message
3039
3099
  # ------------------------------------------------------------------------------------------------------------------
3040
3100
 
3041
3101
  ####################################################################################################################
@@ -743,7 +743,9 @@ class Orthotropic(Material):
743
743
  '_mu2',
744
744
  '_b21',
745
745
  '_b2',
746
- '_m'
746
+ '_m',
747
+ '_p21_plus',
748
+ '_p21_minus'
747
749
  )
748
750
 
749
751
 
@@ -751,6 +753,10 @@ class Orthotropic(Material):
751
753
 
752
754
  super().__init__(n2p_material)
753
755
 
756
+ # Puck inclination parameters, default values of Puck & Schürmann (1998)
757
+ self._p21_plus = 0.30
758
+ self._p21_minus = 0.25
759
+
754
760
  if n2p_material:
755
761
  if isinstance(n2p_material,N2PMaterial):
756
762
  self._n2p_material = n2p_material
@@ -954,6 +960,19 @@ class Orthotropic(Material):
954
960
  """ Returns the m exponent for the FMC criterion, typically m = 2.0"""
955
961
  return self._m
956
962
 
963
+ # Method to obtain the p(+) parameter of the material -------------------------------------------------------------
964
+ @property
965
+ def p21_plus(self) -> float:
966
+ """ Returns the inclination parameter p(+) for the Puck criterion, 0.30 by default"""
967
+ return self._p21_plus
968
+ # ------------------------------------------------------------------------------------------------------------------
969
+
970
+ # Method to obtain the p(-) parameter of the material -------------------------------------------------------------
971
+ @property
972
+ def p21_minus(self) -> float:
973
+ """ Returns the inclination parameter p(-) for the Puck criterion, 0.25 by default"""
974
+ return self._p21_minus
975
+
957
976
  # Setters ----------------------------------------------------------------------------------------------------------
958
977
  @YoungX.setter
959
978
  def YoungX(self, value: float) -> None:
@@ -1051,6 +1070,16 @@ class Orthotropic(Material):
1051
1070
  self._m = value
1052
1071
  # ------------------------------------------------------------------------------------------------------------------
1053
1072
 
1073
+ @p21_plus.setter
1074
+ def p21_plus(self, value: float) -> None:
1075
+ self._p21_plus = value
1076
+ # ------------------------------------------------------------------------------------------------------------------
1077
+
1078
+ @p21_minus.setter
1079
+ def p21_minus(self, value: float) -> None:
1080
+ self._p21_minus = value
1081
+ # ------------------------------------------------------------------------------------------------------------------
1082
+
1054
1083
 
1055
1084
 
1056
1085
 
@@ -145,7 +145,7 @@ def get_n2pmaterials(model: N2PModelContent, element_list: list[N2PElement]) ->
145
145
  # se utiliza el metodo get() del diccionario para que estas properties tengan un None en lugar de dar error
146
146
  prop = model.PropertyDict.get(id_prop)
147
147
 
148
- if model.Solver in ['InputFileNastran', 'Nastran','H3DOptistruct']:
148
+ if model.Solver in ['InputFileNastran', 'InputFileOptistruct', 'Nastran', 'Optistruct', 'H3DOptistruct']:
149
149
  if prop.PropertyType in ['PSHELL']:
150
150
  # Handle PSHELL case (single material ID)
151
151
  material_id = prop.MatMemID
@@ -224,7 +224,7 @@ def elem_to_material(model: N2PModelContent, element_list: list[N2PElement], onl
224
224
  # Retrieve the element-to-material mapping
225
225
  elem_to_n2pmat = (get_n2pmaterials_iso if onlyisotropic else get_n2pmaterials)(model, element_list)
226
226
 
227
- if model.Solver in ['InputFileNastran', 'Nastran', 'AbaqusInputFile', 'Abaqus','H3DOptistruct']:
227
+ if model.Solver in ['InputFileNastran', 'InputFileOptistruct', 'InputFileAbaqus', 'Nastran', 'Optistruct', 'H3DOptistruct', 'Abaqus']:
228
228
  for elem_id, n2pmaterial in elem_to_n2pmat.items():
229
229
  if isinstance(n2pmaterial, list): # Composite material case
230
230
  elem_to_mat[elem_id] = [create_material(mat, materials, n2pmaterials) for mat in n2pmaterial]
@@ -273,7 +273,7 @@ def get_properties(model: N2PModelContent, element_list: list[N2PElement]) -> di
273
273
 
274
274
  return properties_unique, properties_elem
275
275
 
276
- def get_sandwich_properties(core_type:str, model: N2PModelContent, element_list: list[N2PElement], mat_dict: dict) -> dict:
276
+ def get_sandwich_properties(core_type:str, model: N2PModelContent, element_list: list[N2PElement], mat_dict: dict) -> dict[N2PElement, Sandwich]:
277
277
  """
278
278
  Extracts and constructs sandwich dictionaries for elements with Sandwich instances.
279
279
 
@@ -285,9 +285,15 @@ def get_sandwich_properties(core_type:str, model: N2PModelContent, element_list:
285
285
  dict: A dictionary of unique sandwich and a dictionary mapping elements to their sandwich structure.
286
286
  """
287
287
  sandwich_elem = {}
288
+ sandwich_unique = {}
288
289
  for element in element_list:
289
290
  n2p_property = model.PropertyDict[element.Prop]
290
- sandwich_obj = Sandwich(core_type,n2p_property=n2p_property,n2p_material=model.MaterialDict, mat_dict=mat_dict)
291
+
292
+ # One Sandwich per property, shared by its elements
293
+ sandwich_obj = sandwich_unique.get(n2p_property.ID)
294
+ if not sandwich_obj:
295
+ sandwich_obj = Sandwich(core_type,n2p_property=n2p_property,n2p_material=model.MaterialDict, mat_dict=mat_dict)
296
+ sandwich_unique[n2p_property.ID] = sandwich_obj
291
297
  sandwich_elem[element] = sandwich_obj
292
298
 
293
299
 
@@ -140,7 +140,9 @@ class CompositeShell(Property):
140
140
  '_CAIAllowable',
141
141
  '_PlainTensionAllowable',
142
142
  '_PlainCompressionAllowable',
143
- '_PTAllowable'
143
+ '_PTAllowable',
144
+ '_eqstiffprops',
145
+ '_eqQMatrix'
144
146
  )
145
147
 
146
148
  def __init__(self, n2p_property: N2PProperty = None, n2p_material_dict: dict = None):
@@ -174,7 +176,8 @@ class CompositeShell(Property):
174
176
  self._PlainTensionAllowable = None
175
177
  self._PlainCompressionAllowable = None
176
178
  self._PTAllowable = None
177
-
179
+ self._eqstiffprops = None
180
+ self._eqQMatrix = None
178
181
  # Initialize laminae layers --------------------------------------------------------------------------------------
179
182
  self._laminate = self._initialize_laminae()
180
183
 
@@ -203,6 +206,8 @@ class CompositeShell(Property):
203
206
  self._PlainTensionAllowable = None
204
207
  self._PlainCompressionAllowable = None
205
208
  self._PTAllowable = None
209
+ self._eqstiffprops = None
210
+ self._eqQMatrix = None
206
211
  self._laminate = []
207
212
 
208
213
 
@@ -397,7 +402,39 @@ class CompositeShell(Property):
397
402
 
398
403
  return Ex, Ey, nu, G
399
404
 
400
-
405
+ def EqStiffProps(self) -> tuple[float, float, float, float, float]:
406
+ """Calculate the equivalent stiffness properties of the laminate using the ABD matrix **considering coupling effects**.
407
+
408
+ Returns:
409
+ - Ex: Equivalent modulus in the x-direction.
410
+ - Ey: Equivalent modulus in the y-direction.
411
+ - Gxy: Equivalent shear modulus in the xy-plane.
412
+ - nu_xy: Equivalent Poisson's ratio for strain in y due to stress in x.
413
+ - nu_yx: Equivalent Poisson's ratio for strain in x due to stress in y.
414
+ """
415
+
416
+ if self._eqstiffprops is None:
417
+ A, B, D = self._ABDMatrix()
418
+
419
+ ABD = np.empty((6, 6)) # |A B|
420
+ ABD[:3, :3] = A # ABD = |B D| 6x6 matrix
421
+ ABD[:3, 3:] = B
422
+ ABD[3:, :3] = B
423
+ ABD[3:, 3:] = D
424
+
425
+ d_matrix = np.linalg.inv(ABD)
426
+
427
+ t = sum(self._thicknesses)
428
+
429
+ Ex = 1/(d_matrix[0, 0]*t)
430
+ Ey = 1/(d_matrix[1, 1]*t)
431
+ Gxy = 1/(d_matrix[2, 2]*t)
432
+ nu_xy = -d_matrix[1, 0]/d_matrix[0, 0]
433
+ nu_yx = -d_matrix[0, 1]/d_matrix[1, 1]
434
+
435
+ self._eqstiffprops = (Ex, Ey, Gxy, nu_xy, nu_yx)
436
+ return self._eqstiffprops
437
+
401
438
  # Getters -------------------------------------------------------------------------------------------------------------
402
439
  # Method to obtain the PartID associated to the property ---------------------------------------------------------------
403
440
  @property
@@ -578,7 +615,36 @@ class CompositeShell(Property):
578
615
 
579
616
  # ---------------------------------------------------------------------------------------------------------------------
580
617
 
581
-
618
+ # Method to obtain the EqQMatrix
619
+ @property
620
+ def EqQMatrix(self):
621
+ """
622
+ Equivalent QMatrix of the laminate
623
+ """
624
+ if self._eqQMatrix is None:
625
+ Ex, Ey, Gxy, nu_xy, nu_yx = self.EqStiffProps()
626
+ self._eqQMatrix = np.array([
627
+ [Ex/(1-nu_xy*nu_yx), nu_xy*Ey/(1-nu_xy*nu_yx), 0],
628
+ [nu_yx*Ex/(1-nu_xy*nu_yx), Ey/(1-nu_xy*nu_yx), 0],
629
+ [0, 0, Gxy]
630
+ ])
631
+ return self._eqQMatrix
632
+ # ---------------------------------------------------------------------------------------------------------------------
633
+
634
+ # Method to obtain the EqQMatrix
635
+ @property
636
+ def EqMemQMatrix(self):
637
+ """
638
+ Equivalent QMatrix of the laminate
639
+ """
640
+ # These Q matrices don't include coupling effects.
641
+ Ex, Ey, nu_xy, Gxy = self.EqMemProps()
642
+ eqmemQMatrix = np.array([
643
+ [Ex/(1-nu_xy**2), nu_xy*Ey/(1-nu_xy**2), 0 ],
644
+ [nu_xy*Ey/(1-nu_xy**2), Ey/(1-nu_xy**2), 0 ],
645
+ [0, 0, Gxy]
646
+ ])
647
+ return eqmemQMatrix
582
648
  # Setters -------------------------------------------------------------------------------------------------------------
583
649
  # ---------------------------------------------------------------------------------------------------------------------
584
650
  @NumPlies.setter
@@ -1027,6 +1093,7 @@ class Laminae:
1027
1093
  '_G',
1028
1094
  '_Qmatrix',
1029
1095
  '_Qbar',
1096
+ '_Ematrix',
1030
1097
  '_isActive',
1031
1098
  '_mu21',
1032
1099
  '_b2',
@@ -1064,6 +1131,7 @@ class Laminae:
1064
1131
  self._G = None
1065
1132
  self._Qmatrix = None
1066
1133
  self._Qbar = None
1134
+ self._Ematrix = None
1067
1135
  self._mu21 = None
1068
1136
  self._m = None # Default value for the m exponent, which is used for the FMC failure criteria calculation.
1069
1137
 
@@ -1099,6 +1167,7 @@ class Laminae:
1099
1167
  # self._Yc = material.Allowables.YCompressive
1100
1168
  # self._S = material.Allowables.Shear
1101
1169
  self._Qmatrix, self._Qbar = self.compute_Qmatrix()
1170
+ self._Ematrix = np.diag([self._Ex, self._Ey, self._G])
1102
1171
 
1103
1172
  return material
1104
1173
 
@@ -1394,8 +1463,10 @@ class Laminae:
1394
1463
  if not self._isActive:
1395
1464
  self._Qmatrix = np.zeros((3, 3))
1396
1465
  self._Qbar = np.zeros((3, 3))
1466
+ self._Ematrix = np.zeros((3, 3))
1397
1467
  else:
1398
1468
  self._Qmatrix, self._Qbar = self.compute_Qmatrix()
1469
+ self._Ematrix = np.diag([self._Ex, self._Ey, self._G])
1399
1470
 
1400
1471
 
1401
1472
  # if self.isActive == value: # Skip recomputation if no change
@@ -1549,7 +1620,7 @@ class Sandwich:
1549
1620
  self._upper_face.MatIDs = upper_matIDs
1550
1621
  self._upper_face.theta = upper_theta
1551
1622
  self._upper_face.thicknesses = upper_thickness
1552
- self._upper_face.Laminate = self._lower_face._initialize_laminae()
1623
+ self._upper_face.Laminate = self._upper_face._initialize_laminae()
1553
1624
 
1554
1625
 
1555
1626
 
@@ -0,0 +1,5 @@
1
+ def core_shear_crimping_aerospace(sigma,t_inf,t_sup,t_core,Gc):
2
+ sigma_cr = t_core*Gc/(t_inf+t_sup)
3
+ RF = sigma_cr/abs(sigma)
4
+ return RF
5
+