Difference between revisions of "Contrib/calcMassFlow"

From OpenFOAMWiki
m
m (Bgschaid moved page Contrib calcMassFlow to Contrib/calcMassFlow)
 
(38 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{VersionInfo}}{{Version1.1}}
+
{{VersionInfo}}{{Version1.2}}
 +
 
 +
'''This utility is no longer maintained!''' Its functionality can be easily emulated with [[Contrib/swak4Foam|swak4Foam]] (a recipe is found [[Contrib/swak4Foam/Example_calcMassFlow|here]])
  
 
== Short description ==
 
== Short description ==
Line 7: Line 9:
 
== Motivation ==
 
== Motivation ==
  
This utility was written to compare simulations with the equivalent ?¼nt-cases.  
+
This utility was written to compare simulations with the equivalent Fl�?¼nt-cases.  
  
 
== Usage ==  
 
== Usage ==  
Line 13: Line 15:
 
The utility is controlled by a Dictionary. The contents of the dictionary are  
 
The utility is controlled by a Dictionary. The contents of the dictionary are  
  
* a list of names of the surfaces. The surfaces can be
+
* a list <tt>bcs</tt> of names of the surfaces. The surfaces can be
 
** boundary patches
 
** boundary patches
 
** face sets
 
** face sets
* for incompressible calculations a density can be defined. This is used to correct (in other words multiply) the results to get the same values as those printed by Fluent.
+
* for incompressible calculations a density <tt>rho</tt> can be defined. This is used to correct (in other words multiply) the results to get the same values as those printed by Fluent.
 +
* for radial/symmetric calculations a <tt>scaleFactor</tt> can be defined
  
 
== Notes ==
 
== Notes ==
Line 28: Line 31:
  
 
[[Media:calcMassFlow.tar.gz|The tar file with the sources]]
 
[[Media:calcMassFlow.tar.gz|The tar file with the sources]]
 +
 +
Also needed is the library [[contrib_lib_cellFaceSetUtilities| for cellSets and faceSets]].
 +
 +
To compile with version 1.3 see [[HowTo_port_from_older_versions_to_13]]
  
 
== History ==
 
== History ==
  
 
* First version
 
* First version
 +
* 27 Feb 2006: New Version that compiles with 1.2
 +
* 23 May 2006: Include reference to external library
  
 
--[[User:Bgschaid|Bgschaid]] 21:21, 15 Aug 2005 (CEST)
 
--[[User:Bgschaid|Bgschaid]] 21:21, 15 Aug 2005 (CEST)

Latest revision as of 22:24, 18 November 2013

Valid versions: OF version 12.png

This utility is no longer maintained! Its functionality can be easily emulated with swak4Foam (a recipe is found here)

1 Short description

Calculates the mass flow through boundary patches and face sets

2 Motivation

This utility was written to compare simulations with the equivalent Fl�?¼nt-cases.

3 Usage

The utility is controlled by a Dictionary. The contents of the dictionary are

  • a list bcs of names of the surfaces. The surfaces can be
    • boundary patches
    • face sets
  • for incompressible calculations a density rho can be defined. This is used to correct (in other words multiply) the results to get the same values as those printed by Fluent.
  • for radial/symmetric calculations a scaleFactor can be defined

4 Notes

  • The utility can be used for compressible and incompressible faces
  • The utility assumes the existence of a phi (if phi is missing for a time-step, no calculation is done for that time-step)
  • It does not work in parallel. For parallel calculations of the mass-flow there is a discussion on the Message board.


5 Download

The tar file with the sources

Also needed is the library for cellSets and faceSets.

To compile with version 1.3 see HowTo_port_from_older_versions_to_13

6 History

  • First version
  • 27 Feb 2006: New Version that compiles with 1.2
  • 23 May 2006: Include reference to external library

--Bgschaid 21:21, 15 Aug 2005 (CEST)