|
[Sponsors] |
June 14, 2012, 11:12 |
Hydrostatic Pressure????
|
#21 |
Member
|
Dear Friends
Hi Here, a lot of discussion about p and p-rgh were done. But I myself couldn't get the final results from the discussions. I want to know, for a multiphase flow, which pressure should be used in order to compare with experimental data? as you know, We can have just hydrostatic pressure in the lab. Is the p-rgh value depended on the origin of the domain? |
|
August 16, 2012, 16:24 |
|
#22 |
New Member
Christian Fri
Join Date: Dec 2009
Posts: 7
Rep Power: 16 |
I see that since p_rgh is not the dynamic pressure it means that p is not the total pressure (as we could think) and is actually the static pressure. To calculate the total pressure you can use ptot (this will calculate 1/2*rho*U^2 [dynamic pressure] + p [static pressure)]). So, to compare experimental data with the results from OpenFOAM I will use the p file which is the static pressure in OpenFOAM.
|
|
November 25, 2012, 04:27 |
|
#23 | |
Senior Member
Dongyue Li
Join Date: Jun 2012
Location: Beijing, China
Posts: 848
Rep Power: 18 |
Quote:
so is the p(static pressure) plus 1/2*rho*U^2(dynamic pressure) usually measured in experiment? Why I remember usually in a tube or something ,static pressure is measured in a pressure gauge |
||
May 24, 2013, 11:49 |
|
#24 |
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 240
Rep Power: 17 |
Depending on what you measure. Water pressure level sensors (and piezometers) yust measure the equivalent hydrostatic pressure above the sensor, so they are liquid level sensors and you should compare measurements to p in OF. If you measure the pressure in flow direction to gain drag forces etc. it is more difficult to directly compare measurements and simulation.
|
|
July 8, 2013, 08:58 |
Pressure things ...
|
#25 |
New Member
Join Date: Aug 2011
Posts: 1
Rep Power: 0 |
Hi all,
now i am confused about multiphase pressure. Could anybody put the corresponding qualitative pressure profiles into the file attached? First figure: stationary two phase system (water and air); i think nbadano already posted the answer at December 3, 2010, via this thread Second figure: bubble rising to surface; snap shot Third picture; first contact of a water drop with water surface Thank you very much! |
|
April 6, 2014, 22:51 |
Cannot find patchField entry for wall?
|
#26 |
New Member
Limx
Join Date: Apr 2014
Posts: 6
Rep Power: 12 |
We set up the separator model, and stimulates the multiphase flow. After we ran the setFields, the following information occurred:
Setting field default values Setting internal values of volScalarField alphaair Setting internal values of volScalarField alphawater --> FOAM FATAL IO ERROR: Cannot find patchField entry for wall file: /home/dell/OpenFOAM/damBreak4phaseFinelmxlmx/0/alphawater.boundaryField from line 34 to line 56. From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 206. FOAM exiting -----------------------------------alphawater------------------------------------------- /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object alphawater; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 1; boundaryField { Wall { type zeroGradient; //value uniform 0; } new_new_out { type fixedValue;//; value uniform 1; } new_out { type fixedValue; value uniform 1; } out { type fixedValue;//outletInlet; value uniform 1; } in { type outletOutlet; outletValue uniform 0; value uniform 0; } } ----------------------------- Maybe the boundary conditions were set incorrectly, but we didn't know how to revise them. Thanks so much for help! |
|
April 7, 2014, 03:35 |
|
#27 |
Senior Member
Andrea Ferrari
Join Date: Dec 2010
Posts: 319
Rep Power: 16 |
Hi,
replace Wall { type zeroGradient; //value uniform 0; } with wall { type zeroGradient; //value uniform 0; } Best, andrea |
|
April 7, 2014, 05:04 |
|
#28 | |
Senior Member
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 240
Rep Power: 17 |
Quote:
Last edited by vonboett; April 7, 2014 at 08:33. |
||
April 7, 2014, 21:28 |
Thanks so much!
|
#29 |
New Member
Limx
Join Date: Apr 2014
Posts: 6
Rep Power: 12 |
||
March 1, 2016, 12:33 |
Flow in a straight pipe
|
#30 |
New Member
John Handel Kennedy
Join Date: Feb 2016
Posts: 2
Rep Power: 0 |
Hi,
I am trying to simulate Flow in a Straight Pipe with Heat transfer. I am using the buoyantBoussinesqSimpleFoam solver. I have made g and beta to be zero. The temperature of the wall is 373K and inlet fluid temperature is 293K. The inlet velocity is 1m/s. The diameter of the pipe is 1m and the nu value is 0.01 which makes a Reynolds number to be 100. The laminar Prandtl number is 1.5. I got fully developed flow in simpleFoam i.e. the velocity jumped to 2m/s. However I am not able to get the same velocity profile in buoyantBoussinesqSimpleFoam, The velocity is decreasing towards the outlet. How do we solve this problem? What should I specify in the alpha_t and p_rgh files? Regards John |
|
June 25, 2018, 07:19 |
p_rgh is not Dynamic pressure
|
#31 |
New Member
Srikar Reddy Palla
Join Date: May 2018
Posts: 19
Rep Power: 8 |
P_rgh doesn't indicate 'dynamic pressure'. 'P' indicates static pressure which usually contains 2 components pressure of state and hydrostatic pressure. So, p_rgh indicates state pressure. The reason why do we need to use this pressure is in dealing with multiphase flows along with continuity, momentum and energy equations eqn. Of state is also required.
This in my opinion. Please, Correct me if I am wrong. |
|
April 16, 2019, 20:25 |
|
#32 |
Senior Member
Brett
Join Date: May 2013
Posts: 212
Rep Power: 14 |
Morning. I can't seem to access what I'm sure is a fantastic figure.
|
|
May 28, 2019, 12:54 |
|
#33 | |
New Member
liliu
Join Date: Nov 2018
Posts: 12
Rep Power: 7 |
Quote:
can someone show me the sketch? It's not visible already. Best regards, |
||
February 18, 2020, 04:39 |
P_rgh and p in OpenFOAM
|
#34 |
New Member
Harish Selvam
Join Date: Jun 2019
Posts: 2
Rep Power: 0 |
Dear all,
I am new to OpenFOAM. I am using interFoam, a multiphase solver for my research work. As far as I understood, 'p_rgh' is not a dynamic pressure. So, it is better to think of using 'p' which incorporates all the pressure term (static and dynamic) for your measurement. Suppose, if you take a numerical tank of 0.5m*0.5m of water depth 0.4m and grid size of 0.05m*0.05m and measure p_rgh and p at different points (say (0.25,0), (0.25,0.05), (0.25,0.1)), the p_rgh gives same value (i.e., 3924 pa) whereas p gives (3678.75 pa, 3188.25pa, 2697.75pa). This was my experience with the p_rgh and p when I checked simply for the hydrostatic condition. If p_rgh is dynamic pressure, it should be zero practically. However, it is not the case. p_rgh is simply the pressure measured about the boundary incorporating dynamic pressure about that cell in which it is solving while p is the pressure corrected for the cell centers after solving. Maybe you can think p_rgh as a reference pressure with dynamic pressure incorporated. Kindly note that I have not checked this case with rotational flows. Solvers incorporate p_rgh in calculations. Since pressure difference is the driving force for any fluid motion, it would not affect the results I think All the above discussions are based on my experience in this short term. Please correct me if I am wrong Regards Harish |
|
January 17, 2022, 06:49 |
Relative Pressure
|
#35 |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10 |
It can be called relative pressure. Total_pressure-static_pressure=dynamic_pressure; Total_pressure-(hydrostaic_pressure+Reference_pressure-etc) = Relative_pressure
|
|
April 8, 2023, 10:22 |
|
#36 | |
New Member
Join Date: Dec 2021
Posts: 27
Rep Power: 4 |
Quote:
So it is therefore impossible to compute the real water depth from a multiphase simulation via the Bernoulli equation, correct? We have 0.5*rho*u^2 + p + rho*g*h = p_total In this equation, p would also be the p in our results folders of our interFoam simulation. p can be rewritten p = p_rgh + rho*g*h. Plugging this in will cancel out rho*g*h 0.5*rho*u^2 + p_rgh = p_total. and p_total is dependent on a reference height. In general, we know that p_rgh = p - rho*g*h However, h is not really the water depth, its just a reference height given by the user. It's zero by default, but can be given in an hRef file in the constant folder. Unfortunately, this also means, that if you have a deformed water surface, which is the big feature of interFoam (imo), your hRef will definitely not be the water surface elevation. This effectively prevents us from directly computing the water depth via the Bernoulli equation. This is really annoying, if you want to compare pressure results from multiphase simulations with other solvers. Please correct me if I got some stuff wrong. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solver for subsonic compressible turbulent flow in OF 1.7 | nileshjrane | OpenFOAM Running, Solving & CFD | 20 | February 13, 2012 06:54 |
YPlusRas for InterFoam (Open Foam 1.7) | MrD | OpenFOAM | 0 | August 11, 2010 16:44 |
OpenFOAM 1.7 - openSUSE 11.3 - gcc 4.5.0 | alberto | OpenFOAM | 12 | July 28, 2010 12:59 |
MixSim 1.7 Tutorials | johnnyb | FLUENT | 0 | August 25, 2003 18:13 |