Tutorial clean-up: shockTube

This commit is contained in:
Hrvoje Jasak 2016-06-04 08:28:35 +01:00
parent 613ccf1fe9
commit a8f9677ef5
7 changed files with 13 additions and 224 deletions

View file

@ -1,127 +1,22 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0];
internalField nonuniform List<scalar>
100
(
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
348.432
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
278.746
)
;
internalField uniform 1;
boundaryField
{
@ -129,11 +24,11 @@ boundaryField
{
type zeroGradient;
}
empty
{
type empty;
}
}
// ************************************************************************* //

View file

@ -1,16 +1,15 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,11 +24,11 @@ boundaryField
{
type zeroGradient;
}
empty
{
type empty;
}
}
// ************************************************************************* //

View file

@ -1,127 +1,22 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
| \\ / O peration | Version: 3.2 |
| \\ / A nd | Web: http://www.foam-extend.org |
| \\/ M anipulation | For copyright notice see file Copyright |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField nonuniform List<scalar>
100
(
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
100000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
)
;
internalField uniform 0;
boundaryField
{
@ -129,11 +24,11 @@ boundaryField
{
type zeroGradient;
}
empty
{
type empty;
}
}
// ************************************************************************* //

View file

@ -3,6 +3,6 @@
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf 0
cp -r 0.org 0
\rm -rf 0
\cp -r save 0
cleanCase