Andrea9898
Mechanical
- Aug 22, 2012
- 2
Hello,
I'm new to the forum.
I have a problem in Ansys Workbench 14.
I want to create a command apdl object, within the solution object, that automatically write deformation results of a path into a text file.
First I tried selecting the path created by the gui (by PSEL command) , but I get the message: " No path data active. The PDEF command is ignored. "
(Is there any way to recall result objects created in workbench mechanical into a command apdl object?)
Then I created the path by command line, but when I try to get displacement data it gives the following output:
" *** WARNING *** CP = 5.366 TIME= 04:13:23
UY is not a valid degree of freedom for this solution. The DOF
command may be used to add degrees of freedom.
DEFINE PATH VARIABLE UY AS THE DEGREE OF FREEDOM ITEM=U COMP=Y
PRINT ALONG PATH DEFINED BY LPATH COMMAND. DSYS= 0
*** NOTE *** CP = 5.366 TIME= 04:13:23
Invalid PRPATH label UY is ignored. "
Here is my code for mechanical APDL object:
/OUTPUT,C:\path,txt,
path,Pmain,2,8,20
ppath,1,,0,0,0
ppath,2,,0,0,30
pdef,UY,u,y
PRPATH,UY
Any help is greatly appreciated.
Many thanks,
Andrea
I'm new to the forum.
I have a problem in Ansys Workbench 14.
I want to create a command apdl object, within the solution object, that automatically write deformation results of a path into a text file.
First I tried selecting the path created by the gui (by PSEL command) , but I get the message: " No path data active. The PDEF command is ignored. "
(Is there any way to recall result objects created in workbench mechanical into a command apdl object?)
Then I created the path by command line, but when I try to get displacement data it gives the following output:
" *** WARNING *** CP = 5.366 TIME= 04:13:23
UY is not a valid degree of freedom for this solution. The DOF
command may be used to add degrees of freedom.
DEFINE PATH VARIABLE UY AS THE DEGREE OF FREEDOM ITEM=U COMP=Y
PRINT ALONG PATH DEFINED BY LPATH COMMAND. DSYS= 0
*** NOTE *** CP = 5.366 TIME= 04:13:23
Invalid PRPATH label UY is ignored. "
Here is my code for mechanical APDL object:
/OUTPUT,C:\path,txt,
path,Pmain,2,8,20
ppath,1,,0,0,0
ppath,2,,0,0,30
pdef,UY,u,y
PRPATH,UY
Any help is greatly appreciated.
Many thanks,
Andrea