CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

overpressure room

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 23, 2018, 06:26
Default overpressure room
  #1
New Member
 
Aurélien Mingot
Join Date: Jun 2018
Location: London
Posts: 6
Rep Power: 7
Datsusong is on a distinguished road
Hi

I have a little question with the buoyantBoussinesqSimplefoam solver. I run a simulation for a room with supply and extract system air. But It works only when supply flow=extract flow otherwise I have continuity error message. I would like to know if we can simulate an overpressure room even if buoyantBoussinesq is for incompressible flow. I would like to know if it possible without using potentialfoam.

I have for p
zeroGradient ( supply qnd extract)
for U
flowRateInletVelocity ( supply)
flowRateOutletVelocity ( extract)
for p-rgh
fixedFluxPressure
uniform 0 (supply and extract )

Thanks a lot
Aurélien
Have a nice day
Datsusong is offline   Reply With Quote

Old   July 23, 2018, 07:45
Default
  #2
Senior Member
 
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 11
pete20r2 is on a distinguished road
Hello,
You are going to have numerical issues because the problem is constrained.
Typically we setup cases with Dirichlet-Neumann partitioning, this means if you specify the value at one patch, you must specify the gradient at the alternate patch.
See: BC common combinations
Typically we would used a "fixed" velocity inlet and a "fixed" pressure outlet.
The alternate patches get a zeroGradient condition to avoid over constraint.
Try:
Inlet
U flowRateInletVelocity
p fixedFluxPressure

Outlet
U fluxCorrectedVelocity
p fixedMean (or just fixedValue 0, if it's unstable)

These should work if there is no circulation across the patches (no inflow on an outlet etc)
pete20r2 is offline   Reply With Quote

Old   July 23, 2018, 10:57
Default
  #3
New Member
 
Aurélien Mingot
Join Date: Jun 2018
Location: London
Posts: 6
Rep Power: 7
Datsusong is on a distinguished road
Thanks for your answer !
So I understand now that I have to use a fixed velocity inlet with fixed pressure outlet or a fixed velocity outlet and a fixed pressure inlet, that's it ?

I tried with your parameters but I have continuity errors again. I probably made mistake in my files.
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
ceiling
{
type zeroGradient;
}

doors
{
type zeroGradient;
}

exposedwalls
{
type zeroGradient;
}
floor
{
type zeroGradient;
}

indoorwalls
{
type zeroGradient;
}

kitchenExtract
{
type fixedValue;
value uniform 0;
}
supply
{
type fixedFluxPressure;
value uniform 20;
}

wetrommsExtract1
{
type fixedValue;
value uniform 0;
}
wetrommsExtract2
{
type fixedValue;
value uniform 0;
}
wetrommsExtract3
{
type fixedValue;
value uniform 0;
}
windows
{
type zeroGradient;
}
}

// ************************************************** *********************** //
here is my p file is it set up correctly ?

and here my U file
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: 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
{
ceiling
{
type noSlip;
}

doors
{
type noSlip;
}

exposedwalls
{
type noSlip;
}
floor
{
type noSlip;
}

indoorwalls
{
type noSlip;
}

kitchenExtract
{
type fluxCorrectedVelocity;
phi phi;
rho rho;

}
supply
{
type flowRateInletVelocity;
volumetricFlowRate constant 0.7;
value uniform (0 0 0);
}

wetroomsExtract1
{
type fluxCorrectedVelocity;
phi phi;
rho rho;
}
wetroomsExtract2
{
type fluxCorrectedVelocity;
phi phi;
rho rho;
}
wetroomsExtract3
{
type fluxCorrectedVelocity;
phi phi;
rho rho;
}
windows
{
type noSlip;
}
}

// ************************************************** *********************** //
perhaps the error comes from others files but with continuity errors it should be U and p the problem.

Thanks for your link I will have a look now
Datsusong is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radiation and convection heat transfer in a room through heat pipe mankaran90 FLUENT 0 February 26, 2018 06:08
[ICEM] Ogride in of a room in ICEM CFD metmet ANSYS Meshing & Geometry 3 July 31, 2014 15:00
[GAMBIT] Object in room with that object being the purpose of investigation fluentgambituser ANSYS Meshing & Geometry 3 August 24, 2011 02:52
Salome and Code Saturne simulation of simple room and objects cristian.ocnarescu Main CFD Forum 0 June 21, 2010 11:19
Contaminant Distribution in Air-con Room Jules Main CFD Forum 0 June 13, 2002 11:55


All times are GMT -4. The time now is 02:16.