Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Showing
with 33 additions and 207 deletions
......@@ -10,13 +10,13 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object physicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
epsilon0 epsilon0 [-1 -3 4 0 0 2 0] 8.85419e-12;
epsilon0 8.85419e-12;
k 0.00016;
k k [-1 0 2 0 0 1 0] 0.00016;
// ************************************************************************* //
......@@ -112,8 +112,5 @@ boundary
}
);
mergePatchPairs
(
);
// ************************************************************************* //
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -33,13 +33,13 @@ boundaryField
lowerWall
{
type fixedValue;
value uniform (0 20 0);
value $internalField;
}
upperWall
{
type fixedValue;
value uniform (0 20 0);
value $internalField;
}
frontAndBack
......@@ -48,4 +48,5 @@ boundaryField
}
}
// ************************************************************************* //
......@@ -47,4 +47,5 @@ boundaryField
}
}
// ************************************************************************* //
......@@ -28,7 +28,7 @@ boundaryField
outlet
{
type fixedValue;
value uniform 0;
value $internalField;
}
lowerWall
......@@ -47,4 +47,5 @@ boundaryField
}
}
// ************************************************************************* //
......@@ -23,13 +23,13 @@ boundaryField
inlet
{
type fixedValue;
value uniform 0;
value $internalField;
}
outlet
{
type fixedValue;
value uniform 0;
value $internalField;
}
lowerWall
......@@ -48,4 +48,5 @@ boundaryField
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object Ux;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 1;
}
outlet
{
type calculated;
value uniform 0;
}
lowerWall
{
type calculated;
value uniform 0;
}
upperWall
{
type calculated;
value uniform 0;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object Uy;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
lowerWall
{
type calculated;
value uniform 0;
}
upperWall
{
type calculated;
value uniform 0;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object Uz;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
lowerWall
{
type calculated;
value uniform 0;
}
upperWall
{
type calculated;
value uniform 0;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
......@@ -3,7 +3,6 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase
cleanSamples
cleanCase0
#------------------------------------------------------------------------------
......@@ -3,8 +3,16 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
runApplication blockMesh
runApplication $(getApplication)
runApplication -s sample postProcess -func sample
runApplication decomposePar
runParallel $(getApplication)
runApplication reconstructPar
runApplication postProcess -func sample -noZero
#------------------------------------------------------------------------------
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -23,4 +22,5 @@ mu 1;
sigma 1;
// ************************************************************************* //
......@@ -33,10 +33,6 @@ blocks
hex (0 1 2 3 4 5 6 7) (100 40 1) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
inlet
......@@ -82,8 +78,5 @@ boundary
}
);
mergePatchPairs
(
);
// ************************************************************************* //
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -50,4 +49,5 @@ functions
#includeFunc components(U)
}
// ************************************************************************* //
......@@ -10,36 +10,18 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict.org;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
startFrom latestTime;
numberOfSubdomains 4;
startTime 0;
method hierarchical;
stopAt endTime;
endTime 10;
deltaT 2e-05;
writeControl runTime;
writeInterval 0.025;
purgeWrite 0;
writeFormat ascii;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable true;
coeffs
{
n (2 2 1);
}
// ************************************************************************* //
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -49,4 +48,5 @@ snGradSchemes
default corrected;
}
// ************************************************************************* //
......@@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......