CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Validation of supersonic flow over a flat plate using rhoCentralFoam

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

Validation of supersonic flow over a flat plate using rhoCentralFoam

Posted August 11, 2015 at 09:16 by geojim

Hi,
i am trying to validate openfoam solver rhocentralfoam by running the case of supersonic flow over a flat plate.My freestream flow conditons are MachNumber =2, Pinf =0.01181, Tinf=226.5.
Ufile
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ 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 fixedValue;
value uniform (603.35 0 0);
}

outlet
{
type zeroGradient;
}
walls
{
type fixedValue;
value uniform (0 0 0);
}

farfield
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}

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

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

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

internalField uniform 0;

boundaryField
{
outlet

{
type zeroGradient;

}

inlet
{
type fixedValue;
value uniform 1196.64;

}
walls
{
type zeroGradient;
}

farfield
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}

// ************************************************** *********************** //
T file
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / 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 226.5;

boundaryField
{
inlet

{
type fixedValue;
value uniform 226.5;
}

outlet
{
type zeroGradient;

}
walls
{
type fixedValue;
value uniform 226.5;
}

farfield
{
type symmetryPlane;
}
frontAndBack
{
type empty;
}
}

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

convertToMeters 0.1;

vertices
(
(0 0 0)
(5 0 0)
(5 0.5 0)
(0 0.5 0)
(0 0 2)
(5 0 2)
(5 0.5 2)
(0 0.5 2)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (100 100 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(

(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(1 2 6 5)
);
}
walls
{
type wall;
faces
(
(0 1 5 4)
);
}
farfield
{
type symmetryPlane;
faces
(
(3 7 6 2)
);
}
frontAndBack
{
type empty;
faces
(
(5 6 7 4)
(0 3 2 1)
);
}
);

mergePatchPairs
(
);

// ************************************************** *********************** //
Posted in Uncategorized
Views 3277 Comments 1 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Hello I am a beginner to CFD and currently a student. I was wondering where a good place to start to learn CFD is such as websites, books, and tutorials, so that i can learn to code for simple flows over an object.
    permalink
    Posted November 30, 2016 at 22:14 by stefcfd stefcfd is offline
 

All times are GMT -4. The time now is 03:56.