XANSYS Forum Index
    Register    

FAQ    Search    Memberlist    Usergroups    SmartFeedSmartFeed    Profile    Log in
[apdl] how to filter elements having different nodes ?
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
Author Message
debabrata.podder
User


Joined: 21 Feb 2013
Posts: 51
Location: NIT Meghalaya, India

PostPosted: Sat Nov 16, 2013 7:02 pm  Reply with quote

Dear experts,
In my structural model, I have used SOLID185 elements and they consists of 8 noded as well as 4,5 and 6 noded elements. From those elements, I want to extract the nodal temperatures and then average it. After averaging, I want to apply that average temp to that particular element by BFE command. How to filter those 4, 5, 6 noded and 8 noded elements and thereafter calculating the average nodal temperatures and applying to those particular elements ? Thanks in advance.

Regards-
_________________
Debabrata Podder(PhD)
Assistant Professor
NIT Meghalaya
India
Back to top
View user's profile Send private message
sze.cheah
User


Joined: 19 Apr 2011
Posts: 22

PostPosted: Sun Nov 17, 2013 3:06 pm  Reply with quote

I've not done this before but you should be able to write a script to loop through all the elements using *DO, then *GET the temperature at all nodes of that element for further post processing.

Good luck!
Sze Kwan (Jason) Cheah
Cummins Power Generation
Back to top
View user's profile Send private message Send e-mail
j-rgen.humt
User


Joined: 21 Oct 2008
Posts: 188

PostPosted: Sun Nov 17, 2013 11:51 pm  Reply with quote

Debabrata,

below I have added an outline of some APDL to loop through all elements
and then loop thorough the nodes of an element to average the temperature.
I am not sure how to *get the nodal temperature. Is that roughly what
you want to do? (Also note that this is probably the version for dummies,
there may be more sophisticated ways to do this)

allse
*get,eNum,elem,,count
*get,e1,elem,,num,min

*do,j,1,eNum
esel,s,elem,e1
nsle
*get,nNum,node,,count
*get,n1,node,,num,min
temp=0
*do,k,1,nNum
*get,nTemp,n1,??????? Command to get nodal temperature
Temp=temp + nTemp
*get,n1,node,nxth
*enddo
tempAvrg= temp/nNum


! add code to assign temperature to element here


*get,e1,elem,nxth

*enddo


Best Regards,

Juergen Humt
Siemens Fossile Power

-----Ursprüngliche Nachricht-----
Von: xansys-bounces@xansys.org [mailto:xansys-bounces@xansys.org] Im Auftrag von debabrata.podder
Gesendet: Sonntag, 17. November 2013 03:03
An: xansys@xansys.org
Betreff: [Xansys] [apdl] how to filter elements having different nodes ?

Dear experts,
In my structural model, I have used SOLID185 elements and they consists of 8 noded as well as 6 noded elements. From those elements, I want to extract the nodal temperatures and then average it. After averaging, I want to apply that average temp to that particular element by BFE command. How to filter those 6 noded and 8 noded elements and thereafter calculating the average nodal temperatures and applying to those particular elements ? Thanks in advance.

Regards-

------------------------
Debabrata Podder
Research Scholar
IIT Kharagpur
PIN NO.: 721302
India






+-------------------------------------------------------------+
| XANSYS web - www.xansys.org/forum |
| The Online Community for users of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
| Send administrative requests to xansys-mod@tynecomp.co.uk |
+-------------------------------------------------------------+

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
j-rgen.humt
User


Joined: 21 Oct 2008
Posts: 188

PostPosted: Sun Nov 17, 2013 11:56 pm  Reply with quote

There's a bug in the *get,

allse
*get,eNum,elem,,count
*get,e1,elem,,num,min

*do,j,1,eNum
esel,s,elem,e1
nsle
*get,nNum,node,,count
*get,n1,node,,num,min
temp=0
*do,k,1,nNum
*get,nTemp,n1,??????? Command to get nodal temperature
Temp=temp + nTemp
*get,n1,node,n1,nxth
*enddo
tempAvrg= temp/nNum


! add code to assign temperature to element here


*get,e1,elem,e1,nxth

*enddo

Juergen Humt
Siemens Fossile Power

-----Ursprüngliche Nachricht-----
Von: xansys-bounces@xansys.org [mailto:xansys-bounces@xansys.org] Im Auftrag von debabrata.podder
Gesendet: Sonntag, 17. November 2013 03:03
An: xansys@xansys.org
Betreff: [Xansys] [apdl] how to filter elements having different nodes ?

Dear experts,
In my structural model, I have used SOLID185 elements and they consists of 8 noded as well as 6 noded elements. From those elements, I want to extract the nodal temperatures and then average it. After averaging, I want to apply that average temp to that particular element by BFE command. How to filter those 6 noded and 8 noded elements and thereafter calculating the average nodal temperatures and applying to those particular elements ? Thanks in advance.

Regards-

------------------------
Debabrata Podder
Research Scholar
IIT Kharagpur
PIN NO.: 721302
India






+-------------------------------------------------------------+
| XANSYS web - www.xansys.org/forum |
| The Online Community for users of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
| Send administrative requests to xansys-mod@tynecomp.co.uk |
+-------------------------------------------------------------+

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
debabrata.podder
User


Joined: 21 Feb 2013
Posts: 51
Location: NIT Meghalaya, India

PostPosted: Tue Nov 19, 2013 4:08 pm  Reply with quote

Dear Juergen Humt,
Thanks for your time. Now I will implement your loop. One additional thing I want to know that, this loop I want to implement in the thermal analysis and want to store (may be as .text file) it for further use in structural analysis (or can I make such kind of loop in structural analysis directly ?). In structural analysis at every time step I am going to do a element temp check based on this. After checking I will deactivate or activate those elements based on its melting temp.

Thanks in advance.
_________________
Debabrata Podder(PhD)
Assistant Professor
NIT Meghalaya
India
Back to top
View user's profile Send private message
j-rgen.humt
User


Joined: 21 Oct 2008
Posts: 188

PostPosted: Tue Nov 19, 2013 11:04 pm  Reply with quote

Hi Debabrata,

since you have your data stored as element values I wonder whether it might perhaps be faster (instead of writing/reading ASCII) to run a sort of dummy analysis, write a result file and later on read the element temperature values from it. I have not used Ansys in a while so it would take me quite some time to figure out the details. I also vaguely remember that for mechanical calculations there was a sort of dummy solve to give you mass, center of gravity and inertia values of your structure. This dummy solve was called inertia relief and took just a few seconds, perhaps something like this exists for thermal calculations as well. Generally I seem to remember that Ansys has some pretty sophisticated methods to map thermal results to a structure for use in another analysis, hopefully someone a bit more knowledgeable will chime in on this one.

Good luck with your research project!

Juergen Humt
Siemens Fossile Power

PS: by the way, which syllable of your name is stressed when you pronounce it?....(just curious...;-)



-----Ursprüngliche Nachricht-----
Von: xansys-bounces@xansys.org [mailto:xansys-bounces@xansys.org] Im Auftrag von debabrata.podder
Gesendet: Mittwoch, 20. November 2013 00:09
An: xansys@xansys.org
Betreff: Re: [Xansys] [apdl] how to filter elements having different nodes ?

Dear Juergen Humt,
Thanks for your time. Now I will implement your loop. One additional thing I want to know that, this loop I want to implement in the thermal analysis and want to store (may be as .text file) it for further use in structural analysis. In structural analysis at every time step I am going to do a element temp check based on this. After checking I will deactivate or activate those elements based on its melting temp.

Thanks in advance.

------------------------
Debabrata Podder
Research Scholar
IIT Kharagpur
PIN NO.: 721302
India






+-------------------------------------------------------------+
| XANSYS web - www.xansys.org/forum |
| The Online Community for users of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
| Send administrative requests to xansys-mod@tynecomp.co.uk |
+-------------------------------------------------------------+

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
debabrata.podder
User


Joined: 21 Feb 2013
Posts: 51
Location: NIT Meghalaya, India

PostPosted: Wed Nov 20, 2013 9:43 pm  Reply with quote

Dear Juergen Humt,

Thank you very much. It's my pleasure interacting with you.

Regards-

Debabrata.
_________________
Debabrata Podder(PhD)
Assistant Professor
NIT Meghalaya
India
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

sleek template created by Andrew Charron