CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Evaluation of mass flow by using swak4Foam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2013, 10:22
Default Evaluation of mass flow by using swak4Foam
  #1
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
Hi all ,

I want to evaluate the mass flow on a imaginary boundry (this is not a boundry of the case, So this is not a patche)(for example middle of a pipe) by using swak4Foam...Can any one help me??

Sasan.
sasanghomi is offline   Reply With Quote

Old   January 25, 2013, 11:13
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sasanghomi View Post
Hi all ,

I want to evaluate the mass flow on a imaginary boundry (this is not a boundry of the case, So this is not a patche)(for example middle of a pipe) by using swak4Foam...Can any one help me??

Sasan.
If the controlSurface is aligned with cell-faces and you have a faceSet or a faceZone the recipe is here: http://openfoamwiki.net/index.php/Co...e_calcMassFlow

If it is not aligned you'll have to define a surface. I believe there are eamples for that in Examples/other/angledDuctImplicit/system/controlDict
sasanghomi likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 25, 2013, 15:13
Default
  #3
Senior Member
 
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 15
sasanghomi is on a distinguished road
thanks for your reply Bernhard,
Can you guide me for creating faceSet or faceZone?? How do I specify the face that I want to evaluate the mass flow on it??

thanks,
Sasan.
sasanghomi is offline   Reply With Quote

Old   January 25, 2013, 15:30
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sasanghomi View Post
thanks for your reply Bernhard,
Can you guide me for creating faceSet or faceZone?? How do I specify the face that I want to evaluate the mass flow on it??

thanks,
Sasan.
FaceSets and faceZones are either:
- created by the mesh converter (for instance the FluentMeshToFoam-converters create them for "internal boundaries")
- you can create them with specialized utilities: setSet or (for newer OF-versions) topoSet

For the usage of these utilities have a look at the tutorials or the swak-Examples (hint: "grep -r" is quite handy for finding scripts that use those)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
Specify mass flow rate for periodic boundary conditions in channel flow lion1990 OpenFOAM Running, Solving & CFD 1 July 9, 2018 18:46
[swak4Foam] error when use swak4foam to calculate the mass flow rate of a cutting plane ozs OpenFOAM Community Contributions 0 September 4, 2017 23:52
Mass flow discrepancy BenMUC CFX 3 May 2, 2014 04:29
total mass loss/gain--simulating taylor couette flow nwpukaka OpenFOAM Programming & Development 0 February 12, 2014 19:57


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