Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

from /solu to /post1 to /solu for all steps of a do-loop

Status
Not open for further replies.

babaye

Mechanical
Mar 12, 2006
9
CA
hi,
I have to resolve a transient thermal analysis. The loadings are heat flows. In /SOLU, a *DO-loop calculates temperatures at nodes for each step. But i need to read these temperatures for each step (before passing to the following). For that, i must use *GET,xx,NODES,yy,TEMP who can be used only in /POST1 (because of TEMP). How can I pass from /SOLU to /POST1 then to return in /SOLU for the following steps?
Like this, it doesn’t pass:
/SOLU
*DO,i,1,n
Loads
TIME,i*dt
SOLVE
/POST1
*DO,J,1,m ! m=number of elements
……….
*GET,xx,NODES,yy,TEMP
………..
*ENDDO
*ENDDO
thank's in advance!!
NB : my english is not good, so sorry!!
 
Replies continue below

Recommended for you

You have a small error in your code:

*DO,i,1,n
/SOLU
TIME,i*dt
SOLVE
/POST1
*DO,J,1,m ! m=number of elements
……….
*GET,xx,NODES,yy,TEMP
………..
*ENDDO
*ENDDO

Hope it helps!
Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top