@李东岳 静态网格也是有这个问题的。按理说不应该啊...我再跑跑其他类似的原生算例
p:
#include "../varsSettings" //Include global variables
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value $internalField;
}
frontAndBack
{
type empty;//zeroGradient;
}
topAndBottom
{
type zeroGradient;
}
frame
{
type zeroGradient;//fixedFluxPressure;
}
}
U:
#include "../varsSettings" //Include global variables
dimensions [0 1 -1 0 0 0 0];
internalField uniform $flowVelocity;
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}
frontAndBack
{
type empty;//slip;
//value uniform (0 0 0);
}
topAndBottom
{
type slip;
value uniform (0 0 0);
}
frame
{
type noSlip;//movingWallVelocity;
//value uniform (0 0 0);
}
}
算例文件 OpenfOAM2012 网格数4w
functionalTest_NoPZRefine2_2D_staticMesh.zip