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

Calculating Pressure Los coefficient in ControlDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2016, 12:25
Default Calculating Pressure Los coefficient in ControlDict
  #1
Member
 
Jack
Join Date: May 2015
Posts: 98
Rep Power: 11
Jack001 is on a distinguished road
I am running OpenFoam ext-3.2

I have a compressor stage (rotor + stator) and I would like to calculate the mass averaged loss coefficient during the simulation in order to have a good check for convergence. The coefficient I am using is defined as

Y_p = \frac{\iint \rho V_{x2}(y_1,y_2) \frac{P_{01}-P_{02}(y_1,y_2)}{P_{01}-p_2(y_1,y_2)} dy_1dy_2}{\iint \rho V{x2}(y_1,y_2)dy_1dy_2}

where the double integration is carried out over the outlet patch of my geometry. V_{x2} is the axial velocity at the exit, P_{01},  P_{02}, denote stagnation pressures at inlet, outlet respectively, and P_{2} static pressures at the outlet.

I want to calculate this quantity at each point in my solution iteration, as one does with force coefficients in the controlDict file in some of the tutorials. But im not sure how to carry out the double integration and how to find the static and stagnation quantities.

For reference I am using the MRF simpleFoam solver and my simulation is therefore incompressible. Any help would be much appreciated.
Jack001 is offline   Reply With Quote

Reply

Tags
controldict, convergence criteria, openfoam, pressure coefficients


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
problems with calculating pressure coefficient Ernie10 OpenFOAM Post-Processing 2 October 7, 2014 09:49
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 03:15
Which kind of pressure use calculating Drag? Fer Main CFD Forum 5 January 27, 2006 13:32
XY plotting pressure coefficient on the wall Yucel Ozmen FLUENT 2 January 16, 2006 22:36


All times are GMT -4. The time now is 13:00.