Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
mattijs
2009-01-06 20:54:19 +00:00
7 changed files with 39 additions and 37 deletions

View File

@ -167,7 +167,7 @@ Foam::kineticTheoryModel::kineticTheoryModel
IOobject::NO_WRITE
),
Ua_.mesh(),
dimensionedScalar("zero", dimensionSet(0, 0, 0, 0, 0), 0.0)
dimensionedScalar("zero", dimensionSet(1, -1, -1, 0, 0), 0.0)
),
gs0_
(

View File

@ -88,7 +88,7 @@ removeCase ()
cleanSamples ()
{
rm -rf {samples,sampleSurfaces} > /dev/null 2>&1
rm -rf {sets,samples,sampleSurfaces} > /dev/null 2>&1
}
cleanUcomponents ()

View File

@ -7,4 +7,5 @@ application="mhdFoam"
(cd hartmann && runApplication blockMesh)
(cd hartmann && runApplication $application)
(cd hartmann && runApplication foamCalc components U)
(cd hartmann && runApplication sample)

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev-8cbffd16687e |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -36,7 +36,7 @@ surfaces
fields
(
U.component(0)
Ux
);
// ************************************************************************* //

View File

@ -1,8 +1,8 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\ / O peration | Version: dev-8cbffd16687e |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
@ -10,39 +10,37 @@ FoamFile
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
4
(
inlet
{
inlet
{
type patch;
nFaces 30;
startFace 11770;
}
outlet
{
}
outlet
{
type patch;
nFaces 30;
startFace 11800;
}
walls
{
}
walls
{
type wall;
nFaces 400;
startFace 11830;
}
frontAndBackPlanes
{
}
frontAndBackPlanes
{
type empty;
nFaces 12000;
startFace 12230;
}
}
)
// ************************************************************************* //

View File

@ -60,6 +60,8 @@ functions
// Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable
fields
(