We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation General Mechanical how to determine the total volume for a specific temperature range Reply To: how to determine the total volume for a specific temperature range

Simon-Olivier
Subscriber

Thank you very much for the return, sorry I have very limited experience in apdl...

I tried to paste the command in a command snippet (post location).

But I have the error: An unknown error occurred during solution.  Check the Solver Output on the Solution Information object for possible causes.    Project>Model>Coupled Field Transient>Solution    Friday, July 14, 2023 11:24:47 AM

And I dont know where to look for the generated file/table from 'pretab,temp' command?

For information, my post txt file: 

batch
/config,noeldb,1     ! force off writing results to database
*get,_wallstrt,active,,time,wall
*DIM,_wb_ProjectScratch_dir_Transient,string,248
_wb_ProjectScratch_dir_Transient(1)= 'D:\Simon\RE\_ProjectScratch\Scr936B\'
*DIM,_wb_SolverFiles_dir_Transient,string,248
_wb_SolverFiles_dir_Transient(1)= 'D:\Simon\RE\Run14_B_V2_files\dp9\SYS-52\MECH\'
*DIM,_wb_userfiles_dir_Transient,string,248
_wb_userfiles_dir_Transient(1)= 'D:\Simon\RE\Run14_B_V2_files\user_files\'
! Executing MAPDL for /post1 evaluation of command objects only
_wb_post_run = 1
/post1
! ****** Begin Command Snippet ******
file,file,rst
set,last
etab,tempe,temp
/output,tempe,txt
pretab,tempe
/out

! ****** End   Command Snippet ******
xmlo,ENCODING,ISO-8859-1
xmlo,parm
/xml,parm,xml
fini
/gopr
*get,_walldone,active,,time,wall
_totaltim=(_walldone-_wallstrt)*3600
*get,_dlbratio,active,0,solu,dlbr
*get,_combtime,active,0,solu,comb
*get,_ssmode,active,0,solu,ssmm
*get,_ndofs,active,0,solu,ndof
*get,_sol_end_time,active,0,set,time
*if,_sol_end_time,eq,1.000000,then
/fclean                !clean distributed files
*endif
/com,--- Total number of nodes = %_numnode%
/com,--- Total number of elements = %_numelem%
/com,--- Element load balance ratio = %_dlbratio%
/com,--- Time to combine distributed files = %_combtime%
/com,--- Sparse memory mode = %_ssmode%
/com,--- Number of DOF = %_ndofs%
/wb,file,end               ! done with WB generated input