# CFX-Post. Cubic volume and rectangular surface

 Register Blogs Members List Search Today's Posts Mark Forums Read

 October 17, 2013, 12:10 CFX-Post. Cubic volume and rectangular surface #1 New Member   Join Date: Jul 2013 Posts: 9 Rep Power: 0 Hi all i need help for two issues in cfx post. 1 how could I define a cubic volume in a solid/liquid domain to be able to probe the average temperature? For example, I would like to isolate a cube with center (x,y,z) and side s and then probe volumeAve(Temperature)@mycube : is there a way to do it directly in cfx post or I need to define that cube as a body in design modeler? 2 Similarly, I would like to measure the average temperature in a rectangular area defined on a surface, which can be either a plane or a boundary. Here i need a rectangle (x,y,l,w) and then probe areaAve(Temperature)@myrectangle. Again, is there a simpler way rather than defining a face in design modeler? thank You very much. Ale

 October 17, 2013, 13:14 #2 New Member   Join Date: Jul 2013 Posts: 9 Rep Power: 0 Actually, I managed to define a rectangular area creating a rectangular Point-And-Normal plane. But the issue with the volume remains open... Ale

 October 18, 2013, 03:08 #3 Senior Member   Lance Join Date: Mar 2009 Posts: 606 Rep Power: 14 One way that could work: create an expression with step- or if-functions that gives the value 1 inside your cube and zero outside. Make a variable of that expression, and goto location/volume/isovolume and create an isovolume of your variable. Then you should be able to do volumeAve(Temperature)@isovolume AlexVin likes this.

October 18, 2013, 04:29
#4
New Member

Join Date: Jul 2013
Posts: 9
Rep Power: 0
Quote:
 Originally Posted by Lance One way that could work: create an expression with step- or if-functions that gives the value 1 inside your cube and zero outside. Make a variable of that expression, and goto location/volume/isovolume and create an isovolume of your variable. Then you should be able to do volumeAve(Temperature)@isovolume
Perfect !!!

I defined an expression as

MyVolumeExpression = if ( X <200 [micron] && Y < 200 [micron] && Z < 200 [micron], 1, 0 )

then

MyVolumeVariable = MyVolumeExpression

then

Location->Volume->MyVolume

Method : Isovolume
Variable : MyVolumeVariable
Mode : At Value
Value : 1
Color : Variable
Variable : Temperature

Thanks a lot!

 Tags cfx-post, cubic volume, rectangular user surface

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post cp703 CFX 5 July 20, 2013 06:08 Dome CFX 0 April 22, 2005 13:32 Roued CFX 1 October 2, 2001 16:49

All times are GMT -4. The time now is 15:59.