|
[Sponsors] |
Inlet & outlet both pressure boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2020, 05:47 |
Inlet & outlet both pressure boundary condition
|
#1 |
New Member
shouvik ghorui
Join Date: Oct 2019
Posts: 15
Rep Power: 7 |
Hello, everyone, I am new in OpenFOAM, I am trying to simulate a negative pressure ventilation room.there is a present and a bed inside the room and the present release constant heat flux. for creating the negative pressure inside the room. I want to give an inlet and outlet as a pressure boundary condition. for inlet, I will give 0pa and for the outlet -8pa.
and I use buoyantPimpleFoam now the question is 1) can I use both pressure boundary condition at inlet and outlet? 2) in which file(p or p_rgh) I have to specified value of pressure -8pa? if any data is required to say then, please let me know. thanks in advance. if anyone helps me it will be great for me. |
|
May 12, 2020, 15:04 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
Hi,
>> 1) can I use both pressure boundary condition at inlet and outlet? Yes, you can. >> 2) in which file(p or p_rgh) I have to specified value of pressure -8pa? If you will carry out incompressible flow simulation, specification in "p" should suffice. But, note that "p" is the kinematic pressure, and in units of "m2/s2", therefore, you need to do a unit conversion from "Pa". Hope it helps. BTW: I would set inlet 8Pa and outlet 0Pa (no specific reason).
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
May 12, 2020, 20:02 |
|
#3 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Just want to make one statement. Using a "negative pressure" needs the assumption of incompressible as only in this scenario we have only pressure gradients to look at. For compressible flows one has to take an EOS into account. Thus, a negative pressure will make trouble as we all know, there is no pressure value with a negative sign.
__________________
Keep foaming, Tobias Holzmann |
|
May 17, 2020, 12:27 |
|
#4 | |
New Member
shouvik ghorui
Join Date: Oct 2019
Posts: 15
Rep Power: 7 |
Quote:
|
||
May 17, 2020, 12:28 |
|
#5 | |
New Member
shouvik ghorui
Join Date: Oct 2019
Posts: 15
Rep Power: 7 |
Quote:
|
||
November 1, 2022, 05:39 |
Please Help
|
#6 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 125
Rep Power: 6 |
Hi guys,
Sorry for messaging to an old thread i am simulating a compressor blade and i need to required apply total pressure,static pressure for "p" and total temperature for "T" . my simulation shows a tendency to converge but after around 2000 iterations it diverges and continue till end . i attached p ,U codes and BC values, i would really appreciate if you could comment on them whether it is correct or wrong. i need desperately need help. p file, Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2112 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object p; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; //internalField uniform 97251; boundaryField { INLET { //type zeroGradient; //type freestreamPressure; //freestreamValue uniform $pOut; type totalPressure; p0 uniform 115775; value uniform 115775; //type fixedValue; //value uniform 84636.34; } OUTLET { //type zeroGradient; //type freestreamPressure; //freestreamValue $internalField; type fixedValue; value $internalField; } CASCADE { type zeroGradient; } "(TOP|BOTTOM)" { type cyclicAMI; } frontAndBackPlanes { type empty; } } // ************************************************************************* // U file, Code:
/*--------------------------------*- C++ -*----------------------------------* \ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2112 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { INLET { //type pressureInletOutletVelocity; //value uniform (110.534 135.673 0); //type freestreamVelocity; //freestreamValue uniform $Uinlet; //value uniform $Uinlet; //type fixedValue; //value uniform (232.43 20.34 0); type pressureDirectedInletVelocity; inletDirection uniform (0.631623456 -0.775275312 0); value uniform (0 0 0); //type pressureInletOutletVelocity; //value uniform (0 0 0); //inletValue uniform (0 0 0); } OUTLET { //type inletOutlet; //inletValue uniform (0 0 0); //value $internalField; type pressureInletOutletVelocity; value uniform (0 0 0); inletValue uniform (0 0 0); //type fixedValue; //value uniform (0 0 0); //type zeroGradient; } CASCADE { type noSlip; } "(TOP|BOTTOM)" { type cyclicAMI; } frontAndBackPlanes { type empty; } } // ************************************************************************* // T file, Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2112 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 340.2; boundaryField { INLET { type totalTemperature; gamma 1.4; T0 $internalField; //type inletOutlet; //inletValue uniform $Tinlet; //value $inletValue; //type fixedValue; //value $internalField; } OUTLET { type inletOutlet; inletValue $internalField; value $internalField; } CASCADE { type zeroGradient; } "(TOP|BOTTOM)" { type cyclicAMI; } frontAndBackPlanes { type empty; } } // ************************************************************************* // please help |
|
Tags |
buoyanboussinesqpimple, buoyancy driven flow, pressure boundary |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Acoustic boundary condition with pressure perturbation at inlet | hand90 | CFX | 2 | August 10, 2018 08:36 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Time dependant pressure boundary condition | yosuke1984 | OpenFOAM Verification & Validation | 3 | May 6, 2015 07:16 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Pulsatile pressure inlet with pressure outlet | a.lynchy | FLUENT | 3 | March 23, 2012 14:45 |