CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

How to calculate mean pressure in a pipe flow

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2001, 07:22
Default How to calculate mean pressure in a pipe flow
  #1
James
Guest
 
Posts: n/a
I want to find the mean pressure in a cross section But how to get the mean pressure Please tell me step by step Anyway thank for your help
  Reply With Quote

Old   August 30, 2001, 13:30
Default Re: How to calculate mean pressure in a pipe flow
  #2
John C. Chien
Guest
 
Posts: n/a
(1). I don't know how to do it, but I know that there are different types of "mean pressure". (2). So, the first thing to do is : define the "mean pressure" first in terms of algebraic equation. Then you can find out whether you can write a piece of code to do it, or you need to contact the support engineer. (3). Sometimes, the solution is rather simple, depending on the geometry.
  Reply With Quote

Old   August 30, 2001, 13:59
Default Re: How to calculate mean pressure in a pipe flow
  #3
Joern Beilke
Guest
 
Posts: n/a
Hi John,

please answer those question where you have someting to contribute. Otherwise be quiet.

Now for the mean pressure:

If you have a cell-layer which forms your section then it is simple. Put those cells into a cset. Then load the pressure ("getc p") and type "summ cset". So you should see some average value for register 4.

You can also do a cell-volume based averaging. Then you also have to load the cell-volume into another register and multiply .....

Just use the "operate" command for this purpose.
  Reply With Quote

Old   August 30, 2001, 18:32
Default Re: How to calculate mean pressure in a pipe flow
  #4
John C. Chien
Guest
 
Posts: n/a
(1). If I follow your suggestions, what kind of mean pressure would I be getting? (2). Could you be more specific? Is that a simple algebraic mean pressure? (which is usually not very useful). Or Is that an area weighted average pressure? (in that case, you need the the 2-D area of the cell on that particular cut (or cross-section) There is no such thing as the volume averaged pressure on a cross-sectional plane. (3). Well, normally we are interested in the mass-flow averaged pressure or total pressure. In that case, the averaged density and velocity of that particular cell cut also must be available. (4). At the inlet plane or the exit plane, it might be relatively straight-forward because the cell faces are normally on a flat surface. In the middle of the pipe, in general, when you make a cross-sectional cut, it will not go through an existing flat cell surfaces. (5). I had the same need before, when I was using CFX-TASCflow. And I had to use hand integration using graph paper, because the mesh was 3-D. (6). Since I am no longer using the code, I don't have the need to know whether it can be done or not.
  Reply With Quote

Old   August 31, 2001, 03:06
Default Re: How to calculate mean pressure in a pipe flow
  #5
stefan
Guest
 
Posts: n/a
Define the section you need using spoi and snor (as for a section plot). Make sure the section only cuts the cells you want to calculate the mean for. Enter command "inte cset". You get the area and the integrated values for normal vector (A*VN), scalar (A*S) and normal vector*scalar (A*VN*S) for the section. For the mean of the scalar value, you must divide the integrated scalar (A*S) value by the area (A).

(Another application of this command: load the velocities and the density (getc all dens). Then the "inte cset" command gives you the mean velocity (A*VN / A) and the massflow (A*VN*S) through the section.)
  Reply With Quote

Old   August 31, 2001, 03:09
Default Re: How to calculate mean pressure in a pipe flow
  #6
stefan
Guest
 
Posts: n/a
I forgot something: of course, you must first load the pressure.
  Reply With Quote

Old   August 31, 2001, 07:33
Default Re: How to calculate mean pressure in a pipe flow
  #7
Joern Beilke
Guest
 
Posts: n/a
Since you have access to all variables you can do any sort of averaging you want.

If you want to do an averaging about an arbitrary area (also a curved one) then you have to create a shell mesh which describes this section and use "pmap" to map the post results to this shells. Then you can use the "summ" or "integate" commands.

  Reply With Quote

Old   August 31, 2001, 08:21
Default Re: How to calculate mean pressure in a pipe flow
  #8
Philip Jones
Guest
 
Posts: n/a
  Reply With Quote

Old   August 31, 2001, 08:59
Default Re: How to calculate mean pressure in a pipe flow
  #9
Philip Jones
Guest
 
Posts: n/a
Damn you John C Chien, a guy asks a question in a group, we get two good answers from knowledgeable users (Joern and Stefan) and then you pop up to pump hot air into the forum, if you don't know squat be quiet!

My mother always taught me it was rude to knock someone down and not try to help them afterwards so let's give a quick lesson in html tags:

if you want a list of points
  1. First point
  2. Second point
  3. Third point

then type it like this


&#60ol&#62
&#60li&#62First point&#60/li&#62
&#60li&#62Second point&#60/li&#62
&#60li&#62Third point&#60/li&#62
&#60ol&#62
  Reply With Quote

Old   August 31, 2001, 12:00
Default Re: How to calculate mean pressure in a pipe flow
  #10
John C. Chien
Guest
 
Posts: n/a
(1). If someone has to ask a question about how to compute mean pressure when using a commercial code, then we know that the code is not very user-friendly. (2). And if the vendor think that two good answers is enough to solve the problem, then it answered the question why this code is not as popular as the other. It looks like that the people behind are not user-friendly. (3). The better answer is to give the macro to the reader so that he can compute the mean pressure. He is not interested in your mother's teaching at all. (4). So, is it possible to list the macro "nicely in your expert HTML form here", so that we can all verify the result? A step-by-step macro instruction to get the mean pressure in a pipe here, please.
  Reply With Quote

Old   October 11, 2001, 11:19
Default Re: How to calculate mean pressure in a pipe flow
  #11
marco
Guest
 
Posts: n/a
Of course you should load also the velocity vector. The following prostar commands are needed:

load,, !load post-file getc all ptot !get velocity and total pressure spoint .... !define section point snorm .... !define section normal cset .... !define cell set to cut integ cset !-->see stefan's message

  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
how to calculate mass flow at pressure boundary Hugo FLUENT 2 October 11, 2007 15:22
Pressure Drop - Please Help - Simple Pipe Flow Joe A. FLUENT 2 April 23, 2007 07:50
pulsating static pressure around zero at pipe flow David Kim FLUENT 0 May 16, 2006 13:47
Pressure loss due to sudden expansion in pipe flow Ahmed FLUENT 0 January 2, 2006 10:01
total pressure change in a pipe flow Im FLUENT 4 February 6, 2002 19:09


All times are GMT -4. The time now is 16:08.