mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: remove cr-nl endings
- use git show --ignore-space-change when examining
This commit is contained in:
committed by
Andrew Heather
parent
93422f1a72
commit
8f1844fff0
@ -1,22 +1,22 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: v1906 |
|
| \\ / O peration | Version: v1906 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format ascii;
|
||||||
class uniformDimensionedVectorField;
|
class uniformDimensionedVectorField;
|
||||||
location "constant";
|
location "constant";
|
||||||
object g;
|
object g;
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
dimensions [0 1 -2 0 0 0 0];
|
dimensions [0 1 -2 0 0 0 0];
|
||||||
value (0 0 -9.81);
|
value (0 0 -9.81);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,179 +1,184 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*/
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
FoamFile
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
{
|
| \\ / O peration | Version: v1906 |
|
||||||
version 2.0;
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||||
format ascii;
|
| \\/ M anipulation | |
|
||||||
class dictionary;
|
\*---------------------------------------------------------------------------*/
|
||||||
object blockMeshDict;
|
FoamFile
|
||||||
}
|
{
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
scale 1;
|
class dictionary;
|
||||||
|
object blockMeshDict;
|
||||||
// Basin
|
}
|
||||||
x0 0;
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
x1 1;
|
|
||||||
y0 0;
|
scale 1;
|
||||||
y1 1;
|
|
||||||
z0 0;
|
// Basin
|
||||||
z1 1;
|
x0 0;
|
||||||
|
x1 1;
|
||||||
// Inlet
|
y0 0;
|
||||||
x2 -0.3;
|
y1 1;
|
||||||
x3 0;
|
z0 0;
|
||||||
y2 0.35;
|
z1 1;
|
||||||
y3 0.65;
|
|
||||||
z2 0.6;
|
// Inlet
|
||||||
z3 0.9;
|
x2 -0.3;
|
||||||
|
x3 0;
|
||||||
// Outlet
|
y2 0.35;
|
||||||
x4 1;
|
y3 0.65;
|
||||||
x5 1.3;
|
z2 0.6;
|
||||||
y4 0.35;
|
z3 0.9;
|
||||||
y5 0.65;
|
|
||||||
z4 0.1;
|
// Outlet
|
||||||
z5 0.4;
|
x4 1;
|
||||||
|
x5 1.3;
|
||||||
|
y4 0.35;
|
||||||
vertices
|
y5 0.65;
|
||||||
(
|
z4 0.1;
|
||||||
// Basin
|
z5 0.4;
|
||||||
($x0 $y0 $z0)
|
|
||||||
($x1 $y0 $z0)
|
|
||||||
($x1 $y1 $z0)
|
vertices
|
||||||
($x0 $y1 $z0)
|
(
|
||||||
($x0 $y0 $z1)
|
// Basin
|
||||||
($x1 $y0 $z1)
|
($x0 $y0 $z0)
|
||||||
($x1 $y1 $z1)
|
($x1 $y0 $z0)
|
||||||
($x0 $y1 $z1)
|
($x1 $y1 $z0)
|
||||||
|
($x0 $y1 $z0)
|
||||||
// Inlet
|
($x0 $y0 $z1)
|
||||||
($x2 $y2 $z2)
|
($x1 $y0 $z1)
|
||||||
($x3 $y2 $z2)
|
($x1 $y1 $z1)
|
||||||
($x3 $y3 $z2)
|
($x0 $y1 $z1)
|
||||||
($x2 $y3 $z2)
|
|
||||||
($x2 $y2 $z3)
|
// Inlet
|
||||||
($x3 $y2 $z3)
|
($x2 $y2 $z2)
|
||||||
($x3 $y3 $z3)
|
($x3 $y2 $z2)
|
||||||
($x2 $y3 $z3)
|
($x3 $y3 $z2)
|
||||||
|
($x2 $y3 $z2)
|
||||||
// Outlet
|
($x2 $y2 $z3)
|
||||||
($x4 $y4 $z4)
|
($x3 $y2 $z3)
|
||||||
($x5 $y4 $z4)
|
($x3 $y3 $z3)
|
||||||
($x5 $y5 $z4)
|
($x2 $y3 $z3)
|
||||||
($x4 $y5 $z4)
|
|
||||||
($x4 $y4 $z5)
|
// Outlet
|
||||||
($x5 $y4 $z5)
|
($x4 $y4 $z4)
|
||||||
($x5 $y5 $z5)
|
($x5 $y4 $z4)
|
||||||
($x4 $y5 $z5)
|
($x5 $y5 $z4)
|
||||||
);
|
($x4 $y5 $z4)
|
||||||
|
($x4 $y4 $z5)
|
||||||
blocks
|
($x5 $y4 $z5)
|
||||||
(
|
($x5 $y5 $z5)
|
||||||
hex (0 1 2 3 4 5 6 7) (40 40 40) simpleGrading (1 1 1)
|
($x4 $y5 $z5)
|
||||||
hex (8 9 10 11 12 13 14 15) (12 12 12) simpleGrading (1 1 1)
|
);
|
||||||
hex (16 17 18 19 20 21 22 23) (12 12 12) simpleGrading (1 1 1)
|
|
||||||
);
|
blocks
|
||||||
|
(
|
||||||
boundary
|
hex (0 1 2 3 4 5 6 7) (40 40 40) simpleGrading (1 1 1)
|
||||||
(
|
hex (8 9 10 11 12 13 14 15) (12 12 12) simpleGrading (1 1 1)
|
||||||
inlet
|
hex (16 17 18 19 20 21 22 23) (12 12 12) simpleGrading (1 1 1)
|
||||||
{
|
);
|
||||||
type patch;
|
|
||||||
faces
|
boundary
|
||||||
(
|
(
|
||||||
(8 12 15 11)
|
inlet
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
outlet
|
(
|
||||||
{
|
(8 12 15 11)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(17 18 22 21)
|
outlet
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
walls
|
(
|
||||||
{
|
(17 18 22 21)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
// Basin
|
walls
|
||||||
(0 3 2 1)
|
{
|
||||||
(0 1 5 4)
|
type patch;
|
||||||
(2 3 7 6)
|
faces
|
||||||
|
(
|
||||||
// Inlet
|
// Basin
|
||||||
(8 11 10 9)
|
(0 3 2 1)
|
||||||
(8 9 13 12)
|
(0 1 5 4)
|
||||||
(10 11 15 14)
|
(2 3 7 6)
|
||||||
(12 13 14 15)
|
|
||||||
|
// Inlet
|
||||||
// Outlet
|
(8 11 10 9)
|
||||||
(16 19 18 17)
|
(8 9 13 12)
|
||||||
(16 17 21 20)
|
(10 11 15 14)
|
||||||
(18 19 23 22)
|
(12 13 14 15)
|
||||||
(20 21 22 23)
|
|
||||||
);
|
// Outlet
|
||||||
}
|
(16 19 18 17)
|
||||||
|
(16 17 21 20)
|
||||||
atmosphere
|
(18 19 23 22)
|
||||||
{
|
(20 21 22 23)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(4 5 6 7)
|
atmosphere
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
inletRightPatch
|
(
|
||||||
{
|
(4 5 6 7)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(9 10 14 13)
|
inletRightPatch
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
basinLeftPatch
|
(
|
||||||
{
|
(9 10 14 13)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(0 4 7 3)
|
basinLeftPatch
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
outletLeftPatch
|
(
|
||||||
{
|
(0 4 7 3)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(16 20 23 19)
|
outletLeftPatch
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
|
faces
|
||||||
basinRightPatch
|
(
|
||||||
{
|
(16 20 23 19)
|
||||||
type patch;
|
);
|
||||||
faces
|
}
|
||||||
(
|
|
||||||
(1 2 6 5)
|
basinRightPatch
|
||||||
);
|
{
|
||||||
}
|
type patch;
|
||||||
);
|
faces
|
||||||
|
(
|
||||||
edges
|
(1 2 6 5)
|
||||||
(
|
);
|
||||||
);
|
}
|
||||||
|
);
|
||||||
mergePatchPairs
|
|
||||||
(
|
edges
|
||||||
(inletRightPatch basinLeftPatch)
|
(
|
||||||
(outletLeftPatch basinRightPatch)
|
);
|
||||||
);
|
|
||||||
|
mergePatchPairs
|
||||||
// ************************************************************************* //
|
(
|
||||||
|
(inletRightPatch basinLeftPatch)
|
||||||
|
(outletLeftPatch basinRightPatch)
|
||||||
|
);
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -13,6 +13,7 @@ FoamFile
|
|||||||
location "system";
|
location "system";
|
||||||
object controlDict;
|
object controlDict;
|
||||||
}
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interIsoFoam;
|
application interIsoFoam;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user