mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Created simpleFoam case from the motorBike mesh tutorial.
Moved the snappyHexMesh tutorials to the appropriate solver directories and created links.
This commit is contained in:
51
tutorials/incompressible/simpleFoam/motorBike/0/U
Normal file
51
tutorials/incompressible/simpleFoam/motorBike/0/U
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volVectorField;
|
||||||
|
location "0";
|
||||||
|
object U;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
#include "initialConditions"
|
||||||
|
|
||||||
|
dimensions [0 1 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform $flowVelocity;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
#include "fixedInlet"
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
inletValue uniform (0 0 0);
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
|
||||||
|
lowerWall
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform (20 0 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
"motorBike_.*"
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
#include "frontBackUpperPatches"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
15
tutorials/incompressible/simpleFoam/motorBike/0/fixedInlet
Normal file
15
tutorials/incompressible/simpleFoam/motorBike/0/fixedInlet
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
upperWall
|
||||||
|
{
|
||||||
|
type slip;
|
||||||
|
}
|
||||||
|
|
||||||
|
frontAndBack
|
||||||
|
{
|
||||||
|
type slip;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
flowVelocity (20 0 0);
|
||||||
|
pressure 0;
|
||||||
|
turbulentKE 0.24;
|
||||||
|
turbulentOmega 1.78;
|
||||||
|
#inputMode merge
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,44 +2,24 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class volScalarField;
|
||||||
location "system";
|
object k;
|
||||||
object decomposeParDict;
|
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
numberOfSubdomains 6;
|
#include "initialConditions"
|
||||||
|
|
||||||
method hierarchical;
|
dimensions [0 2 -2 0 0 0 0];
|
||||||
|
|
||||||
simpleCoeffs
|
internalField uniform $turbulentKE;
|
||||||
{
|
|
||||||
n ( 4 1 1 );
|
|
||||||
delta 0.001;
|
|
||||||
}
|
|
||||||
|
|
||||||
hierarchicalCoeffs
|
|
||||||
{
|
|
||||||
n ( 3 2 1 );
|
|
||||||
delta 0.001;
|
|
||||||
order xyz;
|
|
||||||
}
|
|
||||||
|
|
||||||
manualCoeffs
|
|
||||||
{
|
|
||||||
dataFile "cellDecomposition";
|
|
||||||
}
|
|
||||||
|
|
||||||
metisCoeffs
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
#include "turbulentBoundaryField"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
62
tutorials/incompressible/simpleFoam/motorBike/0/nut
Normal file
62
tutorials/incompressible/simpleFoam/motorBike/0/nut
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: dev |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object nut;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 2 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
frontAndBack
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
lowerWall
|
||||||
|
{
|
||||||
|
type nutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
upperWall
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
"motorBike_.*"
|
||||||
|
{
|
||||||
|
type nutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
25
tutorials/incompressible/simpleFoam/motorBike/0/omega
Normal file
25
tutorials/incompressible/simpleFoam/motorBike/0/omega
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object epsilon;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
#include "initialConditions"
|
||||||
|
|
||||||
|
dimensions [0 0 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform $turbulentOmega;
|
||||||
|
|
||||||
|
#include "turbulentBoundaryField"
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
49
tutorials/incompressible/simpleFoam/motorBike/0/p
Normal file
49
tutorials/incompressible/simpleFoam/motorBike/0/p
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object p;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
#include "initialConditions"
|
||||||
|
|
||||||
|
dimensions [0 2 -2 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform $pressure;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
|
||||||
|
lowerWall
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
"motorBike_.*"
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
#include "frontBackUpperPatches"
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
#include "fixedInlet"
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
inletValue $internalField;
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
|
||||||
|
lowerWall
|
||||||
|
{
|
||||||
|
type kQRWallFunction;
|
||||||
|
}
|
||||||
|
|
||||||
|
"motorBike_.*"
|
||||||
|
{
|
||||||
|
type kQRWallFunction;
|
||||||
|
}
|
||||||
|
|
||||||
|
#include "frontBackUpperPatches"
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
8
tutorials/incompressible/simpleFoam/motorBike/Allrun
Executable file
8
tutorials/incompressible/simpleFoam/motorBike/Allrun
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Source tutorial run functions
|
||||||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
runApplication blockMesh
|
||||||
|
runApplication snappyHexMesh -overwrite
|
||||||
|
runApplication simpleFoam
|
||||||
|
|
||||||
@ -0,0 +1,200 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object RASProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
RASModel kOmegaSST;
|
||||||
|
|
||||||
|
turbulence on;
|
||||||
|
|
||||||
|
printCoeffs on;
|
||||||
|
|
||||||
|
laminarCoeffs
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
kEpsilonCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
RNGkEpsilonCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.0845;
|
||||||
|
C1 1.42;
|
||||||
|
C2 1.68;
|
||||||
|
alphak 1.39;
|
||||||
|
alphaEps 1.39;
|
||||||
|
eta0 4.38;
|
||||||
|
beta 0.012;
|
||||||
|
}
|
||||||
|
|
||||||
|
realizableKECoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
A0 4.0;
|
||||||
|
C2 1.9;
|
||||||
|
alphak 1;
|
||||||
|
alphaEps 0.833333;
|
||||||
|
}
|
||||||
|
|
||||||
|
kOmegaSSTCoeffs
|
||||||
|
{
|
||||||
|
alphaK1 0.85034;
|
||||||
|
alphaK2 1.0;
|
||||||
|
alphaOmega1 0.5;
|
||||||
|
alphaOmega2 0.85616;
|
||||||
|
gamma1 0.5532;
|
||||||
|
gamma2 0.4403;
|
||||||
|
beta1 0.0750;
|
||||||
|
beta2 0.0828;
|
||||||
|
betaStar 0.09;
|
||||||
|
a1 0.31;
|
||||||
|
c1 10;
|
||||||
|
|
||||||
|
Cmu 0.09;
|
||||||
|
}
|
||||||
|
|
||||||
|
NonlinearKEShihCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphak 1;
|
||||||
|
alphaEps 0.76932;
|
||||||
|
A1 1.25;
|
||||||
|
A2 1000;
|
||||||
|
Ctau1 -4;
|
||||||
|
Ctau2 13;
|
||||||
|
Ctau3 -2;
|
||||||
|
alphaKsi 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienCubicKECoeffs
|
||||||
|
{
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphak 1;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
A1 1.25;
|
||||||
|
A2 1000;
|
||||||
|
Ctau1 -4;
|
||||||
|
Ctau2 13;
|
||||||
|
Ctau3 -2;
|
||||||
|
alphaKsi 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
QZetaCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphaZeta 0.76923;
|
||||||
|
anisotropic no;
|
||||||
|
}
|
||||||
|
|
||||||
|
LaunderSharmaKECoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LamBremhorstKECoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienCubicKELowReCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphak 1;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
A1 1.25;
|
||||||
|
A2 1000;
|
||||||
|
Ctau1 -4;
|
||||||
|
Ctau2 13;
|
||||||
|
Ctau3 -2;
|
||||||
|
alphaKsi 0.9;
|
||||||
|
Am 0.016;
|
||||||
|
Aepsilon 0.263;
|
||||||
|
Amu 0.00222;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienLeschzinerLowReCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
alphak 1;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
Am 0.016;
|
||||||
|
Aepsilon 0.263;
|
||||||
|
Amu 0.00222;
|
||||||
|
}
|
||||||
|
|
||||||
|
LRRCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
Clrr1 1.8;
|
||||||
|
Clrr2 0.6;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
Cs 0.25;
|
||||||
|
Ceps 0.15;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LaunderGibsonRSTMCoeffs
|
||||||
|
{
|
||||||
|
Cmu 0.09;
|
||||||
|
Clg1 1.8;
|
||||||
|
Clg2 0.6;
|
||||||
|
C1 1.44;
|
||||||
|
C2 1.92;
|
||||||
|
C1Ref 0.5;
|
||||||
|
C2Ref 0.3;
|
||||||
|
Cs 0.25;
|
||||||
|
Ceps 0.15;
|
||||||
|
alphaEps 0.76923;
|
||||||
|
alphaR 1.22;
|
||||||
|
}
|
||||||
|
|
||||||
|
SpalartAllmarasCoeffs
|
||||||
|
{
|
||||||
|
alphaNut 1.5;
|
||||||
|
Cb1 0.1355;
|
||||||
|
Cb2 0.622;
|
||||||
|
Cw2 0.3;
|
||||||
|
Cw3 2;
|
||||||
|
Cv1 7.1;
|
||||||
|
Cv2 5.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
wallFunctionCoeffs
|
||||||
|
{
|
||||||
|
kappa 0.4187;
|
||||||
|
E 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -1,37 +1,45 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.0 |
|
||||||
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.openfoam.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
|
||||||
object blockMeshDict;
|
root "";
|
||||||
|
case "";
|
||||||
|
instance "";
|
||||||
|
local "";
|
||||||
|
|
||||||
|
class dictionary;
|
||||||
|
object blockMeshDict;
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
convertToMeters 1;
|
convertToMeters 1;
|
||||||
|
|
||||||
vertices
|
vertices
|
||||||
(
|
(
|
||||||
(-20.29 -10 -4.232e-05)
|
(-5 -4 0)
|
||||||
( 41.71 -10 -4.232e-05)
|
(15 -4 0)
|
||||||
( 41.71 10 -4.232e-05)
|
(15 4 0)
|
||||||
(-20.29 10 -4.232e-05)
|
(-5 4 0)
|
||||||
(-20.29 -10 20)
|
(-5 -4 8)
|
||||||
( 41.71 -10 20)
|
(15 -4 8)
|
||||||
( 41.71 10 20)
|
(15 4 8)
|
||||||
(-20.29 10 20)
|
(-5 4 8)
|
||||||
);
|
);
|
||||||
|
|
||||||
blocks
|
blocks
|
||||||
(
|
(
|
||||||
hex (0 1 2 3 4 5 6 7) (60 20 20) simpleGrading (1 1 1)
|
hex (0 1 2 3 4 5 6 7) (20 8 8) simpleGrading (1 1 1)
|
||||||
);
|
);
|
||||||
|
|
||||||
edges
|
edges
|
||||||
@ -40,35 +48,27 @@ edges
|
|||||||
|
|
||||||
patches
|
patches
|
||||||
(
|
(
|
||||||
patch maxY
|
patch frontAndBack
|
||||||
(
|
(
|
||||||
(3 7 6 2)
|
(3 7 6 2)
|
||||||
|
(1 5 4 0)
|
||||||
)
|
)
|
||||||
patch minX
|
patch inlet
|
||||||
(
|
(
|
||||||
(0 4 7 3)
|
(0 4 7 3)
|
||||||
)
|
)
|
||||||
patch maxX
|
patch outlet
|
||||||
(
|
(
|
||||||
(2 6 5 1)
|
(2 6 5 1)
|
||||||
)
|
)
|
||||||
patch minY
|
wall lowerWall
|
||||||
(
|
|
||||||
(1 5 4 0)
|
|
||||||
)
|
|
||||||
patch minZ
|
|
||||||
(
|
(
|
||||||
(0 3 2 1)
|
(0 3 2 1)
|
||||||
)
|
)
|
||||||
patch maxZ
|
patch upperWall
|
||||||
(
|
(
|
||||||
(4 5 6 7)
|
(4 5 6 7)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
mergePatchPairs
|
|
||||||
(
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,454 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: dev |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class polyBoundaryMesh;
|
||||||
|
location "constant/polyMesh";
|
||||||
|
object boundary;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
72
|
||||||
|
(
|
||||||
|
frontAndBack
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
nFaces 320;
|
||||||
|
startFace 955219;
|
||||||
|
}
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
nFaces 64;
|
||||||
|
startFace 955539;
|
||||||
|
}
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
nFaces 64;
|
||||||
|
startFace 955603;
|
||||||
|
}
|
||||||
|
lowerWall
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 5330;
|
||||||
|
startFace 955667;
|
||||||
|
}
|
||||||
|
upperWall
|
||||||
|
{
|
||||||
|
type patch;
|
||||||
|
nFaces 160;
|
||||||
|
startFace 960997;
|
||||||
|
}
|
||||||
|
motorBike_frt-fairing:001%1
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 9726;
|
||||||
|
startFace 961157;
|
||||||
|
}
|
||||||
|
motorBike_windshield:002%2
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 86;
|
||||||
|
startFace 970883;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:005%5
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 186;
|
||||||
|
startFace 970969;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:010%10
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 355;
|
||||||
|
startFace 971155;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-rim:011%11
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 594;
|
||||||
|
startFace 971510;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk:012%12
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 55;
|
||||||
|
startFace 972104;
|
||||||
|
}
|
||||||
|
motorBike_frame:016-shadow%13
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 163;
|
||||||
|
startFace 972159;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp:014%14
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1300;
|
||||||
|
startFace 972322;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp:014-shadow%15
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 166;
|
||||||
|
startFace 973622;
|
||||||
|
}
|
||||||
|
motorBike_frame:016%16
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 21;
|
||||||
|
startFace 973788;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:005-shadow%17
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 25;
|
||||||
|
startFace 973809;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub:022%22
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 161;
|
||||||
|
startFace 973834;
|
||||||
|
}
|
||||||
|
motorBike_rearseat%24
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 543;
|
||||||
|
startFace 973995;
|
||||||
|
}
|
||||||
|
motorBike_frt-fairing%25
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 927;
|
||||||
|
startFace 974538;
|
||||||
|
}
|
||||||
|
motorBike_windshield%26
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 821;
|
||||||
|
startFace 975465;
|
||||||
|
}
|
||||||
|
motorBike_headlights%27
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 280;
|
||||||
|
startFace 976286;
|
||||||
|
}
|
||||||
|
motorBike_driversseat%28
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 457;
|
||||||
|
startFace 976566;
|
||||||
|
}
|
||||||
|
motorBike_rear-body%29
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 3081;
|
||||||
|
startFace 977023;
|
||||||
|
}
|
||||||
|
motorBike_fuel-tank%30
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1512;
|
||||||
|
startFace 980104;
|
||||||
|
}
|
||||||
|
motorBike_exhaust%31
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 3516;
|
||||||
|
startFace 981616;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim%32
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 2128;
|
||||||
|
startFace 985132;
|
||||||
|
}
|
||||||
|
motorBike_fr-mud-guard%33
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1096;
|
||||||
|
startFace 987260;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-rim%34
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 954;
|
||||||
|
startFace 988356;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk%35
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 533;
|
||||||
|
startFace 989310;
|
||||||
|
}
|
||||||
|
motorBike_fr-brake-caliper%36
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 199;
|
||||||
|
startFace 989843;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-tyre%37
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1855;
|
||||||
|
startFace 990042;
|
||||||
|
}
|
||||||
|
motorBike_hbars%38
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 745;
|
||||||
|
startFace 991897;
|
||||||
|
}
|
||||||
|
motorBike_fr-forks%39
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1637;
|
||||||
|
startFace 992642;
|
||||||
|
}
|
||||||
|
motorBike_chain%40
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 484;
|
||||||
|
startFace 994279;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-tyre%41
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 3022;
|
||||||
|
startFace 994763;
|
||||||
|
}
|
||||||
|
motorBike_square-dial%42
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 9;
|
||||||
|
startFace 997785;
|
||||||
|
}
|
||||||
|
motorBike_round-dial%43
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 24;
|
||||||
|
startFace 997794;
|
||||||
|
}
|
||||||
|
motorBike_dial-holder%44
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 120;
|
||||||
|
startFace 997818;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp%45
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 2050;
|
||||||
|
startFace 997938;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-lights%46
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 75;
|
||||||
|
startFace 999988;
|
||||||
|
}
|
||||||
|
motorBike_rear-light-bracket%47
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 226;
|
||||||
|
startFace 1000063;
|
||||||
|
}
|
||||||
|
motorBike_frame%48
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 2849;
|
||||||
|
startFace 1000289;
|
||||||
|
}
|
||||||
|
motorBike_rear-mud-guard%49
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1177;
|
||||||
|
startFace 1003138;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp-spring-damp%50
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 138;
|
||||||
|
startFace 1004315;
|
||||||
|
}
|
||||||
|
motorBike_fairing-inner-plate%51
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 551;
|
||||||
|
startFace 1004453;
|
||||||
|
}
|
||||||
|
motorBike_clutch-housing%52
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1199;
|
||||||
|
startFace 1005004;
|
||||||
|
}
|
||||||
|
motorBike_radiator%53
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 51;
|
||||||
|
startFace 1006203;
|
||||||
|
}
|
||||||
|
motorBike_water-pipe%54
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 112;
|
||||||
|
startFace 1006254;
|
||||||
|
}
|
||||||
|
motorBike_water-pump%55
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 96;
|
||||||
|
startFace 1006366;
|
||||||
|
}
|
||||||
|
motorBike_engine%56
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 2963;
|
||||||
|
startFace 1006462;
|
||||||
|
}
|
||||||
|
motorBike_rear-shock-link%57
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 33;
|
||||||
|
startFace 1009425;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot-bracket%58
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 63;
|
||||||
|
startFace 1009458;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot%59
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 59;
|
||||||
|
startFace 1009521;
|
||||||
|
}
|
||||||
|
motorBike_footpeg%60
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 103;
|
||||||
|
startFace 1009580;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub%61
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 160;
|
||||||
|
startFace 1009683;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-caliper%62
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 158;
|
||||||
|
startFace 1009843;
|
||||||
|
}
|
||||||
|
motorBike_rider-helmet%65
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 964;
|
||||||
|
startFace 1010001;
|
||||||
|
}
|
||||||
|
motorBike_rider-visor%66
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 170;
|
||||||
|
startFace 1010965;
|
||||||
|
}
|
||||||
|
motorBike_rider-boots%67
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1657;
|
||||||
|
startFace 1011135;
|
||||||
|
}
|
||||||
|
motorBike_rider-gloves%68
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 436;
|
||||||
|
startFace 1012792;
|
||||||
|
}
|
||||||
|
motorBike_rider-body%69
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 7207;
|
||||||
|
startFace 1013228;
|
||||||
|
}
|
||||||
|
motorBike_frame:0%70
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 52;
|
||||||
|
startFace 1020435;
|
||||||
|
}
|
||||||
|
motorBike_frt-fairing:001-shadow%74
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 1340;
|
||||||
|
startFace 1020487;
|
||||||
|
}
|
||||||
|
motorBike_windshield-shadow%75
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 111;
|
||||||
|
startFace 1021827;
|
||||||
|
}
|
||||||
|
motorBike_fr-mud-guard-shadow%81
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 135;
|
||||||
|
startFace 1021938;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk-shadow%83
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 77;
|
||||||
|
startFace 1022073;
|
||||||
|
}
|
||||||
|
motorBike_rear-mud-guard-shadow%84
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 143;
|
||||||
|
startFace 1022150;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp-spring-damp-shadow%85
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 15;
|
||||||
|
startFace 1022293;
|
||||||
|
}
|
||||||
|
motorBike_radiator-shadow%86
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 12;
|
||||||
|
startFace 1022308;
|
||||||
|
}
|
||||||
|
motorBike_rear-shock-link-shadow%87
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 7;
|
||||||
|
startFace 1022320;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot-bracket-shadow%88
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 6;
|
||||||
|
startFace 1022327;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub-shadow%89
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
nFaces 24;
|
||||||
|
startFace 1022333;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,21 +10,12 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
object transportProperties;
|
||||||
object fvSolution;
|
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
solvers
|
transportModel Newtonian;
|
||||||
{}
|
|
||||||
|
|
||||||
PISO
|
|
||||||
{
|
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 0;
|
|
||||||
pRefCell 0;
|
|
||||||
pRefValue 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
nu nu [0 2 -1 0 0 0 0] 1.5e-05;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,174 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
location "constant";
|
||||||
|
object turbulenceProperties;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
turbulenceModel SpalartAllmaras;
|
||||||
|
|
||||||
|
turbulence on;
|
||||||
|
|
||||||
|
laminarCoeffs
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
kEpsilonCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
RNGkEpsilonCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.0845;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.42;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.68;
|
||||||
|
alphak alphaK [ 0 0 0 0 0 0 0 ] 1.39;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 1.39;
|
||||||
|
eta0 eta0 [ 0 0 0 0 0 0 0 ] 4.38;
|
||||||
|
beta beta [ 0 0 0 0 0 0 0 ] 0.012;
|
||||||
|
}
|
||||||
|
|
||||||
|
NonlinearKEShihCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphak alphak [ 0 0 0 0 0 0 0 ] 1;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76932;
|
||||||
|
A1 A1 [ 0 0 0 0 0 0 0 ] 1.25;
|
||||||
|
A2 A2 [ 0 0 0 0 0 0 0 ] 1000;
|
||||||
|
Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4;
|
||||||
|
Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13;
|
||||||
|
Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2;
|
||||||
|
alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienCubicKECoeffs
|
||||||
|
{
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphak alphak [ 0 0 0 0 0 0 0 ] 1;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
A1 A1 [ 0 0 0 0 0 0 0 ] 1.25;
|
||||||
|
A2 A2 [ 0 0 0 0 0 0 0 ] 1000;
|
||||||
|
Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4;
|
||||||
|
Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13;
|
||||||
|
Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2;
|
||||||
|
alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9;
|
||||||
|
}
|
||||||
|
|
||||||
|
QZetaCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphaZeta alphaZeta [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
anisotropic no;
|
||||||
|
}
|
||||||
|
|
||||||
|
LaunderSharmaKECoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LamBremhorstKECoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienCubicKELowReCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphak alphak [ 0 0 0 0 0 0 0 ] 1;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
A1 A1 [ 0 0 0 0 0 0 0 ] 1.25;
|
||||||
|
A2 A2 [ 0 0 0 0 0 0 0 ] 1000;
|
||||||
|
Ctau1 Ctau1 [ 0 0 0 0 0 0 0 ] -4;
|
||||||
|
Ctau2 Ctau2 [ 0 0 0 0 0 0 0 ] 13;
|
||||||
|
Ctau3 Ctau3 [ 0 0 0 0 0 0 0 ] -2;
|
||||||
|
alphaKsi alphaKsi [ 0 0 0 0 0 0 0 ] 0.9;
|
||||||
|
Am Am [ 0 0 0 0 0 0 0 ] 0.016;
|
||||||
|
Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263;
|
||||||
|
Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222;
|
||||||
|
}
|
||||||
|
|
||||||
|
LienLeschzinerLowReCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
alphak alphak [ 0 0 0 0 0 0 0 ] 1;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
Am Am [ 0 0 0 0 0 0 0 ] 0.016;
|
||||||
|
Aepsilon Aepsilon [ 0 0 0 0 0 0 0 ] 0.263;
|
||||||
|
Amu Amu [ 0 0 0 0 0 0 0 ] 0.00222;
|
||||||
|
}
|
||||||
|
|
||||||
|
LRRCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
Clrr1 Clrr1 [ 0 0 0 0 0 0 0 ] 1.8;
|
||||||
|
Clrr2 Clrr2 [ 0 0 0 0 0 0 0 ] 0.6;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
Cs Cs [ 0 0 0 0 0 0 0 ] 0.25;
|
||||||
|
Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
}
|
||||||
|
|
||||||
|
LaunderGibsonRSTMCoeffs
|
||||||
|
{
|
||||||
|
Cmu Cmu [ 0 0 0 0 0 0 0 ] 0.09;
|
||||||
|
Clg1 Clg1 [ 0 0 0 0 0 0 0 ] 1.8;
|
||||||
|
Clg2 Clg2 [ 0 0 0 0 0 0 0 ] 0.6;
|
||||||
|
C1 C1 [ 0 0 0 0 0 0 0 ] 1.44;
|
||||||
|
C2 C2 [ 0 0 0 0 0 0 0 ] 1.92;
|
||||||
|
C1Ref C1Ref [ 0 0 0 0 0 0 0 ] 0.5;
|
||||||
|
C2Ref C2Ref [ 0 0 0 0 0 0 0 ] 0.3;
|
||||||
|
Cs Cs [ 0 0 0 0 0 0 0 ] 0.25;
|
||||||
|
Ceps Ceps [ 0 0 0 0 0 0 0 ] 0.15;
|
||||||
|
alphaEps alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
|
||||||
|
alphaR alphaR [ 0 0 0 0 0 0 0 ] 1.22;
|
||||||
|
}
|
||||||
|
|
||||||
|
SpalartAllmarasCoeffs
|
||||||
|
{
|
||||||
|
alphaNut alphaNut [ 0 0 0 0 0 0 0 ] 1.5;
|
||||||
|
Cb1 Cb1 [ 0 0 0 0 0 0 0 ] 0.1355;
|
||||||
|
Cb2 Cb2 [ 0 0 0 0 0 0 0 ] 0.622;
|
||||||
|
Cw2 Cw2 [ 0 0 0 0 0 0 0 ] 0.3;
|
||||||
|
Cw3 Cw3 [ 0 0 0 0 0 0 0 ] 2;
|
||||||
|
Cv1 Cv1 [ 0 0 0 0 0 0 0 ] 7.1;
|
||||||
|
Cv2 Cv2 [ 0 0 0 0 0 0 0 ] 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
wallFunctionCoeffs
|
||||||
|
{
|
||||||
|
kappa kappa [ 0 0 0 0 0 0 0 ] 0.4187;
|
||||||
|
E E [ 0 0 0 0 0 0 0 ] 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,32 +10,33 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
application simpleFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
stopAt endTime;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 100;
|
endTime 500;
|
||||||
|
|
||||||
deltaT 1;
|
deltaT 1;
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
|
|
||||||
writeInterval 1;
|
writeInterval 100;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
writeFormat ascii;
|
writeFormat ascii;
|
||||||
|
|
||||||
writePrecision 7;
|
writePrecision 6;
|
||||||
|
|
||||||
writeCompression uncompressed;
|
writeCompression compressed;
|
||||||
|
|
||||||
timeFormat general;
|
timeFormat general;
|
||||||
|
|
||||||
@ -43,5 +44,4 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,65 @@
|
|||||||
|
// The FOAM Project // File: decomposeParDict
|
||||||
|
/*
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
========= | dictionary
|
||||||
|
\\ / |
|
||||||
|
\\ / | Name: decomposeParDict
|
||||||
|
\\ / | Family: FoamX configuration file
|
||||||
|
\\/ |
|
||||||
|
F ield | FOAM version: 2.1
|
||||||
|
O peration | Product of Nabla Ltd.
|
||||||
|
A and |
|
||||||
|
M anipulation | Email: Enquiries@Nabla.co.uk
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
// FoamX Case Dictionary.
|
||||||
|
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
|
||||||
|
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam";
|
||||||
|
case "cavity";
|
||||||
|
instance "system";
|
||||||
|
local "";
|
||||||
|
|
||||||
|
class dictionary;
|
||||||
|
object decomposeParDict;
|
||||||
|
}
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
|
numberOfSubdomains 6;
|
||||||
|
|
||||||
|
method hierarchical;
|
||||||
|
//method metis;
|
||||||
|
//method parMetis;
|
||||||
|
|
||||||
|
simpleCoeffs
|
||||||
|
{
|
||||||
|
n (4 1 1);
|
||||||
|
delta 0.001;
|
||||||
|
}
|
||||||
|
|
||||||
|
hierarchicalCoeffs
|
||||||
|
{
|
||||||
|
n (3 2 1);
|
||||||
|
delta 0.001;
|
||||||
|
order xyz;
|
||||||
|
}
|
||||||
|
|
||||||
|
manualCoeffs
|
||||||
|
{
|
||||||
|
dataFile "cellDecomposition";
|
||||||
|
}
|
||||||
|
|
||||||
|
metisCoeffs
|
||||||
|
{
|
||||||
|
//n (5 1 1);
|
||||||
|
//cellWeightsFile "constant/cellWeightsFile";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.5 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
@ -10,40 +10,43 @@ FoamFile
|
|||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
class dictionary;
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
object fvSchemes;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
ddtSchemes
|
ddtSchemes
|
||||||
{
|
{
|
||||||
default Euler;
|
default steadyState;
|
||||||
}
|
}
|
||||||
|
|
||||||
gradSchemes
|
gradSchemes
|
||||||
{
|
{
|
||||||
default Gauss linear;
|
default Gauss linear;
|
||||||
grad(p) Gauss linear;
|
grad(p) Gauss linear;
|
||||||
|
grad(U) Gauss linear;
|
||||||
|
// grad(U) cellLimited Gauss linear 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss linear;
|
div(phi,U) Gauss linearUpwindV Gauss linear;
|
||||||
|
div(phi,k) Gauss upwind;
|
||||||
|
div(phi,omega) Gauss upwind;
|
||||||
|
div((nuEff*dev(grad(U).T()))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default Gauss linear corrected;
|
||||||
laplacian(nu,U) Gauss linear corrected;
|
// default Gauss linear limited 0.5;
|
||||||
laplacian(1|A(U),p) Gauss linear corrected;
|
// default Gauss linear limited 0.333;
|
||||||
laplacian(diffusivity,cellMotionU) Gauss linear uncorrected;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interpolationSchemes
|
interpolationSchemes
|
||||||
{
|
{
|
||||||
default linear;
|
default linear;
|
||||||
interpolate(HbyA) linear;
|
interpolate(U) linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
snGradSchemes
|
snGradSchemes
|
||||||
@ -54,8 +57,7 @@ snGradSchemes
|
|||||||
fluxRequired
|
fluxRequired
|
||||||
{
|
{
|
||||||
default no;
|
default no;
|
||||||
p ;
|
p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -0,0 +1,74 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.5 |
|
||||||
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class dictionary;
|
||||||
|
object fvSolution;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
solvers
|
||||||
|
{
|
||||||
|
p
|
||||||
|
{
|
||||||
|
solver GAMG;
|
||||||
|
tolerance 1e-7;
|
||||||
|
relTol 0.1;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
nPreSweeps 0;
|
||||||
|
nPostSweeps 2;
|
||||||
|
cacheAgglomeration on;
|
||||||
|
agglomerator faceAreaPair;
|
||||||
|
nCellsInCoarsestLevel 10;
|
||||||
|
mergeLevels 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
U
|
||||||
|
{
|
||||||
|
solver smoothSolver;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
tolerance 1e-8;
|
||||||
|
relTol 0.1;
|
||||||
|
nSweeps 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
k
|
||||||
|
{
|
||||||
|
solver smoothSolver;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
tolerance 1e-8;
|
||||||
|
relTol 0.1;
|
||||||
|
nSweeps 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
omega
|
||||||
|
{
|
||||||
|
solver smoothSolver;
|
||||||
|
smoother GaussSeidel;
|
||||||
|
tolerance 1e-8;
|
||||||
|
relTol 0.1;
|
||||||
|
nSweeps 1;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
SIMPLE
|
||||||
|
{
|
||||||
|
nNonOrthogonalCorrectors 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
p 0.3;
|
||||||
|
U 0.7;
|
||||||
|
k 0.7;
|
||||||
|
omega 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -1,17 +1,23 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: 1.5 |
|
| \\ / O peration | Version: 1.0 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: http://www.openfoam.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class dictionary;
|
|
||||||
location "system";
|
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam";
|
||||||
object snappyHexMeshDict;
|
case "cavity";
|
||||||
|
instance "system";
|
||||||
|
local "";
|
||||||
|
|
||||||
|
class dictionary;
|
||||||
|
object autoHexMeshDict;
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -32,17 +38,18 @@ geometry
|
|||||||
{
|
{
|
||||||
motorBike.stl
|
motorBike.stl
|
||||||
{
|
{
|
||||||
type triSurfaceMesh;
|
type triSurfaceMesh;
|
||||||
name motorBike;
|
name motorBike;
|
||||||
}
|
}
|
||||||
|
|
||||||
refinementBox
|
refinementBox
|
||||||
{
|
{
|
||||||
type searchableBox;
|
type searchableBox;
|
||||||
min ( -0.3 -0.4 -0.1 );
|
min (-1.0 -0.7 0.0);
|
||||||
max ( 3 0.4 1.4 );
|
max ( 8.0 0.7 2.5);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Settings for the castellatedMesh generation.
|
// Settings for the castellatedMesh generation.
|
||||||
@ -55,15 +62,14 @@ castellatedMeshControls
|
|||||||
// While refining maximum number of cells per processor. This is basically
|
// While refining maximum number of cells per processor. This is basically
|
||||||
// the number of cells that fit on a processor. If you choose this too small
|
// the number of cells that fit on a processor. If you choose this too small
|
||||||
// it will do just more refinement iterations to obtain a similar mesh.
|
// it will do just more refinement iterations to obtain a similar mesh.
|
||||||
maxLocalCells 1000000;
|
maxLocalCells 1000000;
|
||||||
|
|
||||||
|
|
||||||
// Overall cell limit (approximately). Refinement will stop immediately
|
// Overall cell limit (approximately). Refinement will stop immediately
|
||||||
// upon reaching this number so a refinement level might not complete.
|
// upon reaching this number so a refinement level might not complete.
|
||||||
// Note that this is the number of cells before removing the part which
|
// Note that this is the number of cells before removing the part which
|
||||||
// is not 'visible' from the keepPoint. The final number of cells might
|
// is not 'visible' from the keepPoint. The final number of cells might
|
||||||
// actually be a lot less.
|
// actually be a lot less.
|
||||||
maxGlobalCells 2000000;
|
maxGlobalCells 2000000;
|
||||||
|
|
||||||
// The surface refinement loop might spend lots of iterations refining just a
|
// The surface refinement loop might spend lots of iterations refining just a
|
||||||
// few cells. This setting will cause refinement to stop if <= minimumRefine
|
// few cells. This setting will cause refinement to stop if <= minimumRefine
|
||||||
@ -74,7 +80,7 @@ castellatedMeshControls
|
|||||||
// Number of buffer layers between different levels.
|
// Number of buffer layers between different levels.
|
||||||
// 1 means normal 2:1 refinement restriction, larger means slower
|
// 1 means normal 2:1 refinement restriction, larger means slower
|
||||||
// refinement.
|
// refinement.
|
||||||
nCellsBetweenLevels 2;
|
nCellsBetweenLevels 3;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -107,7 +113,7 @@ castellatedMeshControls
|
|||||||
motorBike
|
motorBike
|
||||||
{
|
{
|
||||||
// Surface-wise min and max refinement level
|
// Surface-wise min and max refinement level
|
||||||
level ( 5 6 );
|
level (5 6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,17 +133,17 @@ castellatedMeshControls
|
|||||||
// cells inside the surface get refined up to the level. The surface
|
// cells inside the surface get refined up to the level. The surface
|
||||||
// needs to be closed for this to be possible.
|
// needs to be closed for this to be possible.
|
||||||
// - outside. Same but cells outside.
|
// - outside. Same but cells outside.
|
||||||
|
|
||||||
refinementRegions
|
refinementRegions
|
||||||
{
|
{
|
||||||
refinementBox
|
refinementBox
|
||||||
{
|
{
|
||||||
mode inside;
|
mode inside;
|
||||||
levels ( ( 1e+15 4 ) );
|
levels ((1E15 4));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Mesh selection
|
// Mesh selection
|
||||||
// ~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@ -146,16 +152,17 @@ castellatedMeshControls
|
|||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the locationInMesh is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh ( 3 3 0.43 );
|
locationInMesh (3 3 0.43);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Settings for the snapping.
|
// Settings for the snapping.
|
||||||
snapControls
|
snapControls
|
||||||
{
|
{
|
||||||
//- Number of patch smoothing iterations before finding correspondence
|
//- Number of patch smoothing iterations before finding correspondence
|
||||||
// to surface
|
// to surface
|
||||||
nSmoothPatch 3;
|
nSmoothPatch 3;
|
||||||
|
|
||||||
//- Relative distance for points to be attracted by surface feature point
|
//- Relative distance for points to be attracted by surface feature point
|
||||||
// or edge. True distance is this factor times local
|
// or edge. True distance is this factor times local
|
||||||
@ -163,14 +170,15 @@ snapControls
|
|||||||
tolerance 4.0;
|
tolerance 4.0;
|
||||||
|
|
||||||
//- Number of mesh displacement relaxation iterations.
|
//- Number of mesh displacement relaxation iterations.
|
||||||
nSolveIter 30;
|
nSolveIter 30;
|
||||||
|
|
||||||
//- Maximum number of snapping relaxation iterations. Should stop
|
//- Maximum number of snapping relaxation iterations. Should stop
|
||||||
// before upon reaching a correct mesh.
|
// before upon reaching a correct mesh.
|
||||||
nRelaxIter 5;
|
nRelaxIter 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Settings for the layer addition.
|
// Settings for the layer addition.
|
||||||
addLayersControls
|
addLayersControls
|
||||||
{
|
{
|
||||||
@ -179,12 +187,275 @@ addLayersControls
|
|||||||
{
|
{
|
||||||
minZ
|
minZ
|
||||||
{
|
{
|
||||||
nSurfaceLayers 1;
|
nSurfaceLayers 1;
|
||||||
}
|
}
|
||||||
|
motorBike_frt-fairing:001%1
|
||||||
"motorBike_.*"
|
|
||||||
{
|
{
|
||||||
nSurfaceLayers 1;
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_windshield:002%2
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:005%5
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:010%10
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-rim:011%11
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk:012%12
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frame:016-shadow%13
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp:014%14
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp:014-shadow%15
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frame:016%16
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim:005-shadow%17
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub:022%22
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rearseat%24
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frt-fairing%25
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_windshield%26
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_headlights%27
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_driversseat%28
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-body%29
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fuel-tank%30
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_exhaust%31
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-rim%32
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-mud-guard%33
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-rim%34
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk%35
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-brake-caliper%36
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-tyre%37
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_hbars%38
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-forks%39
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_chain%40
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-tyre%41
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_square-dial%42
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_round-dial%43
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_dial-holder%44
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp%45
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-lights%46
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-light-bracket%47
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frame%48
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-mud-guard%49
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp-spring-damp%50
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fairing-inner-plate%51
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_clutch-housing%52
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_radiator%53
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_water-pipe%54
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_water-pump%55
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_engine%56
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-shock-link%57
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot-bracket%58
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot%59
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_footpeg%60
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub%61
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-caliper%62
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rider-helmet%65
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rider-visor%66
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rider-boots%67
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rider-gloves%68
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rider-body%69
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frame:0%70
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_frt-fairing:001-shadow%74
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_windshield-shadow%75
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-mud-guard-shadow%81
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_fr-wh-brake-disk-shadow%83
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-mud-guard-shadow%84
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-susp-spring-damp-shadow%85
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_radiator-shadow%86
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-shock-link-shadow%87
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rear-brake-fluid-pot-bracket-shadow%88
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
|
}
|
||||||
|
motorBike_rr-wh-chain-hub-shadow%89
|
||||||
|
{
|
||||||
|
nSurfaceLayers 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -200,29 +471,29 @@ addLayersControls
|
|||||||
//- Minimum thickness of cell layer. If for any reason layer
|
//- Minimum thickness of cell layer. If for any reason layer
|
||||||
// cannot be above minThickness do not add layer.
|
// cannot be above minThickness do not add layer.
|
||||||
// Relative to undistorted size of cell outside layer.
|
// Relative to undistorted size of cell outside layer.
|
||||||
minThickness 0.1;
|
minThickness 0.1;
|
||||||
|
|
||||||
//- If points get not extruded do nGrow layers of connected faces that are
|
//- If points get not extruded do nGrow layers of connected faces that are
|
||||||
// also not grown. This helps convergence of the layer addition process
|
// also not grown. This helps convergence of the layer addition process
|
||||||
// close to features.
|
// close to features.
|
||||||
nGrow 1;
|
nGrow 1;
|
||||||
|
|
||||||
|
|
||||||
// Advanced settings
|
// Advanced settings
|
||||||
|
|
||||||
//- When not to extrude surface. 0 is flat surface, 90 is when two faces
|
//- When not to extrude surface. 0 is flat surface, 90 is when two faces
|
||||||
// make straight angle.
|
// make straight angle.
|
||||||
featureAngle 30;
|
featureAngle 30;
|
||||||
|
|
||||||
//- Maximum number of snapping relaxation iterations. Should stop
|
//- Maximum number of snapping relaxation iterations. Should stop
|
||||||
// before upon reaching a correct mesh.
|
// before upon reaching a correct mesh.
|
||||||
nRelaxIter 3;
|
nRelaxIter 3;
|
||||||
|
|
||||||
// Number of smoothing iterations of surface normals
|
// Number of smoothing iterations of surface normals
|
||||||
nSmoothSurfaceNormals 1;
|
nSmoothSurfaceNormals 1;
|
||||||
|
|
||||||
// Number of smoothing iterations of interior mesh movement direction
|
// Number of smoothing iterations of interior mesh movement direction
|
||||||
nSmoothNormals 3;
|
nSmoothNormals 3;
|
||||||
|
|
||||||
// Smooth layer thickness over surface patches
|
// Smooth layer thickness over surface patches
|
||||||
nSmoothThickness 10;
|
nSmoothThickness 10;
|
||||||
@ -239,19 +510,16 @@ addLayersControls
|
|||||||
|
|
||||||
// Create buffer region for new layer terminations
|
// Create buffer region for new layer terminations
|
||||||
nBufferCellsNoExtrude 0;
|
nBufferCellsNoExtrude 0;
|
||||||
|
|
||||||
|
|
||||||
// Overall max number of layer addition iterations
|
|
||||||
nLayerIter 50;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Generic mesh quality settings. At any undoable phase these determine
|
// Generic mesh quality settings. At any undoable phase these determine
|
||||||
// where to undo.
|
// where to undo.
|
||||||
meshQualityControls
|
meshQualityControls
|
||||||
{
|
{
|
||||||
//- Maximum non-orthogonality allowed. Set to 180 to disable.
|
//- Maximum non-orthogonality allowed. Set to 180 to disable.
|
||||||
maxNonOrtho 65;
|
maxNonOrtho 65;
|
||||||
|
|
||||||
//- Max skewness allowed. Set to <0 to disable.
|
//- Max skewness allowed. Set to <0 to disable.
|
||||||
maxBoundarySkewness 20;
|
maxBoundarySkewness 20;
|
||||||
@ -260,31 +528,31 @@ meshQualityControls
|
|||||||
//- Max concaveness allowed. Is angle (in degrees) below which concavity
|
//- Max concaveness allowed. Is angle (in degrees) below which concavity
|
||||||
// is allowed. 0 is straight face, <0 would be convex face.
|
// is allowed. 0 is straight face, <0 would be convex face.
|
||||||
// Set to 180 to disable.
|
// Set to 180 to disable.
|
||||||
maxConcave 80;
|
maxConcave 80;
|
||||||
|
|
||||||
//- Minimum projected area v.s. actual area. Set to -1 to disable.
|
//- Minimum projected area v.s. actual area. Set to -1 to disable.
|
||||||
minFlatness 0.5;
|
minFlatness 0.5;
|
||||||
|
|
||||||
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
|
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
|
||||||
// Set to very negative number (e.g. -1E30) to disable.
|
// Set to very negative number (e.g. -1E30) to disable.
|
||||||
minVol 1e-13;
|
minVol 1e-13;
|
||||||
|
|
||||||
//- Minimum face area. Set to <0 to disable.
|
//- Minimum face area. Set to <0 to disable.
|
||||||
minArea -1;
|
minArea -1;
|
||||||
|
|
||||||
//- Minimum face twist. Set to <-1 to disable. dot product of face normal
|
//- Minimum face twist. Set to <-1 to disable. dot product of face normal
|
||||||
//- and face centre triangles normal
|
//- and face centre triangles normal
|
||||||
minTwist 0.02;
|
minTwist 0.02;
|
||||||
|
|
||||||
//- minimum normalised cell determinant
|
//- minimum normalised cell determinant
|
||||||
//- 1 = hex, <= 0 = folded or flattened illegal cell
|
//- 1 = hex, <= 0 = folded or flattened illegal cell
|
||||||
minDeterminant 0.001;
|
minDeterminant 0.001;
|
||||||
|
|
||||||
//- minFaceWeight (0 -> 0.5)
|
//- minFaceWeight (0 -> 0.5)
|
||||||
minFaceWeight 0.02;
|
minFaceWeight 0.02;
|
||||||
|
|
||||||
//- minVolRatio (0 -> 1)
|
//- minVolRatio (0 -> 1)
|
||||||
minVolRatio 0.01;
|
minVolRatio 0.01;
|
||||||
|
|
||||||
//must be >0 for Fluent compatibility
|
//must be >0 for Fluent compatibility
|
||||||
minTriangleTwist -1;
|
minTriangleTwist -1;
|
||||||
@ -293,13 +561,12 @@ meshQualityControls
|
|||||||
// Advanced
|
// Advanced
|
||||||
|
|
||||||
//- Number of error distribution iterations
|
//- Number of error distribution iterations
|
||||||
nSmoothScale 4;
|
nSmoothScale 4;
|
||||||
//- amount to scale back displacement at error points
|
//- amount to scale back displacement at error points
|
||||||
errorReduction 0.75;
|
errorReduction 0.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Advanced
|
// Advanced
|
||||||
|
|
||||||
// Flags for optional output
|
// Flags for optional output
|
||||||
@ -307,12 +574,12 @@ meshQualityControls
|
|||||||
// 1 : write intermediate meshes
|
// 1 : write intermediate meshes
|
||||||
// 2 : write volScalarField with cellLevel for postprocessing
|
// 2 : write volScalarField with cellLevel for postprocessing
|
||||||
// 4 : write current intersections as .obj files
|
// 4 : write current intersections as .obj files
|
||||||
debug 0;
|
debug 0;
|
||||||
|
|
||||||
|
|
||||||
// Merge tolerance. Is fraction of overall bounding box of initial mesh.
|
// Merge tolerance. Is fraction of overall bounding box of initial mesh.
|
||||||
// Note: the write tolerance needs to be higher than this.
|
// Note: the write tolerance needs to be higher than this.
|
||||||
mergeTolerance 1e-06;
|
mergeTolerance 1E-6;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
0
tutorials/mesh/snappyHexMesh/Allrun
Executable file
0
tutorials/mesh/snappyHexMesh/Allrun
Executable file
1
tutorials/mesh/snappyHexMesh/iglooWithFridges
Symbolic link
1
tutorials/mesh/snappyHexMesh/iglooWithFridges
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges
|
||||||
1
tutorials/mesh/snappyHexMesh/motorBike
Symbolic link
1
tutorials/mesh/snappyHexMesh/motorBike
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../incompressible/simpleFoam/motorBike
|
||||||
Reference in New Issue
Block a user