dimensions [1 -1 -2 0 0 0 0];
internalField uniform 100000.000;
boundaryField
{
cylinder1
{
type zeroGradient;
}
cylinder2
{
type zeroGradient;
}
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 100000.000;
}
symFront
{
type zeroGradient;
}
symBack
{
type zeroGradient;
}
bottom
{
type fixedJump;
patchType cyclic;
jump uniform 0;
}
top
{
type fixedJump;
patchType cyclic;
}
}
// ************************************************************************* //
BlockMesh
onvertToMeters 0.01;
vertices
(
(-4 -0.66 1) //0
(10 -0.66 1) //1
(10 1.34 1) //2
(-4 1.34 1) //3
(-4 -0.66 6) //4
(10 -0.66 6) //5
(10 1.34 6) //6
(-4 1.34 6) //7
( 3 1.34 1) //8
( 3 -0.66 1) //9
( 3 1.34 6) //10
( 3 -0.66 6) //11
( -1 -0.66 1) //12
( -1 1.34 1) //13
( -1 1.34 6) //14
( -1 -0.66 6) //15
);
blocks
(
hex (0 12 13 3 4 15 14 7) (150 100 40) simpleGrading (1 1 1)
hex (12 9 8 13 15 11 10 14) (200 100 40)
simpleGrading
(
(
//x
(1 1 1)
)
(
//y
(1 1 1)
)
(
//z
(1 1 1)
)
)
hex (9 1 2 8 11 5 6 10) (350 100 40) simpleGrading (1 1 1)
);
edges
(
);
boundary
(
bottom
{
type cyclic;
neighbourPatch top;
faces
(
(1 5 11 9)
(9 11 15 12)
(12 15 4 0)
);
}
top
{
type cyclic;
neighbourPatch bottom;
faces
(
(2 8 10 6)
(8 13 14 10)
(13 3 7 14)
);
}
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(2 6 5 1)
);
}
symFront
{
type patch;
faces
(
(4 15 14 7)
(15 11 10 14)
(11 5 6 10)
);
}
symBack
{
type patch;
faces
(
(0 12 13 3)
(12 9 8 13)
(9 1 2 8)
);
}
);
mergePatchPairs
(
);
// ************************************************************************* //
また,計算は圧力が適切に計算されてなくても行われ,圧力の計算で0やNANが起きるのはある時間のときのみです.以下に例を示します.
t=0.0002
boundaryField
{
bottom
{
type fixedJump;
patchType cyclic;
jump uniform 0;
value nonuniform List<scalar>
56000
(
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
100176
t=0.0003
boundaryField
{
bottom
{
type fixedJump;
patchType cyclic;
jump nonuniform List<scalar>
56000
(
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
ぜひどなたかアドバイスくださいよろしくお願いします.
2020年3月6日金曜日 18時27分43秒 UTC+9 takemitsu: