Commit 196b5226 authored by Andrew Heather's avatar Andrew Heather Committed by graham
Browse files

added printCoeffs option to turbulenceProperties

parent 93ce315f
......@@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
......@@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy;
LESmodel oneEqEddy;
delta cubeRootVol;
delta cubeRootVol;
printCoeffs on;
laminarCoeffs
{
......@@ -39,7 +42,7 @@ oneEqEddyCoeffs
dynOneEqEddyCoeffs
{
ce 1.05;
filter simple;
filter simple;
}
lowReOneEqEddyCoeffs
......
......@@ -22,9 +22,12 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESmodel oneEqEddy;
LESmodel oneEqEddy;
delta cubeRootVol;
delta cubeRootVol;
printCoeffs on;
laminarCoeffs
{
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel LaunderSharmaKE;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
......@@ -27,7 +27,9 @@ FoamFile
RASmodel kEpsilon;
// Do you wish to calculate turbulence?
turbulence on;
turbulence on;
printCoeffs on;
// Laminar model coefficients
laminarCoeffs
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel laminar;
turbulence off;
turbulence off;
printCoeffs off;
laminarCoeffs
{
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
......@@ -24,7 +24,9 @@ FoamFile
RASmodel kEpsilon;
turbulence on;
turbulence on;
printCoeffs on;
laminarCoeffs
{
......
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
}
}
// ************************************************************************* //
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
}
}
// ************************************************************************* //
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
}
}
// ************************************************************************* //
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
}
}
// ************************************************************************* //
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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;
}
}
// ************************************************************************* //
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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)
)
);
// ************************************************************************* //
/*--------------------------------*- 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;
}