TAGGED: apdl-commands, contact-tool, post-processing
-
-
November 18, 2020 at 5:41 pmDianeSubscriberHello, nI am doing a 2D static structural analysis with 2 steps and 80 substeps. My main outcomes are the penetration results of a contact pair (from the Solution Contact Tool). 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. 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. 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. 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. Is this feasible in an APDL command? n Thank you in advance for you help! nBest regards, nDiane
-
November 19, 2020 at 6:04 am
-
November 20, 2020 at 9:10 amDianeSubscriberHello, nI replaced the *get,size,vari,,nsets with *get,my_size,vari,,nsets and obtained a my_size result but the value was 0. According to the Post Output, there is something wrong with the esol,2,5729,6183,cont,pene command. nI am trying to share a simplified version of my model but it seems I am not allowed to attach a .wbpz to this comment. nThank you!nDiane n
-
November 20, 2020 at 2:02 pmHarsihilZLHZSubscriberAs the value is 0, that means you are not following proper ANSYS syntax.nOnce you get any value, then it works fine.ntry to share your file, its difficult to solve problem without it.nYou can share you file, search for share wbpz file format in ANSYS FORUM.nn
-
November 25, 2020 at 3:38 pmDianeSubscriberArrayHi, nSorry for the late reply. I've attached the file of a simplified version of my model but I changed the .wbpz file extension to .7z. Before you open the file, change the extension back to .wbpz. nTo recap, what I was trying to do was to get the maximum penetration values of the frictional contact pair for all 84 substeps and write these penetration values to a .csv or .txt file. nThanks again for your help!nBest regards, nDiane n
-
Viewing 4 reply threads
- The topic ‘Post26 APDL Command’ is closed to new replies.
Ansys Innovation Space
Trending discussions
- Problem with access to session files
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- How to apply Compression-only Support?
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- SMART crack under fatigue conditions, different crack sizes can’t growth
Top Contributors
-
1236
-
543
-
523
-
225
-
209
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.