TUT: DNS, electromagnetics, financial, stressAnalysis: clean up tutorials

This commit is contained in:
Kutalmis Bercin
2021-03-25 14:59:07 +00:00
committed by Andrew Heather
parent 20af386290
commit 16762e6d49
59 changed files with 105 additions and 279 deletions

View File

@ -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
}
}
// ************************************************************************* //

View File

@ -47,4 +47,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -28,7 +28,7 @@ boundaryField
outlet
{
type fixedValue;
value uniform 0;
value $internalField;
}
lowerWall
@ -47,4 +47,5 @@ boundaryField
}
}
// ************************************************************************* //

View File

@ -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
}
}
// ************************************************************************* //

View File

@ -1,51 +0,0 @@
/*--------------------------------*- 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;
}
}
// ************************************************************************* //

View File

@ -1,51 +0,0 @@
/*--------------------------------*- 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;
}
}
// ************************************************************************* //

View File

@ -3,7 +3,6 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase
cleanSamples
cleanCase0
#------------------------------------------------------------------------------

View File

@ -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
#------------------------------------------------------------------------------

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -23,4 +22,5 @@ mu 1;
sigma 1;
// ************************************************************************* //

View File

@ -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
(
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -50,4 +49,5 @@ functions
#includeFunc components(U)
}
// ************************************************************************* //

View File

@ -9,42 +9,18 @@ FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object Ux;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
numberOfSubdomains 4;
internalField uniform 0;
method hierarchical;
boundaryField
coeffs
{
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;
}
n (2 2 1);
}

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -49,4 +48,5 @@ snGradSchemes
default corrected;
}
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,12 +10,11 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object sample;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
type sets;
libs (sampling);
interpolationScheme cellPoint;