XANSYS Message: 106 [Go back to message list]
[bookmark on del.icio.us]
No rating yet
Rate item:

Subject: Re: XANS: copying temperature loads
Author: John Crawford
Date: 1998-12-28 13:45:00

Don,

What phrase passes throught the lips of every ANSYS devotee when asked
"Can ANSYS do....?" Drum roll, please. And the winner is... "I can
write a macro to do that."

Yessiree, if we pull an undocumented command out of our magical bag of
tricks we can do what you are looking for. It turns out that there
isn't a *GET for getting applied nodal temps, although I have a vague
remembrance that Joh Swanson posted something to this forum a while back
that such a capability had been added in ANSYS 5.5. I don't remember
noticing it in the documentation for *GET in 5.5.

The following command string will stack all the nodal temps into a
vector. I extracted it from a macro I wrote for another purpose, but it
serves as a usefull example.

! create a vector for the nodal temperatures
*dim,tvect,array,ndinqr(0,14)
*vget,tvect(1),125,1,12,1,,,2
!

This will stack the temperatures applied to any node in the row number
that corresponds to the node number. Using this, you should be able to
write a macro which will loop through the original set of nodes, using a
user provided node number offset, and apply these temps to the nodes you
created using NGEN, VGEN, or whatever. I don't have time to write the
macro for you, but once you get the temps plugged into a vector the rest
is relatively straightforward. Let me know if you have any difficulty
with this, and I'll be glad to help out with a little more support.

John Crawford
AlliedSignal Engines
Phoenix, Az
john.crawford@a...

To: xansys@o...

Hello Group,

I have a problem that has several different load
sets. The model is a 3D part using 20 node bricks.
The first several sets of load steps were such that I
could use cyclic symmetry reducing the size of the model
by using only a segment of the entire part.

I have another set of load steps where I must apply 3D loading
onto the part. So I need to make the entire 360 degree model.

I have temperatures for the one segment of the part; the
temperature loading is still symmetric around the part. Only
a portion of my structural loads are non-symmetric. The problem
has non-linear features.

My questions is;

After I copy the existing elements and nodes to make the model of
the complete part, Is there any way for me to copy nodal temperatures
from a subset of nodes onto other nodes using node increments, using a
built-in command ? Or, do I need to use a macro, or make a thermal run
for
the entire model ?

I would appreciate any suggestions for help.

Don Shaffer, Mechanical Engineer
Siemens Westinghouse Power Corporation
Orlando, Florida


Posts possibly associated with message #106AuthorDateScore
103XANS: copying temperature loadsDon Shaffer1998/12/28 
104Re: XANS: copying temperature loadsJohan Hsu1998/12/28 
105Re: XANS: copying temperature loadsDavid Gross1998/12/28 
106Re: XANS: copying temperature loadsJohn Crawford1998/12/28 
107Re: XANS: copying temperature loadsJeff Lentz1998/12/28