|
[Sponsors] |
July 26, 2019, 01:26 |
high speed flow in pipe
|
#1 | ||
Member
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8 |
Hi, i want to solve fluid flow in pipe with mach ~0.6.
i used density-based, ideal gas with sutherland law. pressure inlet and pressure outlet on fluent. Result seem good. But when im try to use openFoam using rhoSimpleFoam, i get errors at first timestep. here is my boundary conditions. Can u help me whats wrong with this? Quote:
Quote:
|
|||
July 31, 2019, 07:02 |
|
#2 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
Hey Hiep,
can you post your message error, please? The BC seems to be not correct. Are you sure that the pressure in the outlet would be 0?. Furthrmore, I would prefer InletOutlet for the Outlet U. The InletOutlet doesn't allow the flow to come inside and is a more robust. Another suggestion. Try to use a very small value of the relaxation factor of rho. Do you know that for rhoSimpleFoam you need to have also rho and alpha_T as BC? |
|
August 1, 2019, 05:43 |
|
#3 | |
Member
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8 |
Quote:
thanks for reply, here is my problem after 2 iterations im wrong with pressure outlet, in my case, i set it to 101325 when i set U file like this Code:
outlet { type inletOutlet; inletValue uniform (200 0 0); } here is my rho file Code:
".*" { type caculated; value 1.225; } Code:
walls { type compressible::alphatWallFunction; Prt 0.85; value uniform 0; } inlet { type calculated; value 0; } outlet { type calculated; value 0; } |
||
August 6, 2019, 06:50 |
|
#4 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
the rho file is wrong.
You have to put the value at outlet and in inlet zerogradient. It is not physical that the pressure change and not the rho. |
|
August 8, 2019, 05:40 |
|
#5 |
Member
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8 |
||
August 8, 2019, 06:32 |
|
#6 |
Member
Join Date: Mar 2016
Posts: 73
Rep Power: 10 |
In u, you specify a velocity of 200 m/s
But in p you specify a pressure-RAISE from 60000 in the inlet to 101325 in the outlet. Your pressure B/C should develop a sucking towards the inlet, which is inconsistent with your u. Are you sure, you didn't mix up something in the B/Cs? As far as I know, you can not specify the pressure drop and velocity B/C, because you velocity results from the pressure drop or the other way round. I would do it like this u inlet { type fixedValue; value uniform (200 0 0); } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } p inlet { type zeroGradient; } outlet { type fixeValue; value uniform 101325; } |
|
August 8, 2019, 06:46 |
|
#7 | |
Member
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8 |
Quote:
i want to put total pressure to inlet, i dont know the p0 is abs pressure or gauge press but when im try both, again, this error still come to me |
||
August 8, 2019, 11:51 |
|
#8 |
Member
Join Date: Mar 2016
Posts: 73
Rep Power: 10 |
If you want to specify pressure AND velocity in your inlet you should put your outlet pressure to zeroGradient.
|
|
August 9, 2019, 04:10 |
|
#9 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
It is better to start with a simpler case, i.e. use a speed as 2 m/s.
If this doesn't run, you are sure that you have a problem somewhere. P is the static pressure. If you want the totalpressure, you have to use totalPressure. (check the correct sintax) Bit it is not so robust to put velocity and totalpressure in inlet. Try to reach a result with velocity in inlet and totalpressure in outlet. You can change later, if you need. Futhermore, run it with simpleFoam. You have to change tje p file. It must run. It is not a correct result, but you have to reach it. It would be possible also to switj later from simpleFoam to rhoSimpleFoam. |
|
August 9, 2019, 05:16 |
|
#10 | |
Member
Nguyen Trong Hiep
Join Date: Aug 2018
Posts: 48
Rep Power: 8 |
Quote:
but the dimensional of pressure in simpleFoam and rhoSimpleFoam is diffirence. is any way to change between 2 cases? i dont know what exactly this totalpressure in rhoSimpleFoam work. The pressureControl report: p max 8e8 and p min is -1.7e7 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High values of heat transfer coefficient for laminar flow in pipe | Allankey | CFX | 2 | May 28, 2014 13:44 |
DPM and High speed air flow | John | FLUENT | 0 | January 15, 2008 12:17 |
High Speed Supersonic Flow Through Pipe | Benjamin Zachariah | Main CFD Forum | 0 | April 19, 2007 11:16 |
low speed compressible two phase flow?? | cat | CFX | 0 | November 15, 2005 08:59 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |