.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/basic/example_06_bolt_pretension.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_basic_example_06_bolt_pretension.py: .. _ref_example_06: Bolt Pretension --------------- This example demonstrates how to insert a Static Structural analysis into a new Mechanical session and execute a sequence of Python scripting commands that define and solve a bolt-pretension analysis. Scripts then evaluate the following results: deformation, equivalent stresses, contact, and bolt .. GENERATED FROM PYTHON SOURCE LINES 14-16 Import necessary libraries ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. GENERATED FROM PYTHON SOURCE LINES 16-24 .. code-block:: Python import os from ansys.mechanical.core import launch_mechanical from ansys.mechanical.core.examples import download_file from matplotlib import image as mpimg from matplotlib import pyplot as plt .. GENERATED FROM PYTHON SOURCE LINES 25-30 Launch mechanical ~~~~~~~~~~~~~~~~~ Launch a new Mechanical session in batch, setting the ``cleanup_on_exit`` argument to ``False``. To close this Mechanical session when finished, this example must call the ``mechanical.exit()`` method. .. GENERATED FROM PYTHON SOURCE LINES 30-34 .. code-block:: Python mechanical = launch_mechanical(batch=True, cleanup_on_exit=False) print(mechanical) .. rst-class:: sphx-glr-script-out .. code-block:: none Ansys Mechanical [Ansys Mechanical Enterprise] Product Version:242 Software build date: 06/03/2024 09:35:09 .. GENERATED FROM PYTHON SOURCE LINES 35-39 Initialize variable for workflow ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Set the ``part_file_path`` variable on the server for later use. Make this variable compatible for Windows, Linux, and Docker containers. .. GENERATED FROM PYTHON SOURCE LINES 39-43 .. code-block:: Python project_directory = mechanical.project_directory print(f"project directory = {project_directory}") .. rst-class:: sphx-glr-script-out .. code-block:: none project directory = /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/ .. GENERATED FROM PYTHON SOURCE LINES 44-47 Download required geometry file ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Download the required file. Print the file path for the geometry file. .. GENERATED FROM PYTHON SOURCE LINES 47-53 .. code-block:: Python geometry_path = download_file( "example_06_bolt_pret_geom.agdb", "pymechanical", "00_basic" ) print(f"Downloaded the geometry file to: {geometry_path}") .. rst-class:: sphx-glr-script-out .. code-block:: none Downloaded the geometry file to: /home/runner/.local/share/ansys_mechanical_core/examples/example_06_bolt_pret_geom.agdb .. GENERATED FROM PYTHON SOURCE LINES 54-55 Upload the file to the project directory .. GENERATED FROM PYTHON SOURCE LINES 55-58 .. code-block:: Python mechanical.upload(file_name=geometry_path, file_location_destination=project_directory) .. rst-class:: sphx-glr-script-out .. code-block:: none Uploading example_06_bolt_pret_geom.agdb to dns:///127.0.0.1:10000:/tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/.: 0%| | 0.00/2.52M [00:00>>> PRETENSION ELEMENT STATUS <<<< SECTION NAME PT.NODE --------STATUS-------------------- ----LOAD SOURCE---- 25 20139 APPLIED PRELOAD FORCE= 0.61363E+06 F COMMAND MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS HAS BEEN MODIFIED TO BE, NEQIT = 26, BY SOLUTION CONTROL LOGIC. Range of element maximum matrix coefficients in global coordinates Maximum = 29991749.6 at element 2562. Minimum = 752689.372 at element 1064. *** ELEMENT MATRIX FORMULATION TIMES TYPE NUMBER ENAME TOTAL CP AVE CP 1 80 SOLID187 0.005 0.000068 2 976 SOLID186 0.123 0.000126 3 67 SOLID187 0.004 0.000059 4 973 SOLID186 0.115 0.000119 5 10 SOLID187 0.001 0.000064 6 448 SOLID186 0.054 0.000120 7 10 SOLID187 0.001 0.000064 8 51 SOLID186 0.006 0.000122 9 4 SOLID187 0.000 0.000068 10 58 SOLID186 0.007 0.000127 11 1702 SOLID186 0.203 0.000119 12 200 CONTA174 0.041 0.000205 13 200 TARGE170 0.000 0.000002 14 868 CONTA174 0.032 0.000037 15 868 TARGE170 0.002 0.000002 16 115 CONTA174 0.007 0.000062 17 115 TARGE170 0.000 0.000002 18 30 CONTA174 0.006 0.000186 19 30 TARGE170 0.000 0.000002 20 852 CONTA174 0.031 0.000036 21 852 TARGE170 0.002 0.000003 22 200 CONTA174 0.041 0.000205 23 200 TARGE170 0.000 0.000002 24 98 SURF154 0.004 0.000039 25 130 PRETS179 0.000 0.000003 Time at end of element matrix formulation CP = 3.97174096. ALL CURRENT MAPDL DATA WRITTEN TO FILE NAME= file.rdb FOR POSSIBLE RESUME FROM THIS POINT FORCE CONVERGENCE VALUE = 0.3068E+06 CRITERION= 1534. DISTRIBUTED SPARSE MATRIX DIRECT SOLVER. Number of equations = 55066, Maximum wavefront = 915 Memory allocated on only this MPI rank (rank 0) ------------------------------------------------------------------- Equation solver memory allocated = 134.971 MB Equation solver memory required for in-core mode = 129.541 MB Equation solver memory required for out-of-core mode = 58.525 MB Total (solver and non-solver) memory allocated = 858.455 MB Total memory summed across all MPI ranks on this machines ------------------------------------------------------------------- Equation solver memory allocated = 525.106 MB Equation solver memory required for in-core mode = 503.972 MB Equation solver memory required for out-of-core mode = 231.066 MB Total (solver and non-solver) memory allocated = 2487.087 MB *** NOTE *** CP = 4.332 TIME= 14:50:09 The Distributed Sparse Matrix Solver is currently running in the in-core memory mode. This memory mode uses the most amount of memory in order to avoid using the hard drive as much as possible, which most often results in the fastest solution time. This mode is recommended if enough physical memory is present to accommodate all of the solver data. curEqn= 14277 totEqn= 14277 Job CP sec= 4.592 Factor Done= 100% Factor Wall sec= 0.344 rate= 25.9 GFlops Distributed sparse solver maximum pivot= 34258086.4 at node 11358 UX. Distributed sparse solver minimum pivot= 213638.933 at node 12508 UZ. Distributed sparse solver minimum pivot in absolute value= 213638.933 at node 12508 UZ. DISP CONVERGENCE VALUE = 0.3397 CRITERION= 0.1699E-01 EQUIL ITER 1 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.3397 DISP CONVERGENCE VALUE = 0.3397 CRITERION= 0.1699E-01 LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.3397 FORCE CONVERGENCE VALUE = 0.2064E+05 CRITERION= 1544. EQUIL ITER 2 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.6388E-02 DISP CONVERGENCE VALUE = 0.6388E-02 CRITERION= 0.1721E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.6388E-02 FORCE CONVERGENCE VALUE = 0.1427E+05 CRITERION= 1543. EQUIL ITER 3 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.3182E-02 DISP CONVERGENCE VALUE = 0.3182E-02 CRITERION= 0.1733E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.3182E-02 FORCE CONVERGENCE VALUE = 5850. CRITERION= 1542. EQUIL ITER 4 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1658E-02 DISP CONVERGENCE VALUE = 0.1658E-02 CRITERION= 0.1738E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = -0.1658E-02 FORCE CONVERGENCE VALUE = 3530. CRITERION= 1542. EQUIL ITER 5 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1305E-02 DISP CONVERGENCE VALUE = 0.1305E-02 CRITERION= 0.1740E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = -0.1305E-02 FORCE CONVERGENCE VALUE = 3222. CRITERION= 1542. EQUIL ITER 6 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.3923E-03 DISP CONVERGENCE VALUE = 0.3923E-03 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = -0.3923E-03 FORCE CONVERGENCE VALUE = 730.5 CRITERION= 1542. <<< CONVERGED >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION 6 *** ELEMENT RESULT CALCULATION TIMES TYPE NUMBER ENAME TOTAL CP AVE CP 1 80 SOLID187 0.004 0.000056 2 976 SOLID186 0.082 0.000084 3 67 SOLID187 0.004 0.000053 4 973 SOLID186 0.080 0.000082 5 10 SOLID187 0.001 0.000053 6 448 SOLID186 0.037 0.000084 7 10 SOLID187 0.001 0.000054 8 51 SOLID186 0.004 0.000082 9 4 SOLID187 0.000 0.000059 10 58 SOLID186 0.005 0.000092 11 1702 SOLID186 0.143 0.000084 12 200 CONTA174 0.012 0.000060 14 868 CONTA174 0.022 0.000025 16 115 CONTA174 0.004 0.000035 18 30 CONTA174 0.001 0.000018 20 852 CONTA174 0.015 0.000017 22 200 CONTA174 0.012 0.000059 24 98 SURF154 0.003 0.000027 *** NODAL LOAD CALCULATION TIMES TYPE NUMBER ENAME TOTAL CP AVE CP 1 80 SOLID187 0.001 0.000015 2 976 SOLID186 0.016 0.000016 3 67 SOLID187 0.001 0.000016 4 973 SOLID186 0.015 0.000016 5 10 SOLID187 0.000 0.000017 6 448 SOLID186 0.007 0.000016 7 10 SOLID187 0.000 0.000015 8 51 SOLID186 0.001 0.000016 9 4 SOLID187 0.000 0.000015 10 58 SOLID186 0.001 0.000020 11 1702 SOLID186 0.028 0.000016 12 200 CONTA174 0.002 0.000008 14 868 CONTA174 0.003 0.000003 16 115 CONTA174 0.001 0.000006 18 30 CONTA174 0.000 0.000003 20 852 CONTA174 0.002 0.000003 22 200 CONTA174 0.001 0.000007 24 98 SURF154 0.000 0.000003 *** LOAD STEP 1 SUBSTEP 1 COMPLETED. CUM ITER = 6 *** TIME = 0.500000 TIME INC = 0.500000 FORCE CONVERGENCE VALUE = 6434. CRITERION= 3084. DISP CONVERGENCE VALUE = 0.8215E-03 CRITERION= 0.1741E-01 <<< CONVERGED EQUIL ITER 1 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.8215E-03 DISP CONVERGENCE VALUE = 0.5713E-03 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.6954 SCALED MAX DOF INC = -0.5713E-03 FORCE CONVERGENCE VALUE = 1771. CRITERION= 3084. <<< CONVERGED >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION 1 *** LOAD STEP 1 SUBSTEP 2 COMPLETED. CUM ITER = 7 *** TIME = 1.00000 TIME INC = 0.500000 *** MAPDL BINARY FILE STATISTICS BUFFER SIZE USED= 16384 0.188 MB WRITTEN ON ELEMENT MATRIX FILE: file0.emat 7.250 MB WRITTEN ON ELEMENT SAVED DATA FILE: file0.esav 16.125 MB WRITTEN ON ASSEMBLED MATRIX FILE: file0.full 2.562 MB WRITTEN ON RESULTS FILE: file0.rst *************** Write FE CONNECTORS ********* WRITE OUT CONSTRAINT EQUATIONS TO FILE= file.ce **************************************************** *************** FINISHED SOLVE FOR LS 1 ************* **************************************************** ******************* SOLVE FOR LS 2 OF 4 **************** PRINTOUT RESUMED BY /GOP DELETE ALL SPECIFIED NODAL LOADS FROM NODE 20139 TO 20139 BY 1 NUMBER OF NODAL LOADS DELETED= 1 *** WARNING *** CP = 12.152 TIME= 14:50:17 Table _FIX is an MAPDL reserved table name. It is used to constrain structural degrees of freedom to their current displaced status. This table should not be used for other purposes. SPECIFIED CONSTRAINT UX FOR SELECTED NODES 20139 TO 20139 BY 1 SET ACCORDING TO TABLE PARAMETER = _FIX USE AUTOMATIC TIME STEPPING THIS LOAD STEP USE 1 SUBSTEPS INITIALLY THIS LOAD STEP FOR ALL DEGREES OF FREEDOM FOR AUTOMATIC TIME STEPPING: USE 10 SUBSTEPS AS A MAXIMUM USE 1 SUBSTEPS AS A MINIMUM TIME= 2.0000 ERASE THE CURRENT DATABASE OUTPUT CONTROL TABLE. WRITE ALL ITEMS TO THE DATABASE WITH A FREQUENCY OF NONE FOR ALL APPLICABLE ENTITIES WRITE NSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE RSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EANG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE ETMP ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE VENG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE STRS ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPEL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPPL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE CONT ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES ***** MAPDL SOLVE COMMAND ***** *** WARNING *** CP = 12.288 TIME= 14:50:17 Material number 24 (used by element 11562) should normally have at least one MP or one TB type command associated with it. Output of energy by material may not be available. *** NOTE *** CP = 12.296 TIME= 14:50:17 The step data was checked and warning messages were found. Please review output or errors file ( /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural/fil le0.err ) for these warning messages. *** NOTE *** CP = 12.296 TIME= 14:50:17 This nonlinear analysis defaults to using the full Newton-Raphson solution procedure. This can be modified using the NROPT command. *** MAPDL - ENGINEERING ANALYSIS SYSTEM RELEASE 2024 R2 24.2 *** Ansys Mechanical Enterprise 00000000 VERSION=LINUX x64 14:50:17 NOV 04, 2024 CP= 12.465 --Static Structural L O A D S T E P O P T I O N S LOAD STEP NUMBER. . . . . . . . . . . . . . . . 2 TIME AT END OF THE LOAD STEP. . . . . . . . . . 2.0000 AUTOMATIC TIME STEPPING . . . . . . . . . . . . ON INITIAL NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF SUBSTEPS . . . . . . . . . 10 MINIMUM NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS. . . . 15 STEP CHANGE BOUNDARY CONDITIONS . . . . . . . . NO TERMINATE ANALYSIS IF NOT CONVERGED . . . . . .YES (EXIT) CONVERGENCE CONTROLS. . . . . . . . . . . . . .USE DEFAULTS PRINT OUTPUT CONTROLS . . . . . . . . . . . . .NO PRINTOUT DATABASE OUTPUT CONTROLS ITEM FREQUENCY COMPONENT ALL NONE NSOL ALL RSOL ALL EANG ALL ETMP ALL VENG ALL STRS ALL EPEL ALL EPPL ALL CONT ALL SOLUTION MONITORING INFO IS WRITTEN TO FILE= file.mntr >>>> PRETENSION ELEMENT STATUS <<<< SECTION NAME PT.NODE --------STATUS-------------------- ----LOAD SOURCE---- 25 20139 FIXED RELATIVE MOTION= 0.69603 D COMMAND MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS HAS BEEN MODIFIED TO BE, NEQIT = 26, BY SOLUTION CONTROL LOGIC. FORCE CONVERGENCE VALUE = 0.4900E+05 CRITERION= 3094. DISP CONVERGENCE VALUE = 0.1807E-01 CRITERION= 0.1741E-01 EQUIL ITER 1 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.1807E-01 DISP CONVERGENCE VALUE = 0.1797E-01 CRITERION= 0.1741E-01 LINE SEARCH PARAMETER = 0.9946 SCALED MAX DOF INC = 0.1797E-01 FORCE CONVERGENCE VALUE = 0.3017E+05 CRITERION= 3121. EQUIL ITER 2 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.7668E-02 DISP CONVERGENCE VALUE = 0.7158E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9335 SCALED MAX DOF INC = 0.7158E-02 FORCE CONVERGENCE VALUE = 0.2482E+05 CRITERION= 3121. EQUIL ITER 3 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.9768E-02 DISP CONVERGENCE VALUE = 0.9513E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9739 SCALED MAX DOF INC = 0.9513E-02 FORCE CONVERGENCE VALUE = 0.2324E+05 CRITERION= 3127. EQUIL ITER 4 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.8635E-02 DISP CONVERGENCE VALUE = 0.8635E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.8635E-02 FORCE CONVERGENCE VALUE = 0.1687E+05 CRITERION= 3131. EQUIL ITER 5 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.3070E-02 DISP CONVERGENCE VALUE = 0.3030E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9869 SCALED MAX DOF INC = 0.3030E-02 FORCE CONVERGENCE VALUE = 0.1673E+05 CRITERION= 3134. EQUIL ITER 6 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.3793E-02 DISP CONVERGENCE VALUE = 0.3793E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.3793E-02 FORCE CONVERGENCE VALUE = 8145. CRITERION= 3137. EQUIL ITER 7 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.2320E-02 DISP CONVERGENCE VALUE = 0.2320E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = 0.2320E-02 FORCE CONVERGENCE VALUE = 7011. CRITERION= 3689. EQUIL ITER 8 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1258E-02 DISP CONVERGENCE VALUE = 0.1258E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 1.000 SCALED MAX DOF INC = -0.1258E-02 FORCE CONVERGENCE VALUE = 3194. CRITERION= 3766. <<< CONVERGED >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION 8 *** LOAD STEP 2 SUBSTEP 1 COMPLETED. CUM ITER = 15 *** TIME = 2.00000 TIME INC = 1.00000 **************************************************** *************** FINISHED SOLVE FOR LS 2 ************* **************************************************** ******************* SOLVE FOR LS 3 OF 4 **************** PRINTOUT RESUMED BY /GOP DELETE ALL SPECIFIED NODAL LOADS FROM NODE 20139 TO 20139 BY 1 NUMBER OF NODAL LOADS DELETED= 0 SPECIFIED CONSTRAINT UX FOR SELECTED NODES 20139 TO 20139 BY 1 SET ACCORDING TO TABLE PARAMETER = _FIX USE AUTOMATIC TIME STEPPING THIS LOAD STEP USE 1 SUBSTEPS INITIALLY THIS LOAD STEP FOR ALL DEGREES OF FREEDOM FOR AUTOMATIC TIME STEPPING: USE 10 SUBSTEPS AS A MAXIMUM USE 1 SUBSTEPS AS A MINIMUM TIME= 3.0000 ERASE THE CURRENT DATABASE OUTPUT CONTROL TABLE. WRITE ALL ITEMS TO THE DATABASE WITH A FREQUENCY OF NONE FOR ALL APPLICABLE ENTITIES WRITE NSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE RSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EANG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE ETMP ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE VENG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE STRS ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPEL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPPL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE CONT ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES ***** MAPDL SOLVE COMMAND ***** *** WARNING *** CP = 22.338 TIME= 14:50:26 Material number 24 (used by element 11562) should normally have at least one MP or one TB type command associated with it. Output of energy by material may not be available. *** NOTE *** CP = 22.348 TIME= 14:50:26 The step data was checked and warning messages were found. Please review output or errors file ( /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural/fil le0.err ) for these warning messages. *** NOTE *** CP = 22.349 TIME= 14:50:26 This nonlinear analysis defaults to using the full Newton-Raphson solution procedure. This can be modified using the NROPT command. *** MAPDL - ENGINEERING ANALYSIS SYSTEM RELEASE 2024 R2 24.2 *** Ansys Mechanical Enterprise 00000000 VERSION=LINUX x64 14:50:26 NOV 04, 2024 CP= 22.573 --Static Structural L O A D S T E P O P T I O N S LOAD STEP NUMBER. . . . . . . . . . . . . . . . 3 TIME AT END OF THE LOAD STEP. . . . . . . . . . 3.0000 AUTOMATIC TIME STEPPING . . . . . . . . . . . . ON INITIAL NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF SUBSTEPS . . . . . . . . . 10 MINIMUM NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS. . . . 15 STEP CHANGE BOUNDARY CONDITIONS . . . . . . . . NO TERMINATE ANALYSIS IF NOT CONVERGED . . . . . .YES (EXIT) CONVERGENCE CONTROLS. . . . . . . . . . . . . .USE DEFAULTS PRINT OUTPUT CONTROLS . . . . . . . . . . . . .NO PRINTOUT DATABASE OUTPUT CONTROLS ITEM FREQUENCY COMPONENT ALL NONE NSOL ALL RSOL ALL EANG ALL ETMP ALL VENG ALL STRS ALL EPEL ALL EPPL ALL CONT ALL SOLUTION MONITORING INFO IS WRITTEN TO FILE= file.mntr >>>> PRETENSION ELEMENT STATUS <<<< SECTION NAME PT.NODE --------STATUS-------------------- ----LOAD SOURCE---- 25 20139 FIXED RELATIVE MOTION= 0.69603 D COMMAND MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS HAS BEEN MODIFIED TO BE, NEQIT = 26, BY SOLUTION CONTROL LOGIC. FORCE CONVERGENCE VALUE = 0.4908E+05 CRITERION= 3130. DISP CONVERGENCE VALUE = 0.8604E-01 CRITERION= 0.1741E-01 EQUIL ITER 1 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.8604E-01 DISP CONVERGENCE VALUE = 0.8252E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9590E-01 SCALED MAX DOF INC = -0.8252E-02 FORCE CONVERGENCE VALUE = 0.2928E+06 CRITERION= 3129. EQUIL ITER 2 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.4341E-01 DISP CONVERGENCE VALUE = 0.9600E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.2211 SCALED MAX DOF INC = -0.9600E-02 FORCE CONVERGENCE VALUE = 0.3203E+06 CRITERION= 3114. EQUIL ITER 3 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.2279E-01 DISP CONVERGENCE VALUE = 0.6162E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.2705 SCALED MAX DOF INC = -0.6162E-02 FORCE CONVERGENCE VALUE = 0.2852E+06 CRITERION= 3104. EQUIL ITER 4 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1105E-01 DISP CONVERGENCE VALUE = 0.5834E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.5280 SCALED MAX DOF INC = -0.5834E-02 FORCE CONVERGENCE VALUE = 0.2017E+06 CRITERION= 3092. EQUIL ITER 5 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.3908E-02 DISP CONVERGENCE VALUE = 0.3733E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9552 SCALED MAX DOF INC = -0.3733E-02 FORCE CONVERGENCE VALUE = 0.1850E+05 CRITERION= 3080. EQUIL ITER 6 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= 0.1863E-02 DISP CONVERGENCE VALUE = 0.1554E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.8340 SCALED MAX DOF INC = 0.1554E-02 FORCE CONVERGENCE VALUE = 5932. CRITERION= 3078. EQUIL ITER 7 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.8833E-03 DISP CONVERGENCE VALUE = 0.7388E-03 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.8365 SCALED MAX DOF INC = -0.7388E-03 FORCE CONVERGENCE VALUE = 2966. CRITERION= 3618. <<< CONVERGED >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION 7 *** LOAD STEP 3 SUBSTEP 1 COMPLETED. CUM ITER = 22 *** TIME = 3.00000 TIME INC = 1.00000 **************************************************** *************** FINISHED SOLVE FOR LS 3 ************* **************************************************** ******************* SOLVE FOR LS 4 OF 4 **************** PRINTOUT RESUMED BY /GOP DELETE ALL SPECIFIED NODAL LOADS FROM NODE 20139 TO 20139 BY 1 NUMBER OF NODAL LOADS DELETED= 0 SPECIFIED CONSTRAINT UX FOR SELECTED NODES 20139 TO 20139 BY 1 SET ACCORDING TO TABLE PARAMETER = _FIX USE AUTOMATIC TIME STEPPING THIS LOAD STEP USE 1 SUBSTEPS INITIALLY THIS LOAD STEP FOR ALL DEGREES OF FREEDOM FOR AUTOMATIC TIME STEPPING: USE 10 SUBSTEPS AS A MAXIMUM USE 1 SUBSTEPS AS A MINIMUM TIME= 4.0000 ERASE THE CURRENT DATABASE OUTPUT CONTROL TABLE. WRITE ALL ITEMS TO THE DATABASE WITH A FREQUENCY OF NONE FOR ALL APPLICABLE ENTITIES WRITE NSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE RSOL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EANG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE ETMP ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE VENG ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE STRS ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPEL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE EPPL ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES WRITE CONT ITEMS TO THE DATABASE WITH A FREQUENCY OF ALL FOR ALL APPLICABLE ENTITIES ***** MAPDL SOLVE COMMAND ***** *** WARNING *** CP = 33.533 TIME= 14:50:37 Material number 24 (used by element 11562) should normally have at least one MP or one TB type command associated with it. Output of energy by material may not be available. *** NOTE *** CP = 33.544 TIME= 14:50:37 The step data was checked and warning messages were found. Please review output or errors file ( /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural/fil le0.err ) for these warning messages. *** NOTE *** CP = 33.544 TIME= 14:50:37 This nonlinear analysis defaults to using the full Newton-Raphson solution procedure. This can be modified using the NROPT command. *** MAPDL - ENGINEERING ANALYSIS SYSTEM RELEASE 2024 R2 24.2 *** Ansys Mechanical Enterprise 00000000 VERSION=LINUX x64 14:50:37 NOV 04, 2024 CP= 33.770 --Static Structural L O A D S T E P O P T I O N S LOAD STEP NUMBER. . . . . . . . . . . . . . . . 4 TIME AT END OF THE LOAD STEP. . . . . . . . . . 4.0000 AUTOMATIC TIME STEPPING . . . . . . . . . . . . ON INITIAL NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF SUBSTEPS . . . . . . . . . 10 MINIMUM NUMBER OF SUBSTEPS . . . . . . . . . 1 MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS. . . . 15 STEP CHANGE BOUNDARY CONDITIONS . . . . . . . . NO TERMINATE ANALYSIS IF NOT CONVERGED . . . . . .YES (EXIT) CONVERGENCE CONTROLS. . . . . . . . . . . . . .USE DEFAULTS PRINT OUTPUT CONTROLS . . . . . . . . . . . . .NO PRINTOUT DATABASE OUTPUT CONTROLS ITEM FREQUENCY COMPONENT ALL NONE NSOL ALL RSOL ALL EANG ALL ETMP ALL VENG ALL STRS ALL EPEL ALL EPPL ALL CONT ALL SOLUTION MONITORING INFO IS WRITTEN TO FILE= file.mntr >>>> PRETENSION ELEMENT STATUS <<<< SECTION NAME PT.NODE --------STATUS-------------------- ----LOAD SOURCE---- 25 20139 FIXED RELATIVE MOTION= 0.69603 D COMMAND MAXIMUM NUMBER OF EQUILIBRIUM ITERATIONS HAS BEEN MODIFIED TO BE, NEQIT = 26, BY SOLUTION CONTROL LOGIC. FORCE CONVERGENCE VALUE = 0.4908E+05 CRITERION= 3088. DISP CONVERGENCE VALUE = 0.1815E-01 CRITERION= 0.1741E-01 EQUIL ITER 1 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1815E-01 DISP CONVERGENCE VALUE = 0.1783E-01 CRITERION= 0.1741E-01 LINE SEARCH PARAMETER = 0.9824 SCALED MAX DOF INC = -0.1783E-01 FORCE CONVERGENCE VALUE = 0.1002E+05 CRITERION= 3067. EQUIL ITER 2 COMPLETED. NEW TRIANG MATRIX. MAX DOF INC= -0.1834E-02 DISP CONVERGENCE VALUE = 0.1666E-02 CRITERION= 0.1741E-01 <<< CONVERGED LINE SEARCH PARAMETER = 0.9083 SCALED MAX DOF INC = -0.1666E-02 FORCE CONVERGENCE VALUE = 2559. CRITERION= 3069. <<< CONVERGED >>> SOLUTION CONVERGED AFTER EQUILIBRIUM ITERATION 2 *** LOAD STEP 4 SUBSTEP 1 COMPLETED. CUM ITER = 24 *** TIME = 4.00000 TIME INC = 1.00000 **************************************************** *************** FINISHED SOLVE FOR LS 4 ************* *GET _WALLASOL FROM ACTI ITEM=TIME WALL VALUE= 14.8441667 PRINTOUT RESUMED BY /GOP FINISH SOLUTION PROCESSING ***** ROUTINE COMPLETED ***** CP = 37.416 *** MAPDL - ENGINEERING ANALYSIS SYSTEM RELEASE 2024 R2 24.2 *** Ansys Mechanical Enterprise 00000000 VERSION=LINUX x64 14:50:40 NOV 04, 2024 CP= 37.424 --Static Structural ***** MAPDL RESULTS INTERPRETATION (POST1) ***** *** NOTE *** CP = 37.425 TIME= 14:50:40 Reading results into the database (SET command) will update the current displacement and force boundary conditions in the database with the values from the results file for that load set. Note that any subsequent solutions will use these values unless action is taken to either SAVE the current values or not overwrite them (/EXIT,NOSAVE). Set Encoding of XML File to:ISO-8859-1 Set Output of XML File to: PARM, , , , , , , , , , , , , , , , , , , DATABASE WRITTEN ON FILE parm.xml EXIT THE MAPDL POST1 DATABASE PROCESSOR ***** ROUTINE COMPLETED ***** CP = 37.428 PRINTOUT RESUMED BY /GOP *GET _WALLDONE FROM ACTI ITEM=TIME WALL VALUE= 14.8444444 PARAMETER _PREPTIME = 0.000000000 PARAMETER _SOLVTIME = 32.00000000 PARAMETER _POSTTIME = 1.000000000 PARAMETER _TOTALTIM = 33.00000000 *GET _DLBRATIO FROM ACTI ITEM=SOLU DLBR VALUE= 1.67361894 *GET _COMBTIME FROM ACTI ITEM=SOLU COMB VALUE= 0.732399231E-01 *GET _SSMODE FROM ACTI ITEM=SOLU SSMM VALUE= 2.00000000 *GET _NDOFS FROM ACTI ITEM=SOLU NDOF VALUE= 55065.0000 *GET _SOL_END_TIME FROM ACTI ITEM=SET TIME VALUE= 4.00000000 *IF _sol_end_time ( = 4.00000 ) EQ 4.000000 ( = 4.00000 ) THEN /FCLEAN COMMAND REMOVING ALL LOCAL FILES *ENDIF --- Total number of nodes = 20269 --- Total number of elements = 9137 --- Element load balance ratio = 1.67361894 --- Time to combine distributed files = 7.323992308E-02 --- Sparse memory mode = 2 --- Number of DOF = 55065 EXIT MAPDL WITHOUT SAVING DATABASE NUMBER OF WARNING MESSAGES ENCOUNTERED= 9 NUMBER OF ERROR MESSAGES ENCOUNTERED= 0 +--------------------- M A P D L S T A T I S T I C S ------------------------+ Release: 2024 R2 Build: 24.2 Update: UP20240603 Platform: LINUX x64 Date Run: 11/04/2024 Time: 14:50 Process ID: 4115 Operating System: Ubuntu 20.04.6 LTS Processor Model: AMD EPYC 7763 64-Core Processor Compiler: Intel(R) Fortran Compiler Classic Version 2021.9 (Build: 20230302) Intel(R) C/C++ Compiler Classic Version 2021.9 (Build: 20230302) AOCL-BLAS 4.2.1 Build 20240303 Number of machines requested : 1 Total number of cores available : 8 Number of physical cores available : 4 Number of processes requested : 4 Number of threads per process requested : 1 Total number of cores requested : 4 (Distributed Memory Parallel) MPI Type: INTELMPI MPI Version: Intel(R) MPI Library 2021.11 for Linux* OS GPU Acceleration: Not Requested Job Name: file0 Input File: dummy.dat Core Machine Name Working Directory ----------------------------------------------------- 0 938793e4e167 /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural 1 938793e4e167 /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural 2 938793e4e167 /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural 3 938793e4e167 /tmp/ANSYS.root.1/AnsysMech68C7/Project_Mech_Files/StaticStructural Latency time from master to core 1 = 2.209 microseconds Latency time from master to core 2 = 2.277 microseconds Latency time from master to core 3 = 2.064 microseconds Communication speed from master to core 1 = 9656.12 MB/sec Communication speed from master to core 2 = 14568.89 MB/sec Communication speed from master to core 3 = 15637.21 MB/sec Total CPU time for main thread : 32.2 seconds Total CPU time summed for all threads : 37.7 seconds Elapsed time spent obtaining a license : 0.4 seconds Elapsed time spent pre-processing model (/PREP7) : 0.2 seconds Elapsed time spent solution - preprocessing : 0.8 seconds Elapsed time spent computing solution : 30.7 seconds Elapsed time spent solution - postprocessing : 0.1 seconds Elapsed time spent post-processing model (/POST1) : 0.0 seconds Equation solver used : Sparse (symmetric) Equation solver computational rate : 94.1 Gflops Equation solver effective I/O rate : 54.8 GB/sec Sum of disk space used on all processes : 190.6 MB Sum of memory used on all processes : 781.0 MB Sum of memory allocated on all processes : 3476.0 MB Physical memory available : 31 GB Total amount of I/O written to disk : 2.0 GB Total amount of I/O read from disk : 11.1 GB +------------------ E N D M A P D L S T A T I S T I C S -------------------+ *-----------------------------------------------------------------------------* | | | RUN COMPLETED | | | |-----------------------------------------------------------------------------| | | | Ansys MAPDL 2024 R2 Build 24.2 UP20240603 LINUX x64 | | | |-----------------------------------------------------------------------------| | | | Database Requested(-db) 1024 MB Scratch Memory Requested 1024 MB | | Max Database Used(Master) 20 MB Max Scratch Used(Master) 181 MB | | Max Database Used(Workers) 1 MB Max Scratch Used(Workers) 227 MB | | Sum Database Used(All) 23 MB Sum Scratch Used(All) 758 MB | | | |-----------------------------------------------------------------------------| | | | CP Time (sec) = 37.712 Time = 14:50:40 | | Elapsed Time (sec) = 34.000 Date = 11/04/2024 | | | *-----------------------------------------------------------------------------* .. GENERATED FROM PYTHON SOURCE LINES 487-490 Close mechanical ~~~~~~~~~~~~~~~~ Close the mechanical instance. .. GENERATED FROM PYTHON SOURCE LINES 490-492 .. code-block:: Python mechanical.exit() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 46.856 seconds) .. _sphx_glr_download_examples_basic_example_06_bolt_pretension.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: example_06_bolt_pretension.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: example_06_bolt_pretension.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: example_06_bolt_pretension.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_