Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

averaging solutions in ansys

Status
Not open for further replies.

goodatflash

Electrical
Joined
Feb 6, 2009
Messages
3
Location
SE
Hi
I have a problem in averaging thermal flux over all elements in my 2d model,
what I do now is copying every node solution to excel (using results list), and deleting unwanted information and then averaging there (about 2500 nodes!)
could anyone help me with this?
 
If I understand your question, what you should do is extract the thermal flux at every node using the *VGET command. Look up *VGET in the help files and it will show you how to do this. Then you will have a vector of length "n", n being the number of nodes in your model.

Then use *VSCFUN, which has the option to calculate the mean of a vector. Check the use of this in the manual as well.

If you write all this in a small batch file, it should only be 5 lines long and then you can use it over and over again without having to type all the commands in.

I believe that you can also do this with tables but I am not so familiar with their working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top