in dem Ordner befindet sich alles was im Screenshot zu sehen ist.
Hier habe ich die "ds.dat":
/batch
/config,noeldb,1 ! force off writing results to database
*get,_wallstrt,active,,time,wall
! ANSYS input file written by Workbench version 14.5 Release
! File used for geometry attach: C:\Users\Mathias\Desktop\test-geo\wuerfel\wuerfel.SLDPRT
/title,ansys--Statisch-mechanisch (A5)
*DIM,_wb_ProjectScratch_dir,string,248
_wb_ProjectScratch_dir(1) = 'C:\Users\Mathias\Desktop\test-geo\wuerfel\_ProjectScratch\Scr4DD6\'
*DIM,_wb_SolverFiles_dir,string,248
_wb_SolverFiles_dir(1) = 'C:\Users\Mathias\Desktop\test-geo\wuerfel\ansys_files\dp0\SYS\MECH\'
*DIM,_wb_userfiles_dir,string,248
_wb_userfiles_dir(1) = 'C:\Users\Mathias\Desktop\test-geo\wuerfel\ansys_files\user_files\'
/com,--- Data in consistent MKS units.
/units,MKS
/nopr
/wb,file,start ! signify a WB generated input file
/prep7
! Turn off shape checking because checks already performed inside WB mesher.
! See help system for more information.
SHPP,OFF,,NOWARN
/nolist
etcon,set ! allow ANSYS to choose best KEYOP's for 180x elements
/com,*********** Nodes for the whole assembly ***********
nblock,3
(1i9,3e20.9e3)
1 1.734723476E-018 -1.301042607E-018 0.000000000E+000
2 1.734723476E-018 -1.734723476E-018 5.000000000E-003
3 1.734723476E-018 -8.673617380E-019 -5.000000000E-003
4 2.602085214E-018 -5.000000000E-003 -5.000000000E-003
5 5.000000000E-003 -8.673617380E-019 -5.000000000E-003
6 5.000000000E-003 -5.000000000E-003 -5.000000000E-003
7 8.673617380E-019 5.000000000E-003 -5.000000000E-003
8 5.000000000E-003 5.000000000E-003 -5.000000000E-003
9 -5.000000000E-003 -5.000000000E-003 -5.000000000E-003
10 -5.000000000E-003 -8.673617380E-019 -5.000000000E-003
11 -5.000000000E-003 5.000000000E-003 -5.000000000E-003
12 -5.000000000E-003 -8.673617380E-019 0.000000000E+000
13 -5.000000000E-003 -8.673617380E-019 5.000000000E-003
14 -5.000000000E-003 -5.000000000E-003 5.000000000E-003
15 -5.000000000E-003 -5.000000000E-003 0.000000000E+000
16 -5.000000000E-003 5.000000000E-003 5.000000000E-003
17 -5.000000000E-003 5.000000000E-003 0.000000000E+000
18 8.673617380E-019 5.000000000E-003 0.000000000E+000
19 8.673617380E-019 5.000000000E-003 5.000000000E-003
20 5.000000000E-003 5.000000000E-003 5.000000000E-003
21 5.000000000E-003 5.000000000E-003 0.000000000E+000
22 5.000000000E-003 -8.673617380E-019 0.000000000E+000
23 5.000000000E-003 -8.673617380E-019 5.000000000E-003
24 5.000000000E-003 -5.000000000E-003 5.000000000E-003
25 5.000000000E-003 -5.000000000E-003 0.000000000E+000
26 2.602085214E-018 -5.000000000E-003 0.000000000E+000
27 2.602085214E-018 -5.000000000E-003 5.000000000E-003
28 1.734723476E-018 -1.517883041E-018 2.500000000E-003
29 1.734723476E-018 -1.084202172E-018 -2.500000000E-003
30 -2.500000000E-003 -1.084202172E-018 0.000000000E+000
31 1.301042607E-018 2.500000000E-003 0.000000000E+000
32 2.500000000E-003 -1.084202172E-018 0.000000000E+000
33 2.168404345E-018 -2.500000000E-003 0.000000000E+000
34 -2.500000000E-003 -1.301042607E-018 5.000000000E-003
35 1.301042607E-018 2.500000000E-003 5.000000000E-003
36 2.500000000E-003 -1.301042607E-018 5.000000000E-003
37 2.168404345E-018 -2.500000000E-003 5.000000000E-003
38 2.168404345E-018 -2.500000000E-003 -5.000000000E-003
39 2.500000000E-003 -8.673617380E-019 -5.000000000E-003
40 1.301042607E-018 2.500000000E-003 -5.000000000E-003
41 -2.500000000E-003 -8.673617380E-019 -5.000000000E-003
42 2.500000000E-003 -5.000000000E-003 -5.000000000E-003
43 -2.500000000E-003 -5.000000000E-003 -5.000000000E-003
44 2.602085214E-018 -5.000000000E-003 -2.500000000E-003
45 5.000000000E-003 -2.500000000E-003 -5.000000000E-003
46 5.000000000E-003 2.500000000E-003 -5.000000000E-003
47 5.000000000E-003 -8.673617380E-019 -2.500000000E-003
48 5.000000000E-003 -5.000000000E-003 -2.500000000E-003
49 2.500000000E-003 5.000000000E-003 -5.000000000E-003
50 -2.500000000E-003 5.000000000E-003 -5.000000000E-003
51 8.673617380E-019 5.000000000E-003 -2.500000000E-003
52 5.000000000E-003 5.000000000E-003 -2.500000000E-003
53 -5.000000000E-003 -2.500000000E-003 -5.000000000E-003
54 -5.000000000E-003 -5.000000000E-003 -2.500000000E-003
55 -5.000000000E-003 2.500000000E-003 -5.000000000E-003
56 -5.000000000E-003 -8.673617380E-019 -2.500000000E-003
57 -5.000000000E-003 5.000000000E-003 -2.500000000E-003
58 -5.000000000E-003 -8.673617380E-019 2.500000000E-003
59 -5.000000000E-003 -2.500000000E-003 0.000000000E+000
60 -5.000000000E-003 2.500000000E-003 0.000000000E+000
61 -5.000000000E-003 -2.500000000E-003 5.000000000E-003
62 -5.000000000E-003 2.500000000E-003 5.000000000E-003
63 -5.000000000E-003 -5.000000000E-003 2.500000000E-003
64 -2.500000000E-003 -5.000000000E-003 5.000000000E-003
65 -2.500000000E-003 -5.000000000E-003 0.000000000E+000
66 -5.000000000E-003 5.000000000E-003 2.500000000E-003
67 -2.500000000E-003 5.000000000E-003 5.000000000E-003
68 -2.500000000E-003 5.000000000E-003 0.000000000E+000
69 8.673617380E-019 5.000000000E-003 2.500000000E-003
70 2.500000000E-003 5.000000000E-003 0.000000000E+000
71 2.500000000E-003 5.000000000E-003 5.000000000E-003
72 5.000000000E-003 5.000000000E-003 2.500000000E-003
73 5.000000000E-003 2.500000000E-003 5.000000000E-003
74 5.000000000E-003 2.500000000E-003 0.000000000E+000
75 5.000000000E-003 -8.673617380E-019 2.500000000E-003
76 5.000000000E-003 -2.500000000E-003 0.000000000E+000
77 5.000000000E-003 -2.500000000E-003 5.000000000E-003
78 5.000000000E-003 -5.000000000E-003 2.500000000E-003
79 2.500000000E-003 -5.000000000E-003 5.000000000E-003
80 2.500000000E-003 -5.000000000E-003 0.000000000E+000
81 2.602085214E-018 -5.000000000E-003 2.500000000E-003
-1
/wb,elem,start ! set before creation of elements
/com,*********** Elements for Body 1 "wuerfel" ***********
et,1,186
keyo,1,2,1 ! set full integration on SOLID186
eblock,19,solid,,8
(19i9)
1 1 1 1 0 0 0 0 20 0 1 1 22 21 18 2 23 20 19
32 74 70 31 36 73 71 35 28 75 72 69
1 1 1 1 0 0 0 0 20 0 2 1 18 21 22 3 7 8 5
31 70 74 32 40 49 46 39 29 51 52 47
1 1 1 1 0 0 0 0 20 0 3 1 26 25 22 2 27 24 23
33 80 76 32 37 79 77 36 28 81 78 75
1 1 1 1 0 0 0 0 20 0 4 1 22 25 26 3 5 6 4
32 76 80 33 39 45 42 38 29 47 48 44
1 1 1 1 0 0 0 0 20 0 5 1 18 17 12 2 19 16 13
31 68 60 30 35 67 62 34 28 69 66 58
1 1 1 1 0 0 0 0 20 0 6 1 12 17 18 3 10 11 7
30 60 68 31 41 55 50 40 29 56 57 51
1 1 1 1 0 0 0 0 20 0 7 1 12 15 26 2 13 14 27
30 59 65 33 34 61 64 37 28 58 63 81
1 1 1 1 0 0 0 0 20 0 8 1 26 15 12 3 4 9 10
33 65 59 30 38 43 53 41 29 44 54 56
-1
!Material Id = {997ACD87-2930-467D-AD0B-8653FDF0D966}
/wb,elem,end ! done creating elements
/com,*********** Send User Defined Coordinate System(s) ***********
csys,0
toffst,273.15, ! Temperature offset from absolute zero
/com,*********** Set Reference Temperature ***********
tref,22.
/wb,mat,start ! starting to send materials
/com,*********** Send Materials ***********
MP,DENS,1,7850, ! kg m^-3
MP,ALPX,1,1.2e-05, ! C^-1
MP,C,1,434, ! J kg^-1 C^-1
MP,KXX,1,60.5, ! W m^-1 C^-1
MP,RSVX,1,1.7e-07, ! kg m^3 A^-2 s^-3
MP,EX,1,200000000000, ! Pa
MP,NUXY,1,0.3,
MP,MURX,1,10000,
/wb,mat,end ! done sending materials
!************************* Model Summary ********************
!wuerfel, Baustahl, matid, 1
!************************* End Model Summary ********************
! get the diagonal of the bounding box. Needed later for other things
*get,_xmin,node,,mnloc,x
*get,_ymin,node,,mnloc,y
*get,_zmin,node,,mnloc,z
*get,_xmax,node,,mxloc,x
*get,_ymax,node,,mxloc,y
*get,_zmax,node,,mxloc,z
_ASMDIAG=(_xmax-_xmin)*(_xmax-_xmin)+(_ymax-_ymin)*(_ymax-_ymin)+(_zmax-_zmin)*(_zmax-_zmin)
_ASMDIAG=SQRT(_ASMDIAG)
/wb,contact,start ! starting to send contact
/wb,contact,end ! done creating contacts
/golist
/wb,load,start ! starting to send loads
/com,*********** Fixed Supports ***********
CMBLOCK,_FIXEDSU,NODE, 21
(8i10)
2 13 14 16 19 20 23 24
27 34 35 36 37 61 62 64
67 71 73 77 79
cmsel,s,_FIXEDSU
d,all,all
nsel,all
nsel,all
/com,*********** Define Vertex Force Using Follower Elements ***********
et,2,201
keyo,2,1,1 ! Keep the direction constant
keyo,2,2,1 ! Apply Forces only, not moment
mat,2
real,2
type,2
en,9,11
r,2
rmod,2,1,1.0, ! FX
mat,3
real,3
type,2
en,10,11
r,3
rmod,3,2,1.0, ! FY
mat,4
real,4
type,2
en,11,11
r,4
rmod,4,3,1.0, ! FZ
*DIM,_loadvari27x,TABLE,2,1,1,TIME,
! Time values
_loadvari27x(1,0,1) = 0.
_loadvari27x(2,0,1) = 1.
! Load values
_loadvari27x(1,1,1) = 0.
_loadvari27x(2,1,1) = 100.
*DIM,_loadvari27y,TABLE,2,1,1,TIME,
! Time values
_loadvari27y(1,0,1) = 0.
_loadvari27y(2,0,1) = 1.
! Load values
_loadvari27y(1,1,1) = 0.
_loadvari27y(2,1,1) = -100.
*DIM,_loadvari27z,TABLE,2,1,1,TIME,
! Time values
_loadvari27z(1,0,1) = 0.
_loadvari27z(2,0,1) = 1.
! Load values
_loadvari27z(1,1,1) = 0.
_loadvari27z(2,1,1) = 100.
/gst,on,on
fini
*get,_numnode,node,0,count
*get,_numelem,elem,0,count
*get, _MAXELEMNUM, elem, 0, NUM, MAX
*get, _MAXNODENUM, node, 0, NUM, MAX
*get, _MAXELEMTYPE, etyp, 0, NUM, MAX
*get, _MAXREALCONST, real, 0, NUM, MAX
/go
/wb,load,end ! done creating loads
/com,--- Number of total nodes = %_numnode%
/com,--- Number of contact elements = 0
/com,--- Number of spring elements = 0
/com,--- Number of bearing elements = 0
/com,--- Number of solid elements = 8
/com,--- Number of total elements = %_numelem%
*get,_wallbsol,active,,time,wall
/com,****************************************************************************
/com,************************* SOLUTION ********************************
/com,****************************************************************************
/solu
antype,0 ! static analysis
solc,on,on ! Turn on solution control with ability to use contact time prediction
eqsl,sparse,,,,,1
cntr,print,1 ! print out contact info and also make no initial contact an error
nldiag,cont,iter ! print out contact info each equilibrium iteration
resc,,none ! Do not keep any restart files
/com,****************************************************
/com,******************* SOLVE FOR LS 1 ****************
esel,s,real,,2
sfe,all,1,pres,1,%_loadvari27x%
esel,s,real,,3
sfe,all,1,pres,1,%_loadvari27y%
esel,s,real,,4
sfe,all,1,pres,1,%_loadvari27z%
esel,all
/nopr
/gopr
nsub,1,1,1
time,1.
outres,erase
outres,all,none
outres,nsol,all
outres,rsol,all
outres,strs,all
outres,epel,all
outres,eppl,all
stabilize,off ! Stabilization turned OFF by user
! ****** Begin Command Snippet ******
! ANSYS input file written by Materialise
! materials to elements cross-ref file
!
! Commands inserted into this file will be executed just prior to the Ansys SOLVE command.
! These commands may supercede command settings set by Workbench.
!
! MATERIALS
MP,EX,0,0,0,0,0,0
MP,EX,1,100
MP,PRXY,1,0.3
MP,DENS,1,0.001
MP,EX,2,100
MP,PRXY,2,0.3
MP,DENS,2,0.001
MP,EX,3,100
MP,PRXY,3,0.3
MP,DENS,3,0.001
MP,EX,4,100
MP,PRXY,4,0.3
MP,DENS,4,0.001
MP,EX,5,100
MP,PRXY,5,0.3
MP,DENS,5,0.001
MP,EX,6,1.54613e+006
MP,PRXY,6,0.3
MP,DENS,6,0.00353588
MP,EX,7,5.35545e+008
MP,PRXY,7,0.3
MP,DENS,7,0.179017
MP,EX,8,1.4822e+009
MP,PRXY,8,0.3
MP,DENS,8,0.354497
MP,EX,9,2.69854e+009
MP,PRXY,9,0.3
MP,DENS,9,0.529978
MP,EX,10,4.13245e+009
MP,PRXY,10,0.3
MP,DENS,10,0.705459
MP,EX,11,5.7538e+009
MP,PRXY,11,0.3
MP,DENS,11,0.880939
MP,EX,12,7.54226e+009
MP,PRXY,12,0.3
MP,DENS,12,1.05642
MP,EX,13,9.48293e+009
MP,PRXY,13,0.3
MP,DENS,13,1.2319
MP,EX,14,1.15643e+010
MP,PRXY,14,0.3
MP,DENS,14,1.40738
MP,EX,15,1.3777e+010
MP,PRXY,15,0.3
MP,DENS,15,1.58286
MP,EX,16,1.61135e+010
MP,PRXY,16,0.3
MP,DENS,16,1.75834
MP,EX,17,1.85672e+010
MP,PRXY,17,0.3
MP,DENS,17,1.93382
MP,EX,18,2.11326e+010
MP,PRXY,18,0.3
MP,DENS,18,2.1093
MP,EX,19,2.38048e+010
MP,PRXY,19,0.3
MP,DENS,19,2.28479
MP,EX,20,2.65796e+010
MP,PRXY,20,0.3
MP,DENS,20,2.46027
MP,EX,21,110000000000
MP,PRXY,21,0.3
MP,DENS,21,2.46027
! Material to element cross reference file from mimics
!
! Volume 1
!
MPCHG,11,1
MPCHG,9,2
MPCHG,9,3
MPCHG,1,4
MPCHG,9,5
MPCHG,8,6
MPCHG,7,7
MPCHG,7,8
! ****** End Command Snippet ******
! ****** Begin Command Snippet ******
! Commands inserted into this file will be executed just prior to the ANSYS SOLVE command.
! These commands may supersede command settings set by Workbench.
! Active UNIT system in Workbench when this object was created: Metric (m, kg, N, s, V, A) with temperature units of C
! 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.
!Uebertraegt die Materialeigenschaften von den den Materialien in ein Array
*get,mat_count,mat,0,count !gibt die Anzahl der Materialien zurueck.
*dim,eigenschaft,array,mat_count,5 !Erstellen von Tabelle NAME ZEILEN SPALTEN
*do,i,1,mat_count,1 !DO-Schleife:Variable,Startwert,Endwert,Schrittweite
eigenschaft(i,1)=i !DO-Schleife
*get,eigenschaft(i,2),ex,i !DO-Schleife
*get,eigenschaft(i,3),prxy,i !DO-Schleife
*get,eigenschaft(i,4),dens,i !DO-Schleife
*enddo !ENDE der DO-Schleife
/output,C:\Users\Mathias\Desktop\test-geo\wuerfel\get-material,txt !Speicherort/Dateiname,Format der Datei
!
*vwrite,'Anz. Mat.:',mat_count
%S%I
*vwrite,'Material .:',eigenschaft(1,1),'EX',eigenschaft(1,2),'PRXY',eigenschaft(1,3),'DENS',eigenschaft(1,4)
%12S%4I%12S%20E%12S%20G%12S%20E
!
/output
! ****** End Command Snippet ******
! ****** Begin Command Snippet ******
! Commands inserted into this file will be executed just prior to the ANSYS SOLVE command.
! These commands may supersede command settings set by Workbench.
! Active UNIT system in Workbench when this object was created: Metric (m, kg, N, s, V, A) with temperature units of C
! 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.
!esel,s,enam,,185,187 ! [1] Auswahl-Begrenzung auf Volumenelemente
!nsle ! [2] zur Auswahl-Begrenzung die dazugehoerigen Knoten hinzufuegen
!esel,all !<--- Alternativ ALLES auswaehlen
*get,el_count,elem,,count
*dim,matnr,array,el_count,10 ! Erstellen von Tabelle NAME ZEILEN SPALTEN
!
*do,i,1,el_count,1 !DO-Schleife:Variable,Startwert,Endwert,Schrittweite
*VGET,matnr(i,5),ELEM,i,ATTR,MAT !DO-Schleife
matnr(i,1)=i !DO-Schleife
*enddo !ENDE der DO-Schleife
/output,C:\Users\Mathias\Desktop\test-geo\wuerfel\get-material-nr-of-elem,txt !Speicherort/Dateiname,Format der Datei
!
*vwrite,matnr(1,1),'Material-NR .:',matnr(1,5),'NR-insg .:',el_count
%5I.)%12S%20I%20S%I
!
/output
! ****** End Command Snippet ******
! *********** WB SOLVE COMMAND ***********
! check interactive state
*get,ANSINTER_,active,,int
*if,ANSINTER_,ne,0,then
/eof
*endif
solve
/com *************** Write FE CONNECTORS *********
CEWRITE,file,ce,,INTE
/com,****************************************************
/com,*************** FINISHED SOLVE FOR LS 1 *************
*set,_DS_PROGRESS ! turn off progress updates to avoid virus scanning bug
*get,_wallasol,active,,time,wall
/post1
! ****** Begin Command Snippet ******
! 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 (m, kg, N, s, V, A) with temperature units of C
! 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.
!/output,C:\Users\Mathias\Desktop\test-geo\wuerfel\analyse,txt !Speicherort/Dateiname,Format der Datei
!
!
!
!*vwrite,matnr(1,1),'Material-NR .:',matnr(1,5),'NR-insg .:',el_count
!%5I.)%12S%20I%20S%I
!
!
!/output
! ****** End Command Snippet ******
xmlo,ENCODING,ISO-8859-1
xmlo,parm
/xml,parm,xml
fini
/gopr
*get,_walldone,active,,time,wall
_preptime=(_wallbsol-_wallstrt)*3600
_solvtime=(_wallasol-_wallbsol)*3600
_posttime=(_walldone-_wallasol)*3600
_totaltim=(_walldone-_wallstrt)*3600
/wb,file,end ! done with WB generated input
------------------
Workbench 14.5
ICEM CFD 14.5
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP