This is awesome because you, as a user, have complete and full access to the huge breadth and depth available in the MAPDL program. Doesn't the results file store the contact tool solution too?nThe other issue is that I need the penetration result for the whole edge of the contact pair not only one element or node. One of the most powerful things about ANSYS Mechanical is the fact that it creates an input file of APDL commands that is sent to ANSYS Mechanical APDL (MAPDL) to solve. The code I am using is the following: n/post26 nfile,file,rst nesol,2,5729,6183,cont,pene nstore,merge n*get,size,vari,nsets n*dim,penetrat,array,size !nvget,penetrat(1),2 n*dim,timearr,array,size nvget,timearr(1),1 ndpFolder = '\\dp'ndpLoc = STRPOS(_wb_SolverFiles_dir(1),dpFolder)nCutPath = STRSUB(_wb_SolverFiles_dir(1),dpLoc+3,6)nDirSepLoc = STRPOS(CutPath,"\\')ndpNb = STRSUB(CutPath,1,DirSepLoc-1) n*cfopen,"%_wb_userfiles_dir(1)%\\Penetration_dp%dpNb%',csv n*vwriten('Time"," ","Penetration')n*vwrite,timearr(1),penetrat(1) n*cfclosennIn the solver output, after the esol function I an getting the warning No data points are saved during this storage step. nI thought the best way to do that would be a Post26 APLD command added under Solution but I can't get the command to work properly. I am doing a parametric study and for each design point I need to export a text file with the penetration results and the time value for all 80 substeps. APDL Commands These commands make up the ANSYS Parametric Design Language The commands are grouped by functionality. My main outcomes are the penetration results of a contact pair (from the Solution Contact Tool). Hello, nI am doing a 2D static structural analysis with 2 steps and 80 substeps. Then select the named selection in the command script and assign a material using APDL commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |