Running setSet on /run/media/xye/MyFiles/turbulence2/fluid
Running setsToZones on /run/media/xye/MyFiles/turbulence2/fluid
wmake error: could not change to directory '../setInletVelocity' //这里是我新遇到的情况,不知道则么回事,fsifoam却能跳过他继续计算,然后就报错了
Running fsiFoam on /run/media/xye/MyFiles/turbulence2/fluid
进过最新的修改,已经可以计算,但是到了第三个时间步长的时候很快就会报错跳出,如图所示
因为你这个文件夹里面没有 setInletVelocity 吧?
之前的也不需要这个文件却也能算
此算例边界条件多次修改还是出错。同样的边界用在外侧流体跟管道就没问题。
以下是目前的边界
epsilon:
interfaceWater
{
type epsilonWallFunction;
value uniform 0.172;
}
outlet
{
type inletOutlet;
inletValue uniform 0.172;
value uniform 0;
}
inlet
{
type inletOutlet;
inletValue uniform 0.172;
value uniform 0;
}
k:
interfaceWater
{
type kqRWallFunction;
value uniform 0.09907;
}
outlet
{
type inletOutlet;
inletValue uniform 0.09907;
value uniform 0;
}
inlet
{
type inletOutlet;
inletValue uniform 0.09907;
value uniform 0;
}
nut:
interfaceWater
{
type nutkWallFunction;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
inlet
{
type calculated;
value uniform 0;
}
p:
interfaceWater
{
type zeroGradient;
value uniform 0;
}
outlet
{
type fixedValue;
value uniform 2.2824e4;
}
inlet
{
type zeroGradient;
}
pointmotionU
interfaceWater
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform (0 0 0);
}
U
interfaceWater
{
type movingWallVelocity;
value uniform (0 0 0);
}
outlet
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform (0 0 5.14);
}
controldict:
application fsiFoam;
startFrom startTime;
startTime 0;
stopAt endTime; // noWriteNow;
endTime 0.002;
deltaT 1e-5;
writeControl runTime;
writeInterval 2e-5;
purgeWrite 0;
writeFormat ascii;
writePrecision 8;
writeCompression uncompressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.2;
maxdeltaT 1e-4;
你的 pointMotionU
有问题,你看下如果是这样可行不?
因为 pointMotionU
是设置移动网格的,你的网格除了 interfaceWater
,其余都是不动的。
interfaceWater
又跟固体的边界耦合,因此,不需要设置。
interfaceWater
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type fixedValue; // 这里出口的边界也是不需要移动的
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (0 0 0);
}
1 个赞