CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Create volume in CFX post for analysis purposes (https://www.cfd-online.com/Forums/cfx/158730-create-volume-cfx-post-analysis-purposes.html)

lavoz September 2, 2015 09:37

Create volume in CFX post for analysis purposes
 
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.

Lance September 2, 2015 09:44

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

lavoz September 3, 2015 11:36

Thank you very much for this idea, worked like a charm ;-)

vikasy123 October 17, 2015 03:08

Dear lavoz,
i am also stuck in the same problem.
could you please tell me how u have made the expression?

amiyaabhash April 16, 2019 17:43

Can u help me out too pls
 
Quote:

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

virgilante December 14, 2020 09:15

specific answer
 
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.

tias July 5, 2021 10:27

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?


All times are GMT -4. The time now is 07:00.