# Create volume in CFX post for analysis purposes

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

 September 2, 2015, 10:37 Create volume in CFX post for analysis purposes #1 New Member   Nicolas Join Date: Mar 2010 Posts: 13 Rep Power: 14 Dear forum members, I'm looking for a possibility to create a geometrically defined volume that I can later perform calculations on. Or to put it in other words, I want to create a rectangular cuboid within my fluid domain that I can refer to for additional calculations, e.g. calculate volume averaged properties. So in my fluid domain, I can create a volume via locations and limit this volume in one dimension (e.g. z-dimension). However, I can't add any more limitations regarding the x- and y-dimension. Any ideas how this can be done? I probably could create a group of iso clips from respective planes and average the results outside CFX, but this is not straight forward and not a “real” volume averaging, so I hope there is a better option.

 September 2, 2015, 10:44 #2 Senior Member   Lance Join Date: Mar 2009 Posts: 669 Rep Power: 20 One idea: Make an expression defining your boundaries e.g. if(x>1[m],1,0)+if(x<2[m],1,0)+ .... Make a variable of your expression. Make an iso volume of your variable and plot it at value = 6 andbe and evan247 like this.

 September 3, 2015, 12:36 #3 New Member   Nicolas Join Date: Mar 2010 Posts: 13 Rep Power: 14 Thank you very much for this idea, worked like a charm ;-)

 October 17, 2015, 04:08 #4 New Member   vikas yadav Join Date: Jul 2015 Posts: 9 Rep Power: 9 Dear lavoz, i am also stuck in the same problem. could you please tell me how u have made the expression?

April 16, 2019, 18:43
Can u help me out too pls
#5
New Member

Amiya
Join Date: Aug 2017
Posts: 11
Rep Power: 7
Quote:
 Originally Posted by Lance One idea: Make an expression defining your boundaries e.g. if(x>1[m],1,0)+if(x<2[m],1,0)+ .... Make a variable of your expression. Make an iso volume of your variable and plot it at value = 6
Can you please describe in detail.i am performing free surface flow with water being seperated into two halfs by an obstruction I wish to find out the volume passing through right side of the obstruction only.how can I do that?

 December 14, 2020, 10:15 specific answer #6 New Member   jiangsu Join Date: Dec 2020 Posts: 1 Rep Power: 0 according to the responder above>> eg. if(x>-165[m],1,0)+if(x<-45[m],1,0)+if(y>31[m],1,0)+if(y<122[m],1,0)+if(z>0[m],1,0)+if(z<8[m],1,0) this expression means mesh coordinates(x,y,z) input will be exported as 0 or 1, so that the algorithm will distinguish and chose the mash cell range(final output will be 6). then, you will get the mesh iso-trim volume. my first answer.

 July 5, 2021, 11:27 #7 New Member   Join Date: Jun 2016 Posts: 6 Rep Power: 8 The step is fine for simple volumetric shapes. What if the volume is more complex. Is it for example possible to import a bunch of stl surfaces that define a volume?

 Tags post processing, volume, volume averaging, volume generation