|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
manou mouna
Join Date: Jul 2021
Location: tunisia
Posts: 6
Rep Power: 6 ![]() |
Hi openfoamers
I would like to study the flow at rest in a tube and I want to specify at the inlet a pressure equal to 0 and for the velocity I want it to adapt with the pressure without assigning a value, how I can define the boundary conditions (inlet) for speed? any help will be appreciated |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
manou mouna
Join Date: Jul 2021
Location: tunisia
Posts: 6
Rep Power: 6 ![]() |
Is there anyone who worked in this case please ??
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 55
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Join Date: May 2017
Posts: 31
Rep Power: 10 ![]() |
More generally, for any field where you want the solver to adapt it instead of forcing a value, use zeroGradient.
zeroGradient sets the boundary value equal to the neighbouring cell when updated, so basically doesn't try to change the value and lets the cell decide it itself. For velocity, pressureInletOutletVelocity can be more stable - it's the same as zeroGradient for outflow, but for inflow it sets a tangential velocity (so if you set tangential velocity to zero, it forces inflow to be perpendicular to the boundary). There are also some derived versions like pressureNormalInletOutletVelocity (for inflow, velocity is always normal to the boundary) But if you want the direction of any flow into your tube to not be constrained, use zeroGradient, if this gives weirdness near the edges or is unstable try one of the pressureInletOutletVelocity ones instead. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
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 |
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source | silvan | CFX | 3 | June 16, 2014 09:49 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |