CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Volume of fluid contained in a cell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2013, 07:28
Default Volume of fluid contained in a cell
  #1
New Member
 
Join Date: Jul 2013
Posts: 27
Rep Power: 13
Sujatha is on a distinguished road
Hi all
Can anybody please let me know how to find the volume of fluid contained in a cell or domain as a whole.
Am working in interFoam and want to find the volume of fluid in the domain at different time.

Any hint will be a privilege.
Thanks in advance
Regards
Sujatha
Sujatha is offline   Reply With Quote

Old   November 5, 2013, 09:55
Default
  #2
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 142
Rep Power: 20
JNSN is on a distinguished road
Hi Sujatha,

output of interFoam gives you "Phase-1 volume fraction". This value multplied by the total volume of the domain (e.g. from checkMesh) gives the volume of phase-1

Hope this helps,
Jan
JNSN is offline   Reply With Quote

Old   November 5, 2013, 12:46
Default
  #3
New Member
 
Join Date: Jul 2013
Posts: 27
Rep Power: 13
Sujatha is on a distinguished road
Thank You , sir,JNSN for your quick and worthy reply.

But since I am a newbie to CFD and OpenFOAM , am still confused. Will the output log file be giving the volume fraction of a single cell? And in my case of "damBreak" initially all the cells won't have liquid phase but only a column of water at one end of the domain.

Also, volume fraction of phase1 remains almost same value for me through out ma simulation.

I will be grateful if you could kindly go through the above issues. Please excuse if these are a sort of blunders, as it's due to my ignorance.

Thanks again
Regards
Sujatha
Sujatha is offline   Reply With Quote

Old   November 5, 2013, 13:20
Default
  #4
Senior Member
 
JNSN's Avatar
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 142
Rep Power: 20
JNSN is on a distinguished road
No, the solver output gives the volume fraction in the whole domain. If you are interested in the volume fraction in a single cell, the easiest way may is with a probe
Code:
functions
(
    probe
    {
        type probes;
        probeLocations ((x y z));
        fields (alpha1);
    }
);
This gives you the volume fraction at a specified points.

Best regards,
Jan
JNSN is offline   Reply With Quote

Old   November 5, 2013, 23:19
Default
  #5
New Member
 
Join Date: Jul 2013
Posts: 27
Rep Power: 13
Sujatha is on a distinguished road
This helps sir, JNSN.

Thanks a million.
Sujatha is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
gradient calculation of cell centered finite volume method zhengjg Main CFD Forum 10 November 12, 2012 00:13
Negative cell volume problem in-cylinder ziani.lotfi FLUENT 0 April 11, 2012 08:54
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 08:59
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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