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

Volume of fluid contained in a cell

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

Reply
 
LinkBack Thread Tools 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: 4
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
Member
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 35
Rep Power: 9
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: 4
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
Member
 
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 35
Rep Power: 9
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: 4
Sujatha is on a distinguished road
This helps sir, JNSN.

Thanks a million.
Sujatha is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
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 07:54
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07: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 08:09.