|
[Sponsors] |
February 26, 2015, 18:28 |
Pressureinletoutletvelocity
|
#1 |
New Member
helpplease
Join Date: Feb 2015
Posts: 1
Rep Power: 0 |
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. |
|
|
|