お世話になっております。srvです。
今回の現象をyoutubeにアップロードしてみました。
http://www.youtube.com/watch?v=8FgaqJx8Wqo
いまだに界面が下がってくるという現象が理解できません。
設定ファイルのミスも考えられるので、もし変な所がありましたらご指摘いただきたいです。
境界条件 上から速度、ボイド率、圧力
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
leftWall
{
type fixedValue;
value uniform (0 0 0);
}
rightWall
{
type fixedValue;
value uniform (0 0 0);
}
lowerWall
{
type fixedValue;
value uniform (0 0 0);
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
// type zeroGradient;
}
defaultFaces
{
type empty;
}
}
//
************************************************************************* //
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 1;
boundaryField
{
leftWall
{
type zeroGradient;
}
rightWall
{
type zeroGradient;
}
lowerWall
{
type zeroGradient;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
defaultFaces
{
type empty;
}
}
//
************************************************************************* //
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
leftWall
{
type buoyantPressure;
value uniform 0;
}
rightWall
{
type buoyantPressure;
value uniform 0;
}
lowerWall
{
type buoyantPressure;
value uniform 0;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
defaultFaces
{
type empty;
}
}
//
************************************************************************* //
メッシュファイル
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
convertToMeters 0.05;
vertices
(
(0 0 0)
(1 0 0)
(1 1 0)
(0 1 0)
(0 0 0.1)
(1 0 0.1)
(1 1 0.1)
(0 1 0.1)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (100 100 1) simpleGrading (1 1 1)
);
edges
(
);
patches
(
/* wall fixedWall
(
(3 7 6 2)
(0 4 7 3)
(2 6 5 1)
(0 1 5 4)
)
empty frontAndBack
(
(0 3 2 1)
(4 5 6 7)
)
*/
wall leftWall
(
(0 4 7 3)
)
wall rightWall
(
(2 6 5 1)
)
wall lowerWall
(
(0 1 5 4)
)
patch atmosphere
(
(3 2 6 7)
)
);
mergePatchPairs
(
);
//
************************************************************************* //
boundaryファイル
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
5
(
leftWall
{
type wall;
nFaces 100;
startFace 19800;
}
rightWall
{
type wall;
nFaces 100;
startFace 19900;
}
lowerWall
{
type wall;
nFaces 100;
startFace 20000;
}
atmosphere
{
type patch;
nFaces 100;
startFace 20100;
}
defaultFaces
{
type empty;
nFaces 20000;
startFace 20200;
}
)
//
************************************************************************* //
controlDict
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
application interFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 0.6;
deltaT 0.0001;
writeControl adjustableRunTime;
writeInterval 0.01;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;
//
************************************************************************* //
setFields
/*--------------------------------*- C++ -
*----------------------------------*\
| =========
| |
| \\ / F ield | OpenFOAM: The Open Source CFD
Toolbox |
| \\ / O peration | Version:
1.7.0 |
| \\ / A nd | Web:
www.OpenFOAM.com
|
| \\/ M anipulation
| |
\*---------------------------------------------------------------------------
*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * //
defaultFieldValues
(
volScalarFieldValue alpha1 1
);
regions
(
sphereToCell
{
centre (0.025 0 0.00);
radius 0.004;
fieldValues
(
volScalarFieldValue alpha1 0
);
}
);
//
************************************************************************* //