|
[Sponsors] |
Relation between boundary conditions for pressure and velocity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 20, 2016, 04:45 |
Relation between boundary conditions for pressure and velocity
|
#1 |
Member
Join Date: May 2015
Posts: 68
Rep Power: 10 |
Two basic question:
1) Why do we have to assign a zeroGradient-BC for pressure when we use a fixedValue-BC for velocity? 2) Why do we have to assign zeroGradient for the outlet when using fixedValue for the inlet? Sorry if asked before, couldn't find it. Thx for help! |
|
January 22, 2016, 04:01 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
for incompressible flow pressure and velocity is directly related to each other, so it is not right to constrain both variables
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
January 26, 2016, 10:27 |
|
#3 |
Member
Join Date: May 2015
Posts: 68
Rep Power: 10 |
So the reason is basicly that I only solve one equation (momentum balance/NS) to obtain pressure and velocity. When I fix pressure and velocity it can not be solved, right?
Just another question about pressure-BC. What is the difference between setting a fixedValue for pressure and a totalPressure-BC? I understand the difference between pressure and total pressure but I don't understand the implications entirely. Let me give an example: Impinging Jet on a plate totalPressure for outlet results in fixedValue pressure Code:
FoamFile { version 2.0; format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -2 0 0 0 0]; internalField uniform 101325; boundaryField { AXIS { type zeroGradient; } INLET { type zeroGradient; } OPEN { type fixedValue; value uniform 101325; /* type totalPressure; U U; phi phi; rho none; psi none; gamma 1.4; p0 uniform 101325; */ } OPENUPPER { type fixedValue; value uniform 101325; /* type totalPressure; U U; phi phi; rho none; psi none; gamma 1.4; p0 uniform 101325; */ // Property | Description | Required | Default value // U | velocity field name | no | U // phi | flux field name | no | phi // rho | density field name | no | none // psi | compressibility field name | no | none // gamma | ratio of specific heats (Cp/Cv) | yes | // p0 | static pressure reference | yes | } PIPEWALL { type zeroGradient; } SIDE1 { type wedge; } SIDE2 { type wedge; } WALL { type zeroGradient; } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
mesh file for flow over a circular cylinder | Ardalan | Main CFD Forum | 7 | December 15, 2020 13:06 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 07:30 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 06:18 |