Post processing -- data retrival
Post processing -- data retrival
(OP)
Hi All,
I want to write "node-number, nodal solution value" using APDL to a specified file. Although I can read that in General postproc->List result->Nodal Sol but I need to execute this from inside the APDL.
Your comments are appreciated.
Regards
I want to write "node-number, nodal solution value" using APDL to a specified file. Although I can read that in General postproc->List result->Nodal Sol but I need to execute this from inside the APDL.
Your comments are appreciated.
Regards





RE: Post processing -- data retrival
RE: Post processing -- data retrival
I have an APDL macro which has a loop and in each loop it solves for some given boundary condition value. Thus I wish to capture node number and corresponding nodal solution value in a file.
A command like *get,t1,NODE,All,TEMP will give me all the temperature at selected nodes but not the corresponding node number with it. My aim is to get a file with following format (which is pretty much the output of General postproc->List result->Nodal Sol):
Node Number, Nodal solution value
My question is, what set of command should I use data in this format.
I hope I made my query clear, let me know if anything else is required.
Regards
RE: Post processing -- data retrival
in your example:
PRNSOL,TEMP
Regards
RE: Post processing -- data retrival
*cfopen,file,txt
alls
nnn=ndnext(0)
*dowhile,nnn
*get,t1,NODE,nnn,TEMP ![or better t1=temp(nnn)]
*vwrite,nnn,t1
(F3.0,F12.0)
nnn=ndnext(nnn)
*enddo
*cfclose
RE: Post processing -- data retrival
Regards