Moin,
Habe mir in Icem ein Netz erstellt und dieses in OpenFoam eingefüht. checkMesh ergab, dass das Netz in Ordnung ist.
Habe die System Dateien von channel395 übernommen und die constant Dateien vernünftig verändert.
Das Problem liegt, denke ich, bei den Anfangsbedingungen "p" und "U".
Also mein "Boundary" sieht wie folgt aus:
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
INLET
{
type patch;
nFaces 14161;
startFace 8392594;
}
OUTLET
{
type patch;
nFaces 14161;
startFace 8406755;
}
TOPWALL
{
type wall;
nFaces 23681;
startFace 8420916;
}
BOTTOMWALL
{
type wall;
nFaces 23681;
startFace 8444597;
}
RIGHTWALL
{
type wall;
nFaces 23681;
startFace 8468278;
}
LEFTWALL
{
type wall;
nFaces 23681;
startFace 8491959;
}
)
_____
Meine Anfangsbedingungen:
U:
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 1 -1 0 0 0 0 ];
internalField uniform ( 1 0 0 );
boundaryField
{
BOTTOMWALL
{
type fixedValue;
value uniform (0 0 0);
}
TOPWALL
{
type fixedValue;
value uniform (0 0 0);
}
LEFTWALL
{
type zeroGradient;
}
RIGHTWALL
{
type zeroGradient;
}
INLET
{
type fixedValue;
value uniform (1 0 0);
}
OUTLET
{
type inletOutlet;
inletValue uniform (0 0 0 );
value uniform (0 0 0);
}
}
und p:
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [ 0 2 -2 0 0 0 0 ];
internalField uniform 0;
boundaryField
{
BOTTOMWALL
{
type zeroGradient;
}
TOPWALL
{
type zeroGradient;
}
LEFTWALL
{
type zeroGradient;
}
RIGHTWALL
{
type zeroGradient;
}
INLET
{
type zeroGradient;
}
OUTLET
{
type fixedValue;
value uniform 0;
}
}
Nach 3 oder 4 Zeitschritten steigt die Courant Zahl stark und der Vorgang bricht ab. Könnt ihr mir helfen?
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP