Temperature Mean Value in a Mesh Group
- Jorge Pérez Sansano
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #8277
by Jorge Pérez Sansano
Temperature Mean Value in a Mesh Group was created by Jorge Pérez Sansano
Hello everybody
It's my first topic in the forum, so thank you all for your interest to my question.
Now I explain the problem: I whish to obtain the mean value of temperature (or other variable) that CODE_ASTER solves for a specific mesh group. This mean value must be the surface mean value, for surfaces, and the volume mean value for volumes. I use to work with GERRIS cfd and I know how to do it there with a single command. I supose that CODE_Aster has some command like that.
If you are interested in my real problem: I whish to know the surface mean tempearture of a cooling piece to calculate properly the Nusselt cooling number (I have all the stuff needed for that, less the surface mean temperature).
Every command, or mathematical trick will be wellcome.
Thanks for your time!
It's my first topic in the forum, so thank you all for your interest to my question.
Now I explain the problem: I whish to obtain the mean value of temperature (or other variable) that CODE_ASTER solves for a specific mesh group. This mean value must be the surface mean value, for surfaces, and the volume mean value for volumes. I use to work with GERRIS cfd and I know how to do it there with a single command. I supose that CODE_Aster has some command like that.
If you are interested in my real problem: I whish to know the surface mean tempearture of a cooling piece to calculate properly the Nusselt cooling number (I have all the stuff needed for that, less the surface mean temperature).
Every command, or mathematical trick will be wellcome.
Thanks for your time!
- Jorge Pérez Sansano
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #8278
by Jorge Pérez Sansano
Replied by Jorge Pérez Sansano on topic Re: Temperature Mean Value in a Mesh Group
Maybe I found it: POST_RELEVE_T

- Jorge Pérez Sansano
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #8279
by Jorge Pérez Sansano
Replied by Jorge Pérez Sansano on topic Re: Temperature Mean Value in a Mesh Group
Finally I didn't be able to make it work with POST_RELEVE_T
With ParaVIEW I can use a filter to integrate the variable and with the geometrical data obtain te average value of T. That's how I'm going to do.
But If someone knows other way to do it, Ill be glad to know.
Thanks
With ParaVIEW I can use a filter to integrate the variable and with the geometrical data obtain te average value of T. That's how I'm going to do.
But If someone knows other way to do it, Ill be glad to know.
Thanks
- kwou
-
- Offline
- Moderator
-
9 years 10 months ago #8283
by kwou
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
Replied by kwou on topic Re: Temperature Mean Value in a Mesh Group
I am wondering if the volume and/or surface area of an element is available within Aster.
I have done some rude calculation of the surface area on solid elements on a selected group (GROUP_MA) assuming linear elements (ie only considering the corner nodes and assuming straight connections between these nodes) by a Python script. A general second order approach was a bit far fetch at that moment but must be possible of course. I guess the code for determining these values must be available internally/externally in Aster but I have not dived into that detail.
I have done some rude calculation of the surface area on solid elements on a selected group (GROUP_MA) assuming linear elements (ie only considering the corner nodes and assuming straight connections between these nodes) by a Python script. A general second order approach was a bit far fetch at that moment but must be possible of course. I guess the code for determining these values must be available internally/externally in Aster but I have not dived into that detail.
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
The following user(s) said Thank You: Jorge Pérez Sansano
- Jorge Pérez Sansano
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #8287
by Jorge Pérez Sansano
Replied by Jorge Pérez Sansano on topic Re: Temperature Mean Value in a Mesh Group
Thanks keeswouters for your reply.
I'll show you how I'm doing it without Code_Aster:
1- When I create a group with SALOME for my mesh in the GEOM module, in the Measures menu, I select the tool "Basic Properties" to see the volume and surface of the geometrical object of my group. Now I have the area (A) and the volume (V)
2- After Code_Aster simulation, I open the module ParaVis (ParaView) of SALOME. Then I select to see only the group I'm interested on. I select the filter "Data Analysis -> Integrate Variables". That gives you the value of the variable integrated across the geometry of the group (I)
3 - Finally we obtain the average value by divide I/A or I/V if our gropu is a surface or a volume.
NOTE: for volumes seems to give a negative value of the integral. That has non sense for me if I'm studing positive temperatures. But I made some simple test to check that the value of the integral is right, and it is but negative. You must keep that on mind when you use that tool.
I'll show you how I'm doing it without Code_Aster:
1- When I create a group with SALOME for my mesh in the GEOM module, in the Measures menu, I select the tool "Basic Properties" to see the volume and surface of the geometrical object of my group. Now I have the area (A) and the volume (V)
2- After Code_Aster simulation, I open the module ParaVis (ParaView) of SALOME. Then I select to see only the group I'm interested on. I select the filter "Data Analysis -> Integrate Variables". That gives you the value of the variable integrated across the geometry of the group (I)
3 - Finally we obtain the average value by divide I/A or I/V if our gropu is a surface or a volume.
NOTE: for volumes seems to give a negative value of the integral. That has non sense for me if I'm studing positive temperatures. But I made some simple test to check that the value of the integral is right, and it is but negative. You must keep that on mind when you use that tool.
Moderators: catux
Time to create page: 0.138 seconds