Tutorial updates - automatic test loop

This commit is contained in:
Hrvoje Jasak 2014-05-28 20:02:35 +01:00
parent 58daa0e7b1
commit 847b1ebd8f
3 changed files with 45 additions and 13 deletions

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.0 |
| \\ / O peration | Version: 3.0 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -28,82 +29,96 @@ boundaryField
GVOUTLET
{
type ggi;
value uniform 14.855;
}
GVCYCLIC1
{
type cyclicGgi;
value uniform 14.855;
}
GVCYCLIC2
{
type cyclicGgi;
value uniform 14.855;
}
GVBLADE
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
GVHUB
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
GVSHROUD
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
RUINLET
{
type ggi;
value uniform 14.855;
}
RUOUTLET
{
type ggi;
value uniform 14.855;
}
RUCYCLIC1
{
type cyclicGgi;
value uniform 14.855;
}
RUCYCLIC2
{
type cyclicGgi;
value uniform 14.855;
}
RUBLADE
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
RUHUB
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
RUSHROUD
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
DTINLET
{
type ggi;
value uniform 14.855;
}
DTOUTLET
{
@ -112,27 +127,32 @@ boundaryField
DTCYCLIC1
{
type cyclicGgi;
value uniform 14.855;
}
DTCYCLIC2
{
type cyclicGgi;
value uniform 14.855;
}
DTHUB
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
DTSHROUD
{
type epsilonWallFunction;
refValue uniform 0;
value uniform 14.855;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 14.855;
}
}
// ************************************************************************* //

View file

@ -1,7 +1,7 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.0 |
| \\ / O peration | Version: 3.0 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -28,14 +29,17 @@ boundaryField
GVOUTLET
{
type ggi;
value uniform 0.375;
}
GVCYCLIC1
{
type cyclicGgi;
value uniform 0.375;
}
GVCYCLIC2
{
type cyclicGgi;
value uniform 0.375;
}
GVBLADE
{
@ -55,18 +59,22 @@ boundaryField
RUINLET
{
type ggi;
value uniform 0.375;
}
RUOUTLET
{
type ggi;
value uniform 0.375;
}
RUCYCLIC1
{
type cyclicGgi;
value uniform 0.375;
}
RUCYCLIC2
{
type cyclicGgi;
value uniform 0.375;
}
RUBLADE
{
@ -86,6 +94,7 @@ boundaryField
DTINLET
{
type ggi;
value uniform 0.375;
}
DTOUTLET
{
@ -94,10 +103,12 @@ boundaryField
DTCYCLIC1
{
type cyclicGgi;
value uniform 0.375;
}
DTCYCLIC2
{
type cyclicGgi;
value uniform 0.375;
}
DTHUB
{
@ -111,4 +122,5 @@ boundaryField
}
}
// ************************************************************************* //

View file

@ -1,5 +1,5 @@
#!/bin/sh
( cd constant/polyMesh && rm -r boundary* blockMeshDict *Zones* faces* neighbour* owner* points* sets )
( cd system && rm changeDictionaryDict fvSolution )
rm -r 0 [1-9]* VTK log* processor*
( cd constant/polyMesh && \rm -rf boundary* blockMeshDict *Zones* faces* neighbour* owner* points* sets )
( cd system && \rm -f changeDictionaryDict fvSolution )
\rm -rf 0 [1-9]* VTK log* processor*