mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Tried to sort out the scripts in the tutorials but found it is messed up. Will start again from a new version from Mattijs
This commit is contained in:
@ -1,104 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
class dictionary;
|
||||
object blockMeshDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
convertToMeters 0.1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0 0 -0.1)
|
||||
(1 0 -0.1)
|
||||
(0 0.5 -0.1)
|
||||
(1 0.5 -0.1)
|
||||
(1.5 0.5 -0.1)
|
||||
(0 0.6 -0.1)
|
||||
(1 0.6 -0.1)
|
||||
(1.5 0.6 -0.1)
|
||||
(0 3 -0.1)
|
||||
(1 3 -0.1)
|
||||
(0 0 0.1)
|
||||
(1 0 0.1)
|
||||
(0 0.5 0.1)
|
||||
(1 0.5 0.1)
|
||||
(1.5 0.5 0.1)
|
||||
(0 0.6 0.1)
|
||||
(1 0.6 0.1)
|
||||
(1.5 0.6 0.1)
|
||||
(0 3 0.1)
|
||||
(1 3 0.1)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (0 1 3 2 10 11 13 12) (30 20 1) simpleGrading (1 1 1)
|
||||
hex (2 3 6 5 12 13 16 15) (30 5 1) simpleGrading (1 1 1)
|
||||
hex (3 4 7 6 13 14 17 16) (25 5 1) simpleGrading (1 1 1)
|
||||
hex (5 6 9 8 15 16 19 18) (30 95 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
(
|
||||
);
|
||||
|
||||
patches
|
||||
(
|
||||
wall outerWall
|
||||
(
|
||||
(0 1 11 10)
|
||||
(1 3 13 11)
|
||||
(3 4 14 13)
|
||||
(7 6 16 17)
|
||||
(6 9 19 16)
|
||||
(9 8 18 19)
|
||||
)
|
||||
symmetryPlane axis
|
||||
(
|
||||
(0 10 12 2)
|
||||
(2 12 15 5)
|
||||
(5 15 18 8)
|
||||
)
|
||||
patch nozzle
|
||||
(
|
||||
(4 7 17 14)
|
||||
)
|
||||
empty back
|
||||
(
|
||||
(0 2 3 1)
|
||||
(2 5 6 3)
|
||||
(3 6 7 4)
|
||||
(5 8 9 6)
|
||||
)
|
||||
empty front
|
||||
(
|
||||
(10 11 13 12)
|
||||
(12 13 16 15)
|
||||
(13 14 17 16)
|
||||
(15 16 19 18)
|
||||
)
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,68 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4.1 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "/home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/tutorials/sonicLiquidFoam";
|
||||
case "decompressionTank";
|
||||
instance "constant";
|
||||
local "polyMesh";
|
||||
|
||||
class polyBoundaryMesh;
|
||||
object boundary;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
5
|
||||
(
|
||||
outerWall
|
||||
{
|
||||
type wall;
|
||||
physicalType wall;
|
||||
nFaces 225;
|
||||
startFace 7275;
|
||||
}
|
||||
|
||||
axis
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 120;
|
||||
startFace 7500;
|
||||
}
|
||||
|
||||
nozzle
|
||||
{
|
||||
type patch;
|
||||
physicalType pressureOutlet;
|
||||
nFaces 5;
|
||||
startFace 7620;
|
||||
}
|
||||
|
||||
back
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 3725;
|
||||
startFace 7625;
|
||||
}
|
||||
|
||||
front
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 3725;
|
||||
startFace 11350;
|
||||
}
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,32 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
class dictionary;
|
||||
object thermodynamicProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
rho0 rho0 [1 -3 0 0 0 0 0] 1000;
|
||||
|
||||
p0 p0 [1 -1 -2 0 0 0 0] 100000;
|
||||
|
||||
psi psi [0 -2 2 0 0 0 0] 4.54e-07;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,28 +0,0 @@
|
||||
/*---------------------------------------------------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
|
||||
root "";
|
||||
case "";
|
||||
instance "";
|
||||
local "";
|
||||
|
||||
class dictionary;
|
||||
object transportProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
mu mu [1 -1 -1 0 0 0 0] 0.001;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user