|
[Sponsors] |
February 19, 2016, 03:00 |
Pressure definitions for buoyantSimpleFoam
|
#1 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 10 |
Hi,
I am solving a case with buoyantSimpleFoam. It is a small heated wire in a pipe that is laying horizontal (see picture attached). So inlet and outlet are on the same level. Although my simulations run, I am still not sure about the pressure definitions. 1. As far as I know the pressures are related by this: PHP Code:
PHP Code:
What I did until now is to define my p file like always: Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 2e5; inlet { type zeroGradient; } outlet { type fixedValue; value uniform 2e5; } "(wall1|wall2|wire)" { type zeroGradient; } "(bottom|top)" { type empty; } Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 2e5; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 2e5; } "(wall1|wall2|wire)" { type fixedFluxPressure; gradient uniform 0; value uniform 2e5; } "(bottom|top)" { type empty; } } Can someone give a comment on this please? Thank you! Best Gerrit Last edited by Gerrit; February 21, 2016 at 05:14. Reason: Wrong content about the pressure unit |
|
February 21, 2016, 05:19 |
|
#2 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 10 |
Hi,
I continued on the case and found a tutorial called circuitBoardCooling. I copied the boundaries from there it now I think it makes somehow sense: p: Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 237233.6; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 237233.6; } "(wall1|wall2|wire)" { type zeroGradient; } "(bottom|top)" { type empty; } } Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 237233.6; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 237233.6; } "(wall1|wall2|wire)" { type fixedFluxPressure; gradient uniform 0; value uniform 237233.6; } "(bottom|top)" { type empty; } } Best |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind tunnel Boundary Conditions in Fluent | metmet | FLUENT | 6 | October 30, 2019 12:23 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |
Outlet pressure | aja1345 | FLUENT | 5 | August 18, 2015 11:02 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Unsteady pressure differential between inlet and outlet of the pipe for single phase | joshi20h | FLUENT | 0 | September 26, 2012 12:41 |