CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Pressureinletoutletvelocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2015, 18:28
Default Pressureinletoutletvelocity
  #1
New Member
 
helpplease
Join Date: Feb 2015
Posts: 1
Rep Power: 0
amys is on a distinguished road
I have a heated plate opened to atmosphere.
I am using buoyantBousinesqPimpleFOAM.
Mesh is four imaginary walls (open to atmosphere) and a roof (open to atmosphere) and a stationary floor with heated plate at centre.

My boundary conditions are as follows.


FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
floor
{
type fixedValue;
value uniform (0 0 0);
}
heatedplate
{
type fixedValue;
value uniform (0 0 0);
}
inletwall
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
roof
{
type inletOutlet;
inletValue uniform (0 0 0);
}

}

// ************************************************** *********************** //




/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
floor
{
type calculated;
value $internalField;
}
heatedplate
{
type calculated;
value $internalField;
}
inletwall
{
type calculated;
value $internalField;
}
roof
{
type calculated;
value $internalField;
}

}

// ************************************************** *********************** //


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
floor
{
type fixedFluxPressure;
rho rhok;
value uniform 0;
}

heatedplate
{
type fixedFluxPressure;
rho rhok;
value uniform 0;
}
inletwall
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rhok;
psi none;
gamma 1;
value uniform 0;
}
roof
{
type fixedFluxPressure;
rho rhok;
value uniform 0;

}

// ************************************************** *********************** //


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 306;

boundaryField
{
floor
{
type fixedValue;
value uniform 306;
}

heatedplate
{
type fixedValue;
value uniform 368.225;
}
inletwall
{
type inletOutlet;
inletValue uniform 306;
value uniform 306;
}
roof
{
type inletOutlet;
inletValue uniform 306;
value uniform 306;
}

}

// ************************************************** *********************** //



I just want to know if boundary conditions are correct.
Please let me know if there is a problem.
Also could anyone describe pressureinletoutletvelocity in layman terms!
Any help would be much appreciated.
amys is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 23:26.