da ich immer noch etwas ungeübt mit der Anwendung von APDL Command Blöcken bin, würde ich euch bitte mal über meinen Code rüber zu schauen, und mir sagen, wie es eleganter geht.
Mein Ziel ist es recht übersichtlich den Spannungstensor von mehreren Lastschritten aufgelistet zu bekommen. Mein Derzeitiger Entwurf:
Code:
! Commands inserted into this file will be executed immediately after the ANSYS /POST1 command.! Active UNIT system in Workbench when this object was created: Metric (mm, kg, N, s, mV, mA)
! NOTE: Any data that requires units (such as mass) is assumed to be in the consistent solver unit system.
! See Solving Units in the help system for more information.
/com, ########### Postproccessing stress tensor #########
set, last
/com, #### stress tensor - solution cos ####
rsys, solu
NSEL, S, NODE, , ARG1
set, 2
prnsol, s, comp
set, 4
prnsol, s, comp
set, 5
prnsol, s, comp
set, 6
prnsol, s, comp
/com, #### stress tensor - global cartesian cos ####
rsys, 0
NSEL, S, NODE, , ARG1
set, 2
prnsol, s, comp
set, 4
prnsol, s, comp
set, 5
prnsol, s, comp
set, 6
prnsol, s, comp
ALLSEL
***** ANSYS RESULTS INTERPRETATION (POST1) *****
*** NOTE *** CP = 0.375 TIME= 23:34:06
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).
PARAMETER ARG1 = 558045.0000
########### Postproccessing stress tensor #########
USE LAST SUBSTEP ON RESULT FILE FOR LOAD CASE 0
*** NOTE *** CP = 1.984 TIME= 23:34:07
The initial memory allocation (-m) has been exceeded.
Supplemental memory allocations are being used.
Memory resident data base increased from 1024 MB to 2048 MB.
Memory resident data base increased from 2048 MB to 4096 MB.
Memory resident data base increased from 4096 MB to 8192 MB.
***** geometry obtained from result file *****
title(1)=TA_GFT8150_R988091141--Statisch-mechanisch (A5)
title(2)=
Maximum Element Type = 68
Maximum Real Constant Set= 67
Maximum Coordinate System= 22
Maximum Node Number = 32989229
Maximum Element Number = 24273770
Maximum Material Number = 47
Memory resident data base increased from 8192 MB to 16384 MB.
SET COMMAND GOT LOAD STEP= 7 SUBSTEP= 1 CUMULATIVE ITERATION= 7
TIME/FREQUENCY= 7.0000
TITLE= TA_GFT8150_R988091141--Statisch-mechanisch (A5)
#### stress tensor - solution cos ####
RSYS KEY SET TO SOLU
USE THE SOLUTION PHASE COORDINATE SYSTEMS FOR SOLUTION RESULTS
SELECT FOR ITEM=NODE COMPONENT=
IN RANGE 558045 TO 558045 STEP 1
1 NODES (OF 9146535 DEFINED) SELECTED BY NSEL COMMAND.
USE LOAD STEP 2 SUBSTEP LAST FOR LOAD CASE 0
SET COMMAND GOT LOAD STEP= 2 SUBSTEP= 1 CUMULATIVE ITERATION= 2
TIME/FREQUENCY= 2.0000
TITLE= TA_GFT8150_R988091141--Statisch-mechanisch (A5)
PRINT S NODAL SOLUTION PER NODE
*** WARNING *** CP = 80.391 TIME= 23:35:13
The selected element set contains mixed element stiffness types.
This could invalidate error estimation.
*** WARNING *** CP = 80.391 TIME= 23:35:13
The selected element set contains mixed materials.
This could invalidate error estimation.
*** WARNING *** CP = 100.922 TIME= 23:35:34
The selected element set contains stiffness types (such as SURF154 )
which are not valid for error estimation.
*** ANSYS - ENGINEERING ANALYSIS SYSTEM RELEASE 2021 R1 21.1 ***
DISTRIBUTED ANSYS Mechanical Enterprise Solver
00000000 VERSION=WINDOWS x64 23:35:39 MAR 07, 2022 CP= 106.391
TA_GFT8150_R988091141--Statisch-mechanisch (A5)
***** POST1 NODAL STRESS LISTING *****
LOAD STEP= 2 SUBSTEP= 1
TIME= 2.0000 LOAD CASE= 0
THE FOLLOWING X,Y,Z VALUES ARE IN ELEMENT COORDINATES
NODE SX SY SZ SXY SYZ SXZ
558045 5.1677 0.87149 30.020 0.45092 1.2690 12.365
MINIMUM VALUES
NODE 558045 558045 558045 558045 558045 558045
VALUE 5.1677 0.87149 30.020 0.45092 1.2690 12.365
MAXIMUM VALUES
NODE 558045 558045 558045 558045 558045 558045
VALUE 5.1677 0.87149 30.020 0.45092 1.2690 12.365
***** ESTIMATED BOUNDS CONSIDERING THE EFFECT OF DISCRETIZATION ERROR *****
MINIMUM VALUES
NODE 558045 558045 558045 558045 558045 558045
VALUE 4.9853 0.68909 29.837 0.26851 1.0866 12.182
MAXIMUM VALUES
NODE 558045 558045 558045 558045 558045 558045
VALUE 5.3501 1.0539 30.202 0.63333 1.4514 12.547
***************************************************************************
USE LOAD STEP 4 SUBSTEP LAST FOR LOAD CASE 0
SET COMMAND GOT LOAD STEP= 4 SUBSTEP= 1 CUMULATIVE ITERATION= 4
TIME/FREQUENCY= 4.0000
TITLE= TA_GFT8150_R988091141--Statisch-mechanisch (A5)
PRINT S NODAL SOLUTION PER NODE
*** WARNING *** CP = 143.750 TIME= 23:36:17
The selected element set contains mixed element stiffness types.
This could invalidate error estimation.
*** WARNING *** CP = 143.766 TIME= 23:36:17
The selected element set contains mixed materials.
This could invalidate error estimation. ...