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,34 +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 mechanicalProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
rho rho [1 -3 0 0 0 0 0] 7854;
|
||||
|
||||
nu nu [0 0 0 0 0 0 0] 0.3;
|
||||
|
||||
E E [1 -1 -2 0 0 0 0] 2e+11;
|
||||
|
||||
planeStress yes;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,120 +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 1;
|
||||
|
||||
vertices
|
||||
(
|
||||
(0.5 0 0)
|
||||
(1 0 0)
|
||||
(2 0 0)
|
||||
(2 0.707107 0)
|
||||
(0.707107 0.707107 0)
|
||||
(0.353553 0.353553 0)
|
||||
(2 2 0)
|
||||
(0.707107 2 0)
|
||||
(0 2 0)
|
||||
(0 1 0)
|
||||
(0 0.5 0)
|
||||
(0.5 0 0.5)
|
||||
(1 0 0.5)
|
||||
(2 0 0.5)
|
||||
(2 0.707107 0.5)
|
||||
(0.707107 0.707107 0.5)
|
||||
(0.353553 0.353553 0.5)
|
||||
(2 2 0.5)
|
||||
(0.707107 2 0.5)
|
||||
(0 2 0.5)
|
||||
(0 1 0.5)
|
||||
(0 0.5 0.5)
|
||||
);
|
||||
|
||||
blocks
|
||||
(
|
||||
hex (5 4 9 10 16 15 20 21) (10 10 1) simpleGrading (1 1 1)
|
||||
hex (0 1 4 5 11 12 15 16) (10 10 1) simpleGrading (1 1 1)
|
||||
hex (1 2 3 4 12 13 14 15) (20 10 1) simpleGrading (1 1 1)
|
||||
hex (4 3 6 7 15 14 17 18) (20 20 1) simpleGrading (1 1 1)
|
||||
hex (9 4 7 8 20 15 18 19) (10 20 1) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
edges
|
||||
(
|
||||
arc 0 5 (0.469846 0.17101 0)
|
||||
arc 5 10 (0.17101 0.469846 0)
|
||||
arc 1 4 (0.939693 0.34202 0)
|
||||
arc 4 9 (0.34202 0.939693 0)
|
||||
arc 11 16 (0.469846 0.17101 0.5)
|
||||
arc 16 21 (0.17101 0.469846 0.5)
|
||||
arc 12 15 (0.939693 0.34202 0.5)
|
||||
arc 15 20 (0.34202 0.939693 0.5)
|
||||
);
|
||||
|
||||
patches
|
||||
(
|
||||
symmetryPlane left
|
||||
(
|
||||
(8 9 20 19)
|
||||
(9 10 21 20)
|
||||
)
|
||||
patch right
|
||||
(
|
||||
(2 3 14 13)
|
||||
(3 6 17 14)
|
||||
)
|
||||
symmetryPlane down
|
||||
(
|
||||
(0 1 12 11)
|
||||
(1 2 13 12)
|
||||
)
|
||||
patch up
|
||||
(
|
||||
(7 8 19 18)
|
||||
(6 7 18 17)
|
||||
)
|
||||
patch hole
|
||||
(
|
||||
(10 5 16 21)
|
||||
(5 0 11 16)
|
||||
)
|
||||
empty frontAndBack
|
||||
(
|
||||
(10 9 4 5)
|
||||
(5 4 1 0)
|
||||
(1 4 3 2)
|
||||
(4 7 6 3)
|
||||
(4 9 8 7)
|
||||
(21 16 15 20)
|
||||
(16 11 12 15)
|
||||
(12 13 14 15)
|
||||
(15 14 17 18)
|
||||
(15 18 19 20)
|
||||
)
|
||||
);
|
||||
|
||||
mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,69 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 1.4.2 |
|
||||
| \\ / A nd | Web: http://www.openfoam.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class polyBoundaryMesh;
|
||||
object boundary;
|
||||
location "constant/polyMesh";
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
6
|
||||
(
|
||||
left
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 30;
|
||||
startFace 1930;
|
||||
}
|
||||
|
||||
right
|
||||
{
|
||||
type patch;
|
||||
physicalType tractionAdiabatic;
|
||||
nFaces 30;
|
||||
startFace 1960;
|
||||
}
|
||||
|
||||
down
|
||||
{
|
||||
type symmetryPlane;
|
||||
physicalType symmetryPlane;
|
||||
nFaces 30;
|
||||
startFace 1990;
|
||||
}
|
||||
|
||||
up
|
||||
{
|
||||
type patch;
|
||||
physicalType tractionAdiabatic;
|
||||
nFaces 30;
|
||||
startFace 2020;
|
||||
}
|
||||
|
||||
hole
|
||||
{
|
||||
type patch;
|
||||
physicalType tractionAdiabatic;
|
||||
nFaces 20;
|
||||
startFace 2050;
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
physicalType empty;
|
||||
nFaces 2000;
|
||||
startFace 2070;
|
||||
}
|
||||
)
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -1,34 +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 thermalProperties;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
C C [0 2 -2 -1 0 0 0] 434;
|
||||
|
||||
k k [1 1 -3 -1 0 0 0] 60.5;
|
||||
|
||||
alpha alpha [0 0 0 -1 0 0 0] 1.1e-05;
|
||||
|
||||
thermalStress no;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user