Update tutorials

This commit is contained in:
Henry
2013-01-25 12:43:07 +00:00
parent 2eb05ebb87
commit 8bcb8132bf
18 changed files with 151 additions and 2379 deletions

View File

@ -10,36 +10,37 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0];
dimensions [0 2 -2 0 0 0 0];
internalField uniform 10.0;
internalField uniform 10;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.5;
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value uniform 0.05;
}
outlet
{
type zeroGradient;
}
walls
{
type zeroGradient;
type kqRWallFunction;
value uniform 10;
}
frontBack
{
type empty;
}
}
// ************************************************************************* //

View File

@ -10,27 +10,30 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuSgs;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 1e-11;
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
outlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
walls
{
type fixedValue;
type nutUSpaldingWallFunction;
value uniform 0;
}
frontBack
@ -39,4 +42,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -28,9 +28,9 @@ interpolationSchemes
divSchemes
{
default none;
div(phiv,rho) Gauss limitedLinear 0.2;
div(phi,U) Gauss filteredLinear2V 0.2 0;
div(phiv,k) Gauss filteredLinear2 0.2 0;
div(phiv,rho) Gauss vanLeer;
div(phi,U) Gauss LUST grad(U);
div(phiv,k) Gauss LUST grad(k);
div((muEff*dev(T(grad(U))))) Gauss linear;
}

View File

@ -16,14 +16,15 @@ FoamFile
dimensions [0 2 -2 0 0];
internalField uniform 10.0;
internalField uniform 10;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.5;
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value uniform 0.05;
}
outlet
@ -33,7 +34,8 @@ boundaryField
walls
{
type zeroGradient;
type kqRWallFunction;
value uniform 10;
}
frontBack

View File

@ -10,34 +10,38 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuSgs;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 1e-11;
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
outlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
walls
{
type fixedValue;
type nutUSpaldingWallFunction;
value uniform 0;
}
frontBack
{
type fixedValue;
type nutUSpaldingWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -16,14 +16,15 @@ FoamFile
dimensions [0 2 -2 0 0];
internalField uniform 10.0;
internalField uniform 10;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.5;
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value uniform 0.05;
}
outlet
@ -33,7 +34,8 @@ boundaryField
walls
{
type zeroGradient;
type kqRWallFunction;
value uniform 10;
}
frontBack

View File

@ -10,34 +10,38 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nuSgs;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 1e-11;
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
outlet
{
type zeroGradient;
type calculated;
value uniform 0;
}
walls
{
type fixedValue;
type nutUSpaldingWallFunction;
value uniform 0;
}
frontBack
{
type fixedValue;
type nutUSpaldingWallFunction;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -29,8 +29,8 @@ cp -r 0.org 0
runApplication blockMesh
refineMeshByCellSet 1 2 3
echo "mapping fields from 2D throttle case"
runApplication mapFields ../throttle -sourceTime latestTime
#echo "mapping fields from 2D throttle case"
#runApplication mapFields ../throttle -sourceTime latestTime
runApplication decomposePar
runParallel $application 4

View File

@ -28,9 +28,9 @@ interpolationSchemes
divSchemes
{
default none;
div(phiv,rho) Gauss limitedLinear 0.2;
div(phi,U) Gauss filteredLinear2V 0.2 0;
div(phiv,k) Gauss filteredLinear2 0.2 0;
div(phiv,rho) Gauss vanLeer;
div(phi,U) Gauss LUST grad(U);
div(phiv,k) Gauss LUST grad(k);
div((muEff*dev(T(grad(U))))) Gauss linear;
}