# Calculating volume of Phase

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

 March 3, 2008, 12:50 Calculating volume of Phase #1 Pavan Guest   Posts: n/a Hi All, Assume that I have a problem with say 3 immiscible liquids with different densities such that liquid 1 is above liquid 2 which in turn is above liquid 3 in a cylindrical domain. The domain has a drain at the bottom from where the liquid (liq 3 to begin with) starts to flow out. After certain amount of flow time, if I were to calculate the mass/vol of say liquid 3 remaining in the domain, how would I calculate it? I tried to use the report volume integral menu by calculating volume integral of field vairable -- Phases -- volume fraction -- liquid 3. This gives a volume in m3 which I then multiply with the density of liq 3 to get the mass. However, I am not sure this is the correct way to do it because I observed that when I use this procedure to calculate the volume of say liq 2 which is just floating down, the value of the volume changes over the flow time. This should not be the case because liq 2 hasn't been drained yet. It is a const density liq just moving down. I infer then that the vol integral is only providing a sum of volumes of each cell that holds that liq. I am a little confused about how I can calculate the volume that I want. Any ideas? Thanks. Pavs

 March 3, 2008, 18:49 Re: Calculating volume of Phase #2 Aidan Guest   Posts: n/a setup a custom field function of Volume Fraction*Phase Density for each of your three phases. Then do a volume integral of the field function. This should give you the mass of each phase in the domain.

 March 5, 2008, 11:04 Re: Calculating volume of Phase #3 Pavan Guest   Posts: n/a Thanks Aidan. It was pretty much what I was doing. I was concerned about the difference I was seeing over flow time. But the error was less than 1.5% That still should not exist but I guess it could be numerical error or something. I guess I won't worry about it.

 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 eric weddle CFX 0 September 26, 2011 05:02 gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11 sega OpenFOAM Running, Solving & CFD 23 August 21, 2008 05:58 dlaw FLUENT 5 August 3, 2005 13:33 Yanhu Guo Main CFD Forum 4 January 24, 2001 00:16

All times are GMT -4. The time now is 03:42.