|
[Sponsors] |
Can anybody please check my boundary conditions? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 3, 2011, 05:47 |
|
#21 |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
Why the outlet pressure is set fixedValue = zero? It should be zeroGradient.
|
|
August 3, 2011, 07:53 |
|
#22 |
Senior Member
|
Thank you Sukanta.
I changed the pressure boundary condition as the following: Code:
boundaryField { inlet { type fixedValue; value uniform 0; } outlet { type zeroGradient; } What do you think? Thank you! |
|
August 3, 2011, 08:00 |
|
#23 | |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
Quote:
Since we use relative scale for pressure, we assume the atmospheric pressure is zero. The outlet is to be set to zero if it is at atmospheric pressure. If you get a pressure below zero, its less than atmospheric pressure. I hope I am correct. |
||
August 3, 2011, 08:04 |
|
#24 |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
But why inlet is fixed at zero now? Change in to zeroGradient
You have 30 m/s constant flow. Just tell me one thing if U at inlet is 30 m/s and Pressure is zero in that patch...is it consistent? |
|
August 3, 2011, 08:09 |
|
#25 | |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
Quote:
But from blockMeshDict I can say there is something wrong with naming the patches. I guess in this case the patches inlet and outlet are swapped. But I am not sure. If the inlet is set to some velocity, say 30 m/s, the pressure is set to zeroGradient. Also if the outlet is set to be with a pressure ( fixedValue )of zero , then the inlet should be zeroGradient. I do this in my cases and I get good results |
||
August 3, 2011, 08:10 |
|
#26 | |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
Quote:
|
||
August 3, 2011, 08:21 |
|
#27 | |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
Quote:
Hope this helps |
||
August 3, 2011, 08:48 |
|
#28 |
Senior Member
|
1. I had to change the inlet condition also because otherwise I got an error which basically said that the solver couldn't find any reference cell for pressure.
2. Pressure is relative, so (I think) you can have 30m/s velocity with 0 pressure because that mean that the pressure s the same as ambient static pressure 3. Inlet and outlet are fine, just checked them in paraview. 4. I ran the simulation for another 1000 iterations and the strange behavior underlined in previous pic disappeared but I'm still getting way too high velocity… |
|
August 3, 2011, 08:52 |
|
#29 |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
@lovecraft22
Why is there a zero velocity line (vertical streak of blue)at the inlet? is it due to your boundary conditions? |
|
August 3, 2011, 08:56 |
|
#30 |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
its because the velocity = 30 m/s at inlet.
what is the outlet velocity boundary in this case? |
|
August 3, 2011, 08:56 |
|
#31 |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
May be you can have a look at my simulation -> see attached pic
|
|
August 3, 2011, 08:59 |
|
#32 |
Senior Member
|
That's my inlet condition: he velocity is not 0 but 30m/s.
About the outlet, the velocity is around 3000 m/s!! It's an hypersonic cylinder! |
|
August 3, 2011, 09:02 |
|
#33 |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
what boundary condition you are using for outlet?
Also what pRefValue you are using? |
|
August 3, 2011, 09:08 |
|
#34 |
Senior Member
|
||
August 3, 2011, 09:16 |
|
#35 |
New Member
Sukanta Rakshit
Join Date: Jun 2009
Posts: 16
Rep Power: 17 |
Try these boundary settings
for pressure inlet { type freestreamPressure; } outlet { type freestreamPressure; } for velocity inlet { type freestream; freestreamValue uniform (30 0 0); } outlet { type freestream; freestreamValue uniform (30 0 0); } |
|
August 3, 2011, 09:28 |
|
#36 |
Senior Member
|
You have to define one pressure value at least.
I set the pressure value to 0 at the inlet and the rest as you suggested. Now it's running, let's see what comes out. |
|
August 3, 2011, 09:41 |
|
#37 |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
||
August 3, 2011, 09:43 |
|
#38 |
Senior Member
|
I was just kidding about the fact that though I'm running a low velocity simulation yet I get an hypersonic velocity at the outlet…
|
|
August 3, 2011, 09:44 |
|
#39 |
New Member
BR
Join Date: May 2009
Posts: 23
Rep Power: 17 |
||
August 3, 2011, 09:46 |
|
#40 |
Senior Member
|
OpenFoam 2.0.0
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Impinging Jet Boundary Conditions | Anindya | Main CFD Forum | 25 | February 27, 2016 13:58 |
CFX does not continue | Shafiul | CFX | 10 | February 17, 2011 08:57 |
Proper Pressure Boundary Conditions for Buoyant Flow | mchurchf | OpenFOAM | 0 | March 25, 2010 13:16 |
Cell check and Boundary check errors | AB | Siemens | 4 | October 28, 2004 14:04 |
Please help with flow around car modelling! | Tudor Miron | CFX | 17 | March 19, 2004 20:23 |