ENH: Uptodate to dev for several tutorials

This commit is contained in:
sergio
2011-03-21 14:24:48 +00:00
parent 5e020d39a1
commit 41121ee8f4
48 changed files with 148823 additions and 237 deletions

View File

@ -1,9 +1,9 @@
// We do not have a top-level mesh. Construct the fvSolution for // We do not have a top-level mesh. Construct the fvSolution for
// the runTime instead. // the runTime instead.
runTime.readOpt() = IOobject::MUST_READ_IF_MODIFIED;
fvSolution solutionDict(runTime); fvSolution solutionDict(runTime);
const dictionary& pimple = solutionDict.subDict("PIMPLE"); const dictionary& pimple = solutionDict.subDict("PIMPLE");
const int nOuterCorr = const int nOuterCorr =
pimple.lookupOrDefault<int>("nOuterCorrectors", 1); pimple.lookupOrDefault<int>("nOuterCorrectors", 1);

View File

@ -90,7 +90,7 @@ Foam::radiation::fvDOM::fvDOM(const volScalarField& T)
mesh_.time().timeName(), mesh_.time().timeName(),
mesh_, mesh_,
IOobject::NO_READ, IOobject::NO_READ,
IOobject::AUTO_WRITE IOobject::NO_WRITE
), ),
mesh_, mesh_,
dimensionedScalar("a", dimless/dimLength, 0.0) dimensionedScalar("a", dimless/dimLength, 0.0)

View File

@ -32,8 +32,8 @@ boundaryField
sides sides
{ {
type pressureInletOutletVelocity; type pressureInletOutletVelocity;
outletValue uniform (0 0 0);
value uniform (0 0 0); value uniform (0 0 0);
phi phi;
} }
base base
{ {
@ -43,7 +43,7 @@ boundaryField
inlet inlet
{ {
type fixedValue; type fixedValue;
value uniform (0 0.05 0); value uniform (0 0.01 0);
} }
} }

View File

@ -32,9 +32,9 @@ boundaryField
p0 $internalField; p0 $internalField;
U U; U U;
phi phi; phi phi;
rho none; rho rho;
psi none; psi none;
gamma 1; gamma 0;
value $internalField; value $internalField;
} }
base base

View File

@ -14,7 +14,6 @@ FoamFile
location "constant"; location "constant";
object LESProperties; object LESProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
LESModel oneEqEddy; LESModel oneEqEddy;
@ -26,6 +25,11 @@ turbulence on;
printCoeffs on; printCoeffs on;
oneEqEddyCoeffs
{
ck 0.07;
}
cubeRootVolCoeffs cubeRootVolCoeffs
{ {
deltaCoeff 1; deltaCoeff 1;

View File

@ -20,7 +20,7 @@ combustionModel infinitelyFastChemistry;
infinitelyFastChemistryCoeffs infinitelyFastChemistryCoeffs
{ {
C 10.0; C 5.0;
} }
noCombustionCoeffs noCombustionCoeffs

View File

@ -18,20 +18,20 @@ convertToMeters 1;
vertices vertices
( (
(-0.3 0 -0.3) (-0.5 0 -0.5)
( 0.3 0 -0.3) ( 0.5 0 -0.5)
( 0.3 1.0 -0.3) ( 0.5 1.0 -0.5)
(-0.3 1.0 -0.3) (-0.5 1.0 -0.5)
(-0.3 0 0.3) (-0.5 0 0.5)
( 0.3 0 0.3) ( 0.5 0 0.5)
( 0.3 1.0 0.3) ( 0.5 1.0 0.5)
(-0.3 1.0 0.3) (-0.5 1.0 0.5)
); );
blocks blocks
( (
hex (0 1 2 3 4 5 6 7) (70 70 70) simpleGrading (1 1 1) hex (0 1 2 3 4 5 6 7) (60 60 60) simpleGrading (1 1 1)
); );
edges edges

View File

@ -20,26 +20,26 @@ FoamFile
base base
{ {
type patch; type patch;
nFaces 4704; nFaces 3456;
startFace 1014300; startFace 637200;
} }
outlet outlet
{ {
type patch; type patch;
nFaces 4900; nFaces 3600;
startFace 1019004; startFace 640656;
} }
sides sides
{ {
type patch; type patch;
nFaces 19600; nFaces 14400;
startFace 1023904; startFace 644256;
} }
inlet inlet
{ {
type patch; type patch;
nFaces 196; nFaces 144;
startFace 1043504; startFace 658656;
} }
) )

View File

@ -39,7 +39,7 @@ fvDOMCoeffs
// Number of flow iterations per radiation iteration // Number of flow iterations per radiation iteration
solverFreq 10; solverFreq 10;
absorptionEmissionModel constantAbsorptionEmission; absorptionEmissionModel greyMeanAbsorptionEmission;
constantAbsorptionEmissionCoeffs constantAbsorptionEmissionCoeffs
{ {

View File

@ -1 +1 @@
faceSet f0 new boxToFace (-0.06 -0.001 -0.06)(0.06 0.005 0.06) faceSet f0 new boxToFace (-0.1 -0.001 -0.1)(0.1 0.005 0.1)

View File

@ -22,13 +22,13 @@ startTime 0.0;
stopAt endTime; stopAt endTime;
endTime 10.0; endTime 6.0;
deltaT 0.001; deltaT 0.001;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 0.1; writeInterval 0.05;
purgeWrite 0; purgeWrite 0;
@ -48,7 +48,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.25; maxCo 0.2;
maxDeltaT 0.1; maxDeltaT 0.1;

View File

@ -28,14 +28,14 @@ gradSchemes
divSchemes divSchemes
{ {
default none; default none;
div(phi,U) Gauss limitedLinear 1; div(phi,U) Gauss linear;
div(phi,k) Gauss limitedLinear 1; div(phi,k) Gauss limitedLinear 0.1;
flux(phi,ft) Gauss limitedLinear01 1; flux(phi,ft) Gauss limitedLinear01 0.1;
div(phi,ft_b_h) Gauss multivariateSelection div(phi,ft_b_h) Gauss multivariateSelection
{ {
fu limitedLinear01 1; fu limitedLinear 0.1;
ft limitedLinear01 1; ft limitedLinear 0.1;
hs limitedLinear 1; hs limitedLinear 0.1;
}; };
div((muEff*dev2(T(grad(U))))) Gauss linear; div((muEff*dev2(T(grad(U))))) Gauss linear;
div(phiU,p) Gauss linear; div(phiU,p) Gauss linear;
@ -44,7 +44,7 @@ divSchemes
laplacianSchemes laplacianSchemes
{ {
default Gauss linear corrected; default Gauss linear uncorrected;
} }
interpolationSchemes interpolationSchemes
@ -54,7 +54,7 @@ interpolationSchemes
snGradSchemes snGradSchemes
{ {
default corrected; default uncorrected;
} }
fluxRequired fluxRequired

View File

@ -40,7 +40,7 @@ solvers
p_rghFinal p_rghFinal
{ {
$p_rgh; $p_rgh;
tolerance 1e-7; tolerance 1e-8;
relTol 0; relTol 0;
}; };
@ -57,7 +57,7 @@ solvers
"(U|ft|fu|k|hs)Final" "(U|ft|fu|k|hs)Final"
{ {
$U; $U;
tolerance 1e-7; tolerance 1e-8;
relTol 0; relTol 0;
}; };
@ -77,7 +77,7 @@ solvers
{ {
solver PCG; solver PCG;
preconditioner DIC; preconditioner DIC;
tolerance 1e-06; tolerance 1e-04;
relTol 0; relTol 0;
} }
@ -85,9 +85,9 @@ solvers
PISO PISO
{ {
momentumPredictor yes; momentumPredictor no;
nOuterCorrectors 1; nOuterCorrectors 1;
nCorrectors 2; nCorrectors 1;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
} }

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -17,8 +17,6 @@ FoamFile
thermoType constSolidThermo; thermoType constSolidThermo;
//thermoType isotropicKSolidThermo; //thermoType isotropicKSolidThermo;
//thermoType directionalKSolidThermo; //thermoType directionalKSolidThermo;
//thermoType solidMixtureThermo<multiComponentSolidMixture<exponentialSolidTransport<constSolidRad<exponentialSolidThermo<constRho>>>>>;
constSolidThermoCoeffs constSolidThermoCoeffs
{ {
@ -30,10 +28,10 @@ constSolidThermoCoeffs
//- radiative properties //- radiative properties
kappa kappa [0 -1 0 0 0 0 0] 0; kappa kappa [0 -1 0 0 0 0 0] 0;
sigmaS sigmaS [0 -1 0 0 0 0 0] 0; sigmaS sigmaS [0 -1 0 0 0 0 0] 0;
emissivity emissivity [0 0 0 0 0 0 0] 1; emissivity emissivity [0 0 0 0 0 0 0] 0;
//- chemical properties //- chemical properties
Hf Hf [0 2 -2 0 0 0 0] 1; Hf Hf [0 2 -2 0 0 0 0] 0;
} }
@ -52,7 +50,7 @@ isotropicKSolidThermoCoeffs
sigmaSValues (0 0); sigmaSValues (0 0);
//- chemical properties //- chemical properties
HfValues (1 1); HfValues (0 0);
} }

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
note "mesh decomposition control dictionary";
location "system"; location "system";
object decomposeParDict; object decomposeParDict;
} }
@ -19,13 +18,7 @@ FoamFile
numberOfSubdomains 4; numberOfSubdomains 4;
//- Keep owner and neighbour on same processor for faces in zones:
// preserveFaceZones (heater solid1 solid3);
method scotch; method scotch;
// method hierarchical;
// method simple;
// method manual;
simpleCoeffs simpleCoeffs
{ {
@ -42,15 +35,6 @@ hierarchicalCoeffs
scotchCoeffs scotchCoeffs
{ {
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
} }
manualCoeffs manualCoeffs
@ -58,15 +42,4 @@ manualCoeffs
dataFile "decompositionData"; dataFile "decompositionData";
} }
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* // // ************************************************************************* //

View File

@ -23,13 +23,13 @@ startTime 0.001;
stopAt endTime; stopAt endTime;
endTime 200; endTime 100;
deltaT 0.001; deltaT 0.001;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 5; writeInterval 10;
purgeWrite 0; purgeWrite 0;
@ -52,11 +52,4 @@ maxDi 10.0;
adjustTimeStep yes; adjustTimeStep yes;
libs
(
"libOpenFOAM.so"
"libcompressibleTurbulenceModel.so"
"libcompressibleRASModels.so"
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -10,22 +10,14 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
note "mesh decomposition control dictionary";
location "system"; location "system";
object decomposeParDict; object decomposeParDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4; numberOfSubdomains 4;
//- Keep owner and neighbour on same processor for faces in zones:
// preserveFaceZones (heater solid1 solid3);
method scotch; method scotch;
// method hierarchical;
// method simple;
// method manual;
simpleCoeffs simpleCoeffs
{ {
@ -42,15 +34,6 @@ hierarchicalCoeffs
scotchCoeffs scotchCoeffs
{ {
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
} }
manualCoeffs manualCoeffs
@ -58,15 +41,4 @@ manualCoeffs
dataFile "decompositionData"; dataFile "decompositionData";
} }
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* // // ************************************************************************* //

View File

@ -54,6 +54,7 @@ dictionaryReplacement
{ {
internalField uniform 0.5; internalField uniform 0.5;
boundaryField boundaryField
{ {
".*" ".*"

View File

@ -10,22 +10,14 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
note "mesh decomposition control dictionary";
location "system"; location "system";
object decomposeParDict; object decomposeParDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4; numberOfSubdomains 4;
//- Keep owner and neighbour on same processor for faces in zones:
// preserveFaceZones (heater solid1 solid3);
method scotch; method scotch;
// method hierarchical;
// method simple;
// method manual;
simpleCoeffs simpleCoeffs
{ {
@ -42,15 +34,6 @@ hierarchicalCoeffs
scotchCoeffs scotchCoeffs
{ {
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
} }
manualCoeffs manualCoeffs
@ -58,15 +41,4 @@ manualCoeffs
dataFile "decompositionData"; dataFile "decompositionData";
} }
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* // // ************************************************************************* //

View File

@ -54,6 +54,7 @@ dictionaryReplacement
{ {
internalField uniform 0.5; internalField uniform 0.5;
boundaryField boundaryField
{ {
".*" ".*"

View File

@ -10,22 +10,14 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
note "mesh decomposition control dictionary";
location "system"; location "system";
object decomposeParDict; object decomposeParDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4; numberOfSubdomains 4;
//- Keep owner and neighbour on same processor for faces in zones:
// preserveFaceZones (heater solid1 solid3);
method scotch; method scotch;
// method hierarchical;
// method simple;
// method manual;
simpleCoeffs simpleCoeffs
{ {
@ -42,15 +34,6 @@ hierarchicalCoeffs
scotchCoeffs scotchCoeffs
{ {
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
} }
manualCoeffs manualCoeffs
@ -58,15 +41,4 @@ manualCoeffs
dataFile "decompositionData"; dataFile "decompositionData";
} }
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* // // ************************************************************************* //

View File

@ -10,22 +10,14 @@ FoamFile
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary; class dictionary;
note "mesh decomposition control dictionary";
location "system"; location "system";
object decomposeParDict; object decomposeParDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 4; numberOfSubdomains 4;
//- Keep owner and neighbour on same processor for faces in zones:
// preserveFaceZones (heater solid1 solid3);
method scotch; method scotch;
// method hierarchical;
// method simple;
// method manual;
simpleCoeffs simpleCoeffs
{ {
@ -42,15 +34,6 @@ hierarchicalCoeffs
scotchCoeffs scotchCoeffs
{ {
//processorWeights
//(
// 1
// 1
// 1
// 1
//);
//writeGraph true;
//strategy "b";
} }
manualCoeffs manualCoeffs
@ -58,15 +41,4 @@ manualCoeffs
dataFile "decompositionData"; dataFile "decompositionData";
} }
//// Is the case distributed
//distributed yes;
//// Per slave (so nProcs-1 entries) the directory above the case.
//roots
//(
// "/tmp"
// "/tmp"
//);
// ************************************************************************* // // ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -52,11 +52,4 @@ maxDi 10.0;
adjustTimeStep yes; adjustTimeStep yes;
libs
(
"libOpenFOAM.so"
"libcompressibleTurbulenceModel.so"
"libcompressibleRASModels.so"
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -23,13 +23,13 @@ startTime 0.001;
stopAt endTime; stopAt endTime;
endTime 200; endTime 75;
deltaT 0.001; deltaT 0.001;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 50; writeInterval 15;
purgeWrite 0; purgeWrite 0;
@ -51,11 +51,4 @@ maxDi 10.0;
adjustTimeStep yes; adjustTimeStep yes;
libs
(
"libOpenFOAM.so"
"libcompressibleTurbulenceModel.so"
"libcompressibleRASModels.so"
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object radiationProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
radiation off;
radiationModel none;
noRadiation
{
}
// ************************************************************************* //

View File

@ -45,11 +45,4 @@ timePrecision 6;
runTimeModifiable true; runTimeModifiable true;
libs
(
"libOpenFOAM.so"
"libcompressibleTurbulenceModel.so"
"libcompressibleRASModels.so"
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -19,7 +19,7 @@ runParallel snappyHexMesh 2 -overwrite
# Add wildcard entries for meshed patches since not preserved # Add wildcard entries for meshed patches since not preserved
# by decomposePar. Notice -literalRE option to add wildcard itself # by decomposePar. Notice -literalRE option to add wildcard itself
# without evaluation. # without evaluation.
runParallel changeDictionary 2 -literalRE runParallel changeDictionary 2 -literalRE -enableFunctionEntries
cp system/decomposeParDict-4proc system/decomposeParDict cp system/decomposeParDict-4proc system/decomposeParDict
runParallel redistributeMeshPar 4 -overwrite runParallel redistributeMeshPar 4 -overwrite

View File

@ -0,0 +1,34 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel kEpsilon;
turbulence on;
printCoeffs on;
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
sigmak 1.0;
sigmaEps 1.11; //Original value:1.44
Prt 1.0;
}
// ************************************************************************* //

View File

@ -0,0 +1,71 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1;
vertices
(
( 581321 4.78537e+06 930)
( 582290 4.78537e+06 930)
( 582290 4.78624e+06 930)
( 581321 4.78624e+06 930)
( 581321 4.78537e+06 1500)
( 582290 4.78537e+06 1500)
( 582290 4.78624e+06 1500)
( 581321 4.78624e+06 1500)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (30 30 20) simpleGrading (1 1 1)
);
edges
(
);
patches
(
patch outlet
(
(2 6 5 1)
)
patch sides
(
(1 5 4 0)
(3 7 6 2)
)
patch inlet
(
(0 4 7 3)
)
wall ground
(
(0 3 2 1)
)
patch top
(
(4 5 6 7)
)
);
mergePatchPairs
(
);
// ************************************************************************* //

View File

@ -0,0 +1,58 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
outlet
{
type patch;
nFaces 922;
startFace 364825;
}
sides
{
type patch;
nFaces 1834;
startFace 365747;
}
inlet
{
type patch;
nFaces 923;
startFace 367581;
}
ground
{
type wall;
nFaces 0;
startFace 368504;
}
top
{
type patch;
nFaces 900;
startFace 368504;
}
terrain_patch0
{
type wall;
nFaces 18201;
startFace 369404;
}
)
// ************************************************************************* //

View File

@ -0,0 +1,55 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object sourcesProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
disk1
{
typeModel actuationDiskSource;
active on; //on/off switch
timeStart 0.0; //start time
duration 1000.0; //duration
selectionMode cellSet; //cellSet // points //cellZone
cellSet actuationDisk1;//cellSet name when selectionMode = cellSet
cellZone actuationDisk1;//cellZone name when selectionMode = cellZone
actuationDiskSourceCoeffs
{
diskDir (-1 0 0); // orientation of the disk
Cp 0.53; // Cp
Ct 0.58; // Ct
diskArea 40; // disk area
}
}
disk2
{
typeModel actuationDiskSource;
active on;
timeStart 0.0;
duration 1000.0;
selectionMode cellSet;
cellSet actuationDisk2;
cellZone actuationDisk2;
actuationDiskSourceCoeffs
{
diskDir (-1 0 0);
Cp 0.53;
Ct 0.58;
diskArea 40;
}
}
// ************************************************************************* //

View File

@ -0,0 +1,21 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
transportModel Newtonian;
nu nu [0 2 -1 0 0 0 0] 1.5e-05;
// ************************************************************************* //

View File

@ -14,7 +14,6 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Use absolute path to make sure it also works in parallel
#include "$FOAM_CASE/0/include/initialConditions" #include "$FOAM_CASE/0/include/initialConditions"
dictionaryReplacement dictionaryReplacement

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com | | \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -17,6 +17,13 @@ FoamFile
numberOfSubdomains 2; numberOfSubdomains 2;
method ptscotch; method hierarchical;
hierarchicalCoeffs
{
n (2 1 1);
delta 0.001;
order xyz;
}
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com | | \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/

View File

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7 | | \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.com | | \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/