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

This commit is contained in:
mattijs
2008-07-15 22:11:10 +01:00
49 changed files with 660 additions and 674 deletions

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object routeDict;
case "cavity";
instance "system";
local "";
class dictionary;
object routeDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -33,10 +26,3 @@ paths
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,33 +1,26 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object autoRefineMeshDict;
case "cavity";
instance "system";
local "";
class dictionary;
object autoRefineMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Surface to keep to // Surface to keep to
surface "plexi.ftr"; surface "plexi.ftr";
// What is outside. These points have to be inside a cell (so not on a face!) // What is outside. These points have to be inside a cell (so not on a face!)
outsidePoints ((-0.99001 -0.99001 -0.99001)); outsidePoints ((-0.99001 -0.99001 -0.99001));
// //
@ -51,11 +44,11 @@ curvature 0.9;
nCutLayers 2; nCutLayers 2;
// Refine until smallest edge of mesh < minEdgeLen // Refine until smallest edge of mesh < minEdgeLen
minEdgeLen 0.1; minEdgeLen 0.1;
// Or until the number of cells would become more than (stops one level before // Or until the number of cells would become more than (stops one level before
// this) // this)
cellLimit 2500000; cellLimit 2500000;
// //
@ -111,16 +104,16 @@ directions
// refinement level difference between neighbouring cells. Set to large if // refinement level difference between neighbouring cells. Set to large if
// there is no need for a limit. // there is no need for a limit.
splitLevel 2; splitLevel 2;
// Cut purely geometric (will cut hexes through vertices) or take topology // Cut purely geometric (will cut hexes through vertices) or take topology
// into account. // into account.
geometricCut false; geometricCut false;
// Whether to use hex topology. This will never cut hex through vertices. // Whether to use hex topology. This will never cut hex through vertices.
useHexTopology yes; useHexTopology yes;
// Write meshes from intermediate steps // Write meshes from intermediate steps
writeMesh true; writeMesh true;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; object modifyMeshDict;
case "cavityTut";
instance "system";
local "";
class dictionary;
object modifyMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object selectCellsDict;
case "cavity";
instance "system";
local "";
class dictionary;
object selectCellsDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,13 +18,13 @@ FoamFile
// Whether to use surface. If false no surface will be read and only // Whether to use surface. If false no surface will be read and only
// outsidePoints/selectOutside will be used to determine cells to keep. // outsidePoints/selectOutside will be used to determine cells to keep.
useSurface false; useSurface false;
// Surface to keep to // Surface to keep to
surface "plexi.ftr"; surface "plexi.ftr";
// What is outside // What is outside
outsidePoints ((-1 -1 -1)); outsidePoints ((-1 -1 -1));
// //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object autoHexMeshDict;
case "cavity";
instance "system";
local "";
class dictionary;
object autoHexMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; object cellSetDict;
case "cavityTut";
instance "system";
local "";
class dictionary;
object cellSetDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object createPatchDict;
case "cavity";
instance "system";
local "";
class dictionary;
object createPatcheDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -29,7 +22,6 @@ matchTolerance 1E-3;
// Do a synchronisation of coupled points. // Do a synchronisation of coupled points.
pointSync true; pointSync true;
// Patches to create. // Patches to create.
// If no patches does a coupled point and face synchronisation anyway. // If no patches does a coupled point and face synchronisation anyway.
patches patches

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; object faceSetDict;
case "cavityTut";
instance "system";
local "";
class dictionary;
object faceSetDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -86,5 +79,4 @@ topoSetSources
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,36 +1,28 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 1.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object mirrorMeshDict;
case "";
instance "system";
local "";
class dictionary;
object mirrorMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
planeType pointAndNormal; planeType pointAndNormal;
pointAndNormalDict pointAndNormalDict
{ {
basePoint (0 0 0); basePoint (0 0 0);
normalVector (0 1 0); normalVector (0 1 0);
} }
planeTolerance 1e-3; planeTolerance 1e-3;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; object pointSetDict;
case "cavityTut";
instance "system";
local "";
class dictionary;
object pointSetDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -76,5 +69,4 @@ topoSetSources
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object refineMeshDict;
case "cavity";
instance "system";
local "";
class dictionary;
object refineMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -59,13 +52,13 @@ directions
// Whether to use hex topology. This will // Whether to use hex topology. This will
// - if patchLocal: all cells on selected patch should be hex // - if patchLocal: all cells on selected patch should be hex
// - split all hexes in 2x2x2 through the middle of edges. // - split all hexes in 2x2x2 through the middle of edges.
useHexTopology true; useHexTopology true;
// Cut purely geometric (will cut hexes through vertices) or take topology // Cut purely geometric (will cut hexes through vertices) or take topology
// into account. Incompatible with useHexTopology // into account. Incompatible with useHexTopology
geometricCut false; geometricCut false;
// Write meshes from intermediate steps // Write meshes from intermediate steps
writeMesh false; writeMesh false;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,25 +1,17 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
note "OpenFOAM to Fluent interface control dictionary";
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; class dictionary;
case "cavityTut"; object foamDataToFluentDict;
instance "system";
local "";
note "FOAM to Fluent interface control dictionary";
class dictionary;
object foamDataToFluentDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 1991-2007 OpenCFD Ltd. \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object postChannelDict;
case "";
instance "";
local "";
class dictionary;
object postChannelDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,7 +18,7 @@ FoamFile
Nx 40; Nx 40;
Ny Ny
( (
50 50
); );
Nz 30; Nz 30;

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.3 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object mapFieldsDict;
case "";
instance "";
local "";
class dictionary;
object mapFieldsDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -35,5 +28,4 @@ cuttingPatches
fixedWalls fixedWalls
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object setFieldsDict;
case "";
instance "system";
local "";
class dictionary;
object setFieldsDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -41,5 +34,4 @@ regions
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam"; object surfaceSubsetDict;
case "cavityTut";
instance "system";
local "";
class dictionary;
object surfaceSubsetDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -32,9 +25,10 @@ localPoints ( );
edges (); edges ();
// Select triangles (with face centre) inside box // Select triangles (with face centre) inside box
zone ( zone
(0 -10000 125) (
(10000 10000 10000) (0 -10000 125)
(10000 10000 10000)
); );
// Select triangles (with face centre) inside or outside of another surface. // Select triangles (with face centre) inside or outside of another surface.

View File

@ -1,19 +1,19 @@
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.3.2 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
Exec : adiabaticFlameT -case . controlDict
Date : Jul 14 2008
Time : 14:35:28
Host : auglx106
PID : 21193
Case : ./.
nProcs : 1
Exec : adiabaticFlameT controlDict // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Date : Aug 20 2006
Time : 12:23:19
Host : dm
PID : 28866
Root :
Case :
Nprocs : 1
Reading Burcat data dictionary Reading Burcat data dictionary
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 34.0752; stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 34.0752;

View File

@ -1,19 +1,19 @@
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.2.1 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
Exec : adiabaticFlameT -case . controlDict
Date : Jul 14 2008
Time : 14:36:14
Host : auglx106
PID : 21199
Case : ./.
nProcs : 1
Exec : adiabaticFlameT controlDict // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Date : Dec 06 2005
Time : 15:25:54
Host : dm
PID : 19011
Root :
Case :
Nprocs : 1
Reading Burcat data dictionary Reading Burcat data dictionary
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 17.1271; stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 17.1271;

View File

@ -1,39 +1,21 @@
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
Exec : adiabaticFlameT -case . controlDict
Date : Jul 14 2008
Time : 14:36:39
Host : auglx106
PID : 21203
Case : ./.
nProcs : 1
Exec : adiabaticFlameT controlDict // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Date : Dec 01 2004
Time : 14:24:02
Host : dm
PID : 8154
Root :
Case :
Nprocs : 1
Reading Burcat data dictionary Reading Burcat data dictionary
--> FOAM Warning : dictionary::read(Istream&, const word&) : could not add entry
CH3 ) 2 N-NO2 CH3 ) 2 N-NO2 1 90.0819 200 6000 1000 12.4704 0.0186035 -6.89302e-06 1.13155e-09 -6.84339e-14 -6246.84 -39.5039 4.2251 0.0224382 3.20606e-05 -5.84889e-08 2.50091e-11 -3013.8 7.7452;
on line 1067 of dictionary "/home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData"
entry already in dictionary :
ITstream : /home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData::CH3, lines 553-555, IOstream: Version 2.0, format ASCII, line 553, OPENED, GOOD
--> FOAM Warning : dictionary::read(Istream&, const word&) : could not add entry
CH3 ) 2 CHOH CH3 ) 2 CHOH 1 60.0959 200 6000 1000 9.64268 0.0200225 -7.11954e-06 1.14138e-09 -6.79937e-14 -37484 -25.6345 4.30799 0.0102502 6.19844e-05 -9.03296e-08 3.7406e-11 -34924.9 7.5584;
on line 1387 of dictionary "/home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData"
entry already in dictionary :
ITstream : /home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData::CH3, lines 553-555, IOstream: Version 2.0, format ASCII, line 553, OPENED, GOOD
--> FOAM Warning : dictionary::read(Istream&, const word&) : could not add entry
NH2 NH2 1 16.0226 200 6000 1000 2.84766 0.00314285 -8.98666e-07 1.30324e-10 -7.48854e-15 21823.9 6.47181 4.20556 -0.00213553 7.2682e-06 -5.93028e-09 1.80672e-12 21535.2 -0.146632;
on line 3411 of dictionary "/home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData"
entry already in dictionary :
ITstream : /home/dm2/henry/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/thermoData/BurcatCpData::NH2, lines 637-639, IOstream: Version 2.0, format ASCII, line 637, OPENED, GOOD
stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.5776; stoichiometricAirFuelMassRatio stoichiometricAirFuelMassRatio [0 0 0 0 0 0 0] 15.5776;
phi = 0.01 phi = 0.01
ft = 0.000641534 ft = 0.000641534

View File

@ -1,36 +1,69 @@
T0 300.0; /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
note "settings for calculating the adiabatic flame temperature";
class dictionary;
object controlDict;
}
fuel H2; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
n 0;
m 2; T0 300.0;
H2
{
fuel H2;
n 0;
m 2;
}
CH4
{
fuel CH4(ANHARMONIC);
n 1;
m 4;
}
ETHYLENE
{
fuel ETHYLENE;
n 2;
m 4;
}
PROPANE
{
fuel PROPANE;
n 3;
m 8;
}
OCTANE
{
fuel ISO-OCTANE(I-P);
n 8;
m 18;
}
C7H16
{
fuel C7H16;
n 7;
m 16;
}
/* $H2;
fuel CH4(ANHARMONIC); // $CH4;
n 1; // $PROPANE;
m 4;
*/
/*
fuel ETHYLENE;
n 2;
m 4;
*/
/* // ************************************************************************* //
fuel PROPANE;
n 3;
m 8;
*/
/*
fuel ISO-OCTANE(I-P);
n 8;
m 18;
*/
/*
fuel C7H16;
n 7;
m 16;
*/

View File

@ -1,19 +1,19 @@
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.3.2 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
Exec : equilibriumFlameT -case . controlDict
Date : Jul 14 2008
Time : 14:42:27
Host : auglx106
PID : 21318
Case : ./.
nProcs : 1
Exec : equilibriumFlameT controlDict // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Date : Aug 20 2006
Time : 12:29:44
Host : dm
PID : 28934
Root :
Case :
Nprocs : 1
Reading Burcat data dictionary Reading Burcat data dictionary

View File

@ -1,30 +1,69 @@
P 1e5; /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
note "settings for calculating the equilibrium flame temperature";
class dictionary;
object controlDict;
}
fuel H2; // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
n 0;
m 2;
/* P 1e5;
fuel CH4ANHARMONIC;
n 1;
m 4;
*/
/*
fuel ETHYLENE;
n 2;
m 4;
*/
/* H2
fuel PROPANE; {
n 3; fuel H2;
m 8; n 0;
*/ m 2;
}
/* CH4
fuel ISOOCTANE; {
n 8; fuel CH4(ANHARMONIC);
m 18; n 1;
*/ m 4;
}
end; ETHYLENE
{
fuel ETHYLENE;
n 2;
m 4;
}
PROPANE
{
fuel PROPANE;
n 3;
m 8;
}
OCTANE
{
fuel ISOOCTANE;
n 8;
m 18;
}
C7H16
{
fuel C7H16;
n 7;
m 16;
}
$H2;
// $CH4;
// $PROPANE;
// ************************************************************************* //

View File

@ -30,6 +30,9 @@
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
find . -name "*.[HCL]" -exec $1 {} \; -print if [ "$#" -gt 0 ]
then
find . -name "*.[HCL]" -exec $1 {} \; -print
fi
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -27,20 +27,94 @@
# foamClearPolyMesh # foamClearPolyMesh
# #
# Description # Description
# Remove the contents of the constant/polyMesh directory
# as per the Foam::polyMesh::removeFiles() method.
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
usage() {
while [ "$#" -ge 1 ]; do echo "$1" 1>&2; shift; done
cat <<USAGE 1>&2
if [ -d constant/polyMesh ]; then usage: ${0##*/} [-case dir]
echo "there is constant/polyMesh";
cd constant/polyMesh
elif [ -d polyMesh ]; then Remove the contents of the constant/polyMesh directory
echo "there is polyMesh"; as per the Foam::polyMesh::removeFiles() method.
cd polyMesh
else USAGE
echo "in polyMesh directory"; exit 1
}
unset caseDir
unset meshDir
# parse options
if [ "$#" -gt 0 ]; then
case "$1" in
-h | -help)
usage
;;
-case)
shift
caseDir=$1
[ "$#" -ge 1 ] || usage "'-case' option requires an argument"
cd "$caseDir" 2>/dev/null || usage "directory does not exist: '$caseDir'"
meshDir="constant/polyMesh"
;;
*)
usage "unknown option/argument: '$*'"
;;
esac
fi fi
rm -f pointFaces pointEdges pointCells faceEdges edges edgeFaces edgeCells cellEdges cellCells owner neighbour losort faceCentres faceAreas cellVolumes cellCentres # meshDir is only set if -case was specified: insist upon 'constant/polyMesh'
if [ -n "$meshDir" ]
then
if [ ! -d "$meshDir" ]
then
echo "Error: no '$meshDir' in $caseDir" 1>&2
exit 1
fi
else
if [ -d constant/polyMesh ]
then
# use constant/polyMesh
meshDir=constant/polyMesh
elif [ -d polyMesh ]
then
# likely already in constant/
meshDir=polyMesh
elif [ "${PWD##*/}" = polyMesh ]
then
# apparently already within polyMesh/
meshDir=.
else
echo "Error: no appropriate 'polyMesh/' directory found" 1>&2
exit 1
fi
fi
#
# remove files and subdirectories
#
echo "Clearing ${caseDir:-.}/$meshDir" 1>&2
for i in \
points \
faces \
owner \
neighbour \
cells \
boundary \
pointZones \
faceZones \
cellZones \
meshModifiers \
parallelData \
sets \
;
do
rm -rf $meshDir/$i
done
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

100
bin/foamCopySettings Executable file
View File

@ -0,0 +1,100 @@
#!/bin/sh
#------------------------------------------------------------------------------
# ========= |
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
# \\ / O peration |
# \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
# \\/ M anipulation |
#-------------------------------------------------------------------------------
# License
# This file is part of OpenFOAM.
#
# OpenFOAM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenFOAM; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Script
# foamCopySettings
#
# Description
# Usage: foamCopySettings srcDir dstDir
#
# Copy OpenFOAM settings from one case to another, without copying
# the mesh or results
# - requires rsync
#------------------------------------------------------------------------------
if [ "$1" = "-h" -o "$1" = "-help" -o "$#" -ne 2 ]
then
cat <<USAGE 1>&2
Usage: ${0##*/} srcDir dstDir
Copy OpenFOAM settings from one case to another, without copying
the mesh or results.
- requires rsync
USAGE
exit 1
fi
srcDir=$1
dstDir=$2
if [ ! -d $srcDir ]
then
echo "Error: directory '$srcDir' does not exist"
exit 1
fi
if [ ! -d $dstDir ]
then
echo "Error: directory '$dstDir' does not exist"
exit 1
fi
# check that the srcDir looks okay
for i in $srcDir/constant $srcDir/system
do
if [ ! -d $i ]
then
echo "Error: no '${i##*/}' directory in '$srcDir'"
echo " does not appear to be an OpenFOAM case"
exit 1
fi
done
# files and directories to copy
# avoid processor directories
fileList=$(find -H $srcDir -mindepth 1 -maxdepth 1 -not -name "processor*")
# TODO:
# - verify that it works with multiple mesh regions
# - special treatment for starting with negative crank angles
for i in $fileList
do
name="${i##*/}"
# skip numerical (results) directories (except 0)
# and things that look like queuing system output
case "$name" in
[1-9] | [0-9]?* | foam.[eo][1-9]*)
echo "$i [skipped]"
continue
;;
*)
echo "$i -> $dstDir/$name"
rsync --exclude polyMesh --exclude "processor*" -a $i $dstDir
;;
esac
done
# --------------------------------------------------------------- end-of-file

View File

@ -41,12 +41,12 @@ if [ $# -ne 0 ]; then
exit 1 exit 1
fi fi
# Clean up on termination and on Ctrl-C
trap 'rm -f $headersFile $sourcesFile 2>/dev/null; exit 0' EXIT TERM INT
cd $WM_PROJECT_DIR cd $WM_PROJECT_DIR
find -H . -name "*.H" | fgrep -v "lnInclude" > $headersFile find -H . -name "*.H" | fgrep -v "lnInclude" > $headersFile
find -H . -name "*.C" | fgrep -v "lnInclude" > $sourcesFile find -H . -name "*.C" | fgrep -v "lnInclude" > $sourcesFile
ebrowse --files=$headersFile --files=$sourcesFile --output-file=.ebrowse ebrowse --files=$headersFile --files=$sourcesFile --output-file=.ebrowse
# Clean up on termination and on Ctrl-C
trap 'rm -f $headersFile $sourcesFile 2>/dev/null; exit 0' EXIT TERM INT
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------

View File

@ -46,19 +46,23 @@ USAGE
exit 1 exit 1
} }
if [ "$#" -lt 1 ]; then if [ "$#" -lt 2 ]
then
usage "wrong number of arguments, expected 2 (or more)" usage "wrong number of arguments, expected 2 (or more)"
fi fi
case "$1" in case "$1" in
source) -h | -help)
shift usage
$WM_PROJECT_DIR/bin/foamTemplates/source/newSource $* ;;
;; source)
template) shift
shift $WM_PROJECT_DIR/bin/foamTemplates/source/newSource $*
$WM_PROJECT_DIR/bin/foamTemplates/sourceTemplate/newSourceTemplate $* ;;
;; template)
shift
$WM_PROJECT_DIR/bin/foamTemplates/sourceTemplate/newSourceTemplate $*
;;
*) *)
usage "unknown type" usage "unknown type"
;; ;;

View File

@ -32,8 +32,8 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
export WM_PROJECT=OpenFOAM export WM_PROJECT=OpenFOAM
export WM_PROJECT_VERSION=1.5 #export WM_PROJECT_VERSION=1.5
#: ${WM_PROJECT_VERSION:=dev}; export WM_PROJECT_VERSION : ${WM_PROJECT_VERSION:=dev}; export WM_PROJECT_VERSION
#!!User: #!!User:

View File

@ -32,8 +32,8 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
setenv WM_PROJECT OpenFOAM setenv WM_PROJECT OpenFOAM
setenv WM_PROJECT_VERSION 1.5 #setenv WM_PROJECT_VERSION 1.5
#if ( ! $?WM_PROJECT_VERSION ) setenv WM_PROJECT_VERSION dev if ( ! $?WM_PROJECT_VERSION ) setenv WM_PROJECT_VERSION dev
#!!User: #!!User:
# either setenv FOAM_INST_DIR before sourcing this file or set # either setenv FOAM_INST_DIR before sourcing this file or set

View File

@ -1,27 +1,16 @@
/*--------------------------------*- C++ -*----------------------------------*\
/*---------------------------------------------------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object dynamicMeshDict;
case "";
instance "";
local "";
class dictionary;
object dynamicMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -86,8 +86,6 @@ if (runTime.outputTime())
<< " m/s" << nl << " m/s" << nl
<< "Average temperature = " << "Average temperature = "
<< averageTemperature << " K" << nl << averageTemperature << " K" << nl
<< "accumulatedTotalrDotfSum = "
<< accumulatedTotalrDotfSum << nl
<< "Average pressure = " << "Average pressure = "
<< averagePressure << " N/m^2" << nl << averagePressure << " N/m^2" << nl
<< "----------------------------------------" << endl; << "----------------------------------------" << endl;

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object controlDict;
case "";
instance "";
local "";
class dictionary;
object controlDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,23 +1,16 @@
/*--------------------------------*- C++ -*----------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.openfoam.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object motionProperties;
case "";
instance "";
local "";
class dictionary;
object motionProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -38,5 +31,4 @@ solidBodyMotionFvMeshCoeffs
} }
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,28 +1,20 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object blockMeshDict;
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1; convertToMeters 1;
vertices vertices
@ -78,5 +70,4 @@ mergePatchPairs
( (
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,28 +1,20 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object transportProperties;
case "";
instance "";
local "";
class dictionary;
object transportProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
nu nu [0 2 -1 0 0 0 0] 0.01; nu nu [0 2 -1 0 0 0 0] 0.01;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object controlDict;
case "";
instance "";
local "";
class dictionary;
object controlDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -53,5 +46,4 @@ timePrecision 6;
runTimeModifiable yes; runTimeModifiable yes;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSchemes;
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -67,5 +60,4 @@ fluxRequired
p; p;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,30 +1,23 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSolution;
case "";
instance "";
local "";
class dictionary;
object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers solvers
{ {
//p ICCG 1e-06 0; // p ICCG 1e-06 0;
p AMG 1e-06 0 10; p AMG 1e-06 0 10;
U BICCG 1e-05 0; U BICCG 1e-05 0;
@ -41,5 +34,4 @@ PISO
pRefValue 0; pRefValue 0;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object autoHexMeshDict;
case "cavity";
instance "system";
local "";
class dictionary;
object autoHexMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -334,5 +327,4 @@ debug 0;
// Note: the write tolerance needs to be higher than this. // Note: the write tolerance needs to be higher than this.
mergeTolerance 1E-6; mergeTolerance 1E-6;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,28 +1,20 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object blockMeshDict;
case "";
instance "";
local "";
class dictionary;
object blockMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 1; convertToMeters 1;
vertices vertices

View File

@ -1,28 +1,20 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object transportProperties;
case "";
instance "";
local "";
class dictionary;
object transportProperties;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
nu nu [0 2 -1 0 0 0 0] 0.01; nu nu [0 2 -1 0 0 0 0] 0.01;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object controlDict;
case "";
instance "";
local "";
class dictionary;
object controlDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -53,5 +46,4 @@ timePrecision 6;
runTimeModifiable yes; runTimeModifiable yes;
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSchemes;
case "";
instance "";
local "";
class dictionary;
object fvSchemes;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -67,5 +60,4 @@ fluxRequired
p; p;
} }
// ************************************************************************* // // ************************************************************************* //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root ""; object fvSolution;
case "";
instance "";
local "";
class dictionary;
object fvSolution;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,23 +1,16 @@
/*---------------------------------------------------------------------------*\ /*--------------------------------*- C++ -*----------------------------------*\
| ========= | | | ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.0 | | \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.openfoam.org | | \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | | | \\/ M anipulation | |
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
FoamFile FoamFile
{ {
version 2.0; version 2.0;
format ascii; format ascii;
class dictionary;
root "/home/penfold/mattijs/foam/mattijs2.1/run/icoFoam"; object autoHexMeshDict;
case "cavity";
instance "system";
local "";
class dictionary;
object autoHexMeshDict;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -581,5 +574,4 @@ debug 0;
// Note: the write tolerance needs to be higher than this. // Note: the write tolerance needs to be higher than this.
mergeTolerance 1E-6; mergeTolerance 1E-6;
// ************************************************************************* // // ************************************************************************* //