General Mechanical

General Mechanical

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

Exporting Failure Criteria to txt

    • Stephan
      Subscriber

      Hello all,

      I want to export the maximum of the failure criteria (Puck, Tsai-Wu) per element to a .txt file.

      First, I tried to loop over all layers and positions (TOP,BOTTOM), but this takes over 10 minutes.
      The following code using LAYER,FCMAX is working, but still takes 180 seconds to process, whereas the solving takes only 30 seconds. 

      esel,all
      LAYER,FCMAX
      FCTYP,ADD,PFIB
      FCTYP,ADD,PMAT
      FCTYP,ADD,TWSI
      ETABLE,FibMax,FAIL,PFIB
      ETABLE,Mat_Max,FAIL,PMAT
      ETABLE,TW_Max,FAIL,TWSI
      /output,res_FailureCriteria.txt
      PRETAB,FibMax,MatMax,TWMax
      /out

      Is there a faster possibility? Thank you for your help!

    • Stephan
      Subscriber

      I forgot to add, this is when using ANSYS via batch command, the same code in the workbench only takes 3 seconds..

    • pedram.samadian
      Subscriber

      Hi,

      Thanks for contacting us. To expedite the process of exporting the maximum of the failure criteria (Puck, Tsai-Wu) per element to a .txt file in Ansys, you might consider using the 'Promote to Composite Failure Criteria' feature, which allows you to promote composite failure criteria over several load cases. This could potentially streamline your analysis by using a consistent definition for failure across different scenarios. You can use the 'Export Text File' command to export result data directly to a text file [1].

      For more detailed instructions and options, you may refer to the Ansys documentation on User Defined Results Commands and the Composite Failure Tool [2]. These resources provide guidance on how to work with failure criteria in Ansys Mechanical and could offer insights into more efficient ways to handle your batch command operations.

      URL: [1] https://ansyshelp.ansys.com/Views/Secured/corp/v232/en/mech_obj/ds_comp_failure_tool_o_r.html
      URL: [2] https://ansyshelp.ansys.com/Views/Secured/corp/v232/en/mech_obj/ds_Commands_o_r.html

      Thanks,

      Pedram

Viewing 2 reply threads
  • You must be logged in to reply to this topic.