Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to export Equivalent Strain results into a text file.

Status
Not open for further replies.

andradesilva

Materials
Jun 20, 2017
125
Hi all,

I am doing a static simulation on ANSYS Workbench 18.1 as a part of my work as a R&D Engineer.

I am trying to export Equivalent Strain of each node to a text file. I can do it for y displacements (U,Y), and everything goes fine.
However, when I use EPTO,EQV instead, all the lines of the output file have 0.000 as values. How can I sort this out to obtain correct values?
Please note that on the WB GUI I can obtain the countour of Equivalent Strain. So ANSYS has these results. But I am sure that there is something I am not understanding here.

Any help appreciated,

Thanks in advance,
Best regards,
Andrade Silva
 
Replies continue below

Recommended for you

andradesilva

One option is to look at export option(link).

Can you post your macro here so that bugs can be identified? One possible bug may be related to your FORTRAN format statement declaration right after the *vwrite command if strains are very very small.
 
Dear NRP99,

Thanks for the reply and for the help.

well, as I told you, if I replace EPTO,EQV by U,Y on the *command, I get good deflections on the export .txt file. So the APDL code is fine. I've also changed the format of the *vwrite to (1X,F14.12)

I don't really think that is a problem, because graphically I am obtaining results between 1e-5 and 1e-3, so 12 decimal digits seems to be more than enough.
Somehow ANSYS is not exporting strain results as it should. I suspect there might be an option in Workbench to enable to store these results, but I don't know it.
I can export the file via GUI, however, I face two problems:

-How can I automate the exporting of the file each time that the project is solved? I know I should do a macro, but can you post a macro, in jscript or vbscrip?
I think it is just 2-3 lines of code, but I don't know these languages

-I am getting 2 values of Equivalent Strain in .txt file for each node. What do they mean? I was expecting to find only one value per node.


Further help is really appreciated,
Best regards,
Andrade Silva
 
andradesilva

Have you checked the error after executing commands? what is the error?

Exporting should give you only one value of strain. What type of analysis are you doing?

For automating the exporting of results either you have to use ACT or APDL commands. Later is simple and straight forward.
 
Hi,

Thanks for the new reply,
I am doing a static analysis on ANSYS Mechanical in Workbench.

I am getting a warning about the *get command and a useless value on the *vfill command thereafter. This happens for every node:

*** WARNING *** CP = 3.969 TIME= 11:06:11
Requested data is not stored for node 1.
Line= *GET, STRAIN1, NODE, 1, EPEL, EQV
The *GET command is ignored. !

VECTOR FILL OPERATION *VFILL
D1(1,1) = DATA
VECTOR LENGTH= 1195
VALUES= 0.78886E-30

However, if I use U,Y (Y deflection),instead of strain, everything goes fine. I am using Shell181 elements (default for this analysis)

Any help appreciated,
Best regards,
Andrade Silva

 
Two values of strain are related to scope:position in strain result. Change it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor