Contrib/calcPressureDifference

From OpenFOAMWiki

Valid versions: OF version 12.png

This utility is not maintained anymore - See this page for an example on how to do it with swak4Foam

1 Short description

Calculates the pressure difference between two boundary patches

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

  • the name of the "inlet" patch
  • the name of the "outlet" patch
  • 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.

4 Notes

To calculate the pressure difference between the two patches the average pressure at the patch is used.

5 Download

The tar file with the sources

6 History

  • First version
  • 27 Feb 2006: New Version that compiles with 1.2

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