CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX-Post. Cubic volume and rectangular surface (https://www.cfd-online.com/Forums/cfx/125031-cfx-post-cubic-volume-rectangular-surface.html)

AlexVin October 17, 2013 12:10

CFX-Post. Cubic volume and rectangular surface
 
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

AlexVin October 17, 2013 13:14

Actually, I managed to define a rectangular area creating a rectangular Point-And-Normal plane. But the issue with the volume remains open...

Ale

Lance October 18, 2013 03:08

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 October 18, 2013 04:29

Quote:

Originally Posted by Lance (Post 457572)
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!

lsd_tm June 20, 2017 05:59

Quote:

Originally Posted by Lance (Post 457572)
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

Thank you!!!

mz_uon July 14, 2021 10:34

Volume Rending of custom volume shape
 
Quote:

Originally Posted by AlexVin (Post 457588)
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!

Hi
I am trying to create a volume rending in CFD-post. I created a custom volume using the method you described here. However, that object does not appear for selection in the Volume Rending option. Can you please suggest how that can be achieved?
I have not defined the volume in my meshing program earlier, so I have to rely on creating a volume limit using the expression you defined above.

Thanks


All times are GMT -4. The time now is 02:48.