added printCoeffs option to turbulenceProperties

This commit is contained in:
andy
2008-06-18 18:29:11 +01:00
parent b3cb7c3dd3
commit 84ee449391
46 changed files with 115 additions and 800 deletions

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE; RASmodel LaunderSharmaKE;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {
@ -39,7 +42,7 @@ oneEqEddyCoeffs
dynOneEqEddyCoeffs dynOneEqEddyCoeffs
{ {
ce 1.05; ce 1.05;
filter simple; filter simple;
} }
lowReOneEqEddyCoeffs lowReOneEqEddyCoeffs

View File

@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE; RASmodel LaunderSharmaKE;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel laminar; RASmodel laminar;
turbulence off; turbulence off;
printCoeffs off;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -1,63 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object rho;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0];
internalField uniform 300;
boundaryField
{
inlet
{
type fixedValue; //inletOutlet;
value uniform 300;
inletValue uniform 300;
}
outlet
{
type zeroGradient; //inletOutlet;
value uniform 300;
inletValue uniform 300;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type zeroGradient; //pressureInletOutletVelocity;
value uniform (0 0 0);
}
outlet
{
type zeroGradient; //inletOutlet;
value uniform (0 0 0);
inletValue uniform (0 0 0);
}
wall
{
type slip;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,62 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object gamma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
wall
{
type calculated;
value uniform 0;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,67 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0];
internalField uniform 5e5;
boundaryField
{
inlet
{
type totalPressure;
U U;
phi phiv;
rho rho;
psi none;
gamma 1;
p0 uniform 100e5;
//p0 uniform 15e5;
}
outlet
{
type fixedValue;
value uniform 5e5;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,63 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class volScalarField;
object gamma;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -3 0 0 0];
internalField uniform 828.23621;
boundaryField
{
inlet
{
type fixedValue;
value uniform 832.75441;
//value uniform 828.7118;
}
outlet
{
type fixedValue; //inletOutlet;
value uniform 828.23621;
inletValue uniform 828.23621;
}
wall
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}
// ************************************************************************* //

View File

@ -1,134 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1.0e-03;
vertices
(
(0 0 0)
(4 0 0)
(5 0 0)
(10 0 0)
(0 0.167 -7.2913e-3)
(4 0.167 -7.2913e-3)
(5 0.167 -7.2913e-3)
(10 0.167 -7.2913e-3)
(0 0.5 -2.183e-2)
(4 0.5 -2.183e-2)
(5 0.5 -2.183e-2)
(10 0.5 -2.183e-2)
(0 0 0)
(4 0 0)
(5 0 0)
(10 0 0)
(0 0.167 7.2913e-3)
(4 0.167 7.2913e-3)
(5 0.167 7.2913e-3)
(10 0.167 7.2913e-3)
(0 0.5 2.183e-2)
(4 0.5 2.183e-2)
(5 0.5 2.183e-2)
(10 0.5 2.183e-2)
);
blocks
(
// block 0
hex (0 1 5 4 12 13 17 16)
(40 10 1)
(0.167 1 1)
// block 1
hex (1 2 6 5 13 14 18 17)
(30 10 1)
(1 1 1)
// block 2
hex (2 3 7 6 14 15 19 18)
(50 10 1)
(6 1 1)
// block 3
hex (4 5 9 8 16 17 21 20)
(40 20 1)
(0.167 1 1)
// block 4
hex (6 7 11 10 18 19 23 22)
(50 20 1)
(6 1 1)
);
patches
(
patch inlet
(
(0 12 16 4)
(4 16 20 8)
)
patch outlet
(
(3 7 19 15)
(7 11 23 19)
)
wall wall
(
(8 20 21 9)
(5 9 21 17)
(6 5 17 18)
(10 6 18 22)
(11 10 22 23)
)
wedge back
(
(0 4 5 1)
(1 5 6 2)
(2 6 7 3)
(4 8 9 5)
(6 10 11 7)
)
wedge front
(
(12 13 17 16)
(13 14 18 17)
(14 15 19 18)
(16 17 21 20)
(18 19 23 22)
)
);
// ************************************************************************* //

View File

@ -1,58 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
location "constant/polyMesh";
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
inlet
{
type patch;
nFaces 30;
startFace 5830;
}
outlet
{
type patch;
nFaces 30;
startFace 5860;
}
wall
{
type wall;
nFaces 160;
startFace 5890;
}
back
{
type wedge;
nFaces 3000;
startFace 6050;
}
front
{
type wedge;
nFaces 3000;
startFace 9050;
}
defaultFaces
{
type empty;
nFaces 0;
startFace 12050;
}
)
// ************************************************************************* //

View File

@ -1,36 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object thermodynamicProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
compressibilityModel linear; //Chung;
psiv psiv [0 -2 2 0 0] 4.662e-5;
rholSat rholSat [1 -3 0 0 0] 828;
psil psil [0 -2 2 0 0] 4.756e-7;
pSat pSat [1 -1 -2 0 0] 3325;
rhoMin rhoMin [1 -3 0 0 0] 0.001;
// ************************************************************************* //

View File

@ -1,28 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
mul mul [1 -1 -1 0 0] 3.877e-3;
muv muv [1 -1 -1 0 0] 1.207e-4;
// ************************************************************************* //

View File

@ -1,52 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 1e-3;
deltaT 1e-8;
writeControl adjustableRunTime;
writeInterval 1e-5;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
timeFormat general;
runTimeModifiable yes;
adjustTimeStep on;
maxCo 0.5;
maxAcousticCo 50.0;
// ************************************************************************* //

View File

@ -1,73 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
interpolationSchemes
{
default linear;
}
divSchemes
{
default none;
div(phiv,rho) Gauss upwind;
div(phi,U) Gauss upwind;
}
gradSchemes
{
default Gauss;
}
laplacianSchemes
{
default none;
laplacian(nuf,rhoU) Gauss linear corrected;
laplacian(muf,U) Gauss linear corrected;
laplacian(rrhoUAf,p) Gauss linear corrected;
laplacian(rUAf,p) Gauss linear corrected;
}
snGradSchemes
{
default none;
snGrad(p) corrected;
}
fluxRequired
{
default none;
p;
rho;
}
// ************************************************************************* //

View File

@ -1,59 +0,0 @@
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 |
| \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
root "";
case "";
instance "";
local "";
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho smoothSolver
{
smoother GaussSeidel;
tolerance 1e-8;
relTol 0;
nSweeps 1;
};
U smoothSolver
{
smoother GaussSeidel;
tolerance 1e-8;
relTol 0;
nSweeps 1;
};
p PCG
{
preconditioner DIC;
tolerance 1e-10;
relTol 0;
};
}
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
removeSwirl 2;
}
// ************************************************************************* //

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta vanDriest; printCoeffs on;
delta vanDriest;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; printCoeffs on;
delta cubeRootVol;
laminarCoeffs laminarCoeffs
{ {

View File

@ -18,7 +18,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {
@ -35,7 +37,7 @@ kEpsilonCoeffs
alphaEps 0.76923; alphaEps 0.76923;
muLimiter on; muLimiter on;
Lsgs 0.0002; Lsgs 0.0002;
} }
RNGkEpsilonCoeffs RNGkEpsilonCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -25,7 +25,9 @@ FoamFile
// RASmodel kEpsilon; // RASmodel kEpsilon;
RASmodel laminar; RASmodel laminar;
turbulence off; turbulence on;
printCoeffs off;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta smooth; delta smooth;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -22,9 +22,11 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy; LESmodel oneEqEddy;
delta cubeRootVol; delta cubeRootVol;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -17,7 +17,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -17,7 +17,10 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kOmegaSST; //kEpsilon; RASmodel kOmegaSST; //kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -27,7 +27,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
// Do you wish to calculate turbulence? // Do you wish to calculate turbulence?
turbulence on; turbulence on;
printCoeffs on;
// Laminar model coefficients // Laminar model coefficients
laminarCoeffs laminarCoeffs

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kOmegaSST; RASmodel kOmegaSST;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE; RASmodel LaunderSharmaKE;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence on; turbulence on;
printCoeffs on;
laminarCoeffs laminarCoeffs
{ {

View File

@ -26,7 +26,9 @@ FoamFile
// Switch turbulence model on or off // Switch turbulence model on or off
turbulence on; turbulence on;
printCoeffs on;
// Standard k-epsilon model coefficients // Standard k-epsilon model coefficients

View File

@ -26,7 +26,9 @@ FoamFile
// Switch turbulence model on or off // Switch turbulence model on or off
turbulence off; turbulence on;
printCoeffs on;
// Standard k-epsilon model coefficients // Standard k-epsilon model coefficients

View File

@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon; RASmodel kEpsilon;
turbulence off; turbulence off;
printCoeffs off;
kEpsilonCoeffs kEpsilonCoeffs
{ {