|
[Sponsors] |
Velocity Boundary Conditions to respect mass balance |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 26, 2016, 04:17 |
Velocity Boundary Conditions to respect mass balance
|
#1 |
New Member
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14 |
Hi,
I am solving this problem (see image attached): - Filling of a tank with water. The tank is initially full, we just fill it with new water (water level is constant) - Axi-symmetric - No free-surface modeled - inlet section's surface is equal to outer surface (Ain=Aout) My question is about the boundary conditions to apply. I first tried the traditional "velocity prescribed at inlet" and "P=0 at oulet", but it is very difficult to have a good mass balance (The output velocity that I observe is not equal to the inlet velocity prescribed). I then tried the BC showed on the image. The convergence is much easier, but I am not sure if it's "legal". - Inlet: Vr - Outet: -Vr (it should be that way in order to respect mass balance) - top surface: this surface is at "open air" (but I don't consider free surface). I put P=0, and Vz=0 to prevent the fluid to exit the domain Do you think that this set of BC is valid? Thanks, Pierre |
|
July 26, 2016, 11:06 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
What do you mean for Vr, is a constant value prescribed on all the nodes constituting the inlet and outlet faces? Apart from the fact that a uniform velocity profile is physically questionable (particularly as outflow), it does respect the mass flow and it must work. Thus, I think you have some bug in the code (or I do not understand well your setup...)
|
|
July 26, 2016, 11:24 |
|
#3 | |||
New Member
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14 |
Hi FMDenaro,
Quote:
Quote:
Quote:
It's just that I never used this configuration before and wasn't sure if that make sense or not. Thanks! Pierre |
||||
July 26, 2016, 11:38 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
|
||
July 26, 2016, 11:46 |
|
#5 |
New Member
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14 |
..mmm...interesting.
If I follow you correctly, you say that prescribing the inlet AND outlet velocity would be physically valid only for inviscid flow (no viscosity). Correct? I don't understand why Could help me with that? |
|
July 26, 2016, 11:56 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
On the other hand, an inviscid flow hypothesis cancels the shear wall effects and makes more acceptable such profile due to the energy reversibility (no energy dissipation, no entropy production) |
||
July 26, 2016, 12:01 |
|
#7 |
New Member
Pierre
Join Date: Oct 2011
Posts: 15
Rep Power: 14 |
ok, I see. Thanks for this explanation. I agree with you.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
Basic Nozzle-Expander Design | karmavatar | CFX | 20 | March 20, 2016 08:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 04:39 |
OpenFOAM Variable Velocity Boundary Conditions | NickolasPl | OpenFOAM Programming & Development | 2 | May 19, 2011 05:37 |
maintaining a logarithmic velocity distribution | Morten Andersen | CFX | 1 | January 8, 2007 11:37 |