我正在尝试使用更现实的边界条件修改sonicFoam forwardStep 示例。
在0/p
:
//internalField uniform 1;
internalField uniform 100000;
boundaryField
{
inlet
{
type fixedValue;
//value uniform 1;
value uniform 100000;
}
并在0/p
:
//internalField uniform 1;
internalField uniform 300;
boundaryField
{
inlet
{
type fixedValue;
//value uniform 1;
value uniform 300;
}
但这会导致一个奇怪的错误:
时间 = 0.002
无迭代 1 smoothSolver:求解 Uy,初始残差 = 0.0462988,最终残差 = 1.90246e-17,无迭代 1 SmoothSolver:求解 e,初始残差 = 0.999979,最终残差 = 1.12177e-06,无迭代 3 0 泡沫: :error::printStack(Foam::Ostream&) 在 ??:? 1 Foam::sigFpe::sigHandler(int) at ??:? 2 ? 在 "/lib64/libc.so.6" 3 Foam::sqrt(Foam::Field&, Foam::UList const&) at ??:? 4 Foam::sqrt(Foam::tmp > const&) at ??:? 5 Foam::waveTransmissiveFvPatchField::advectionSpeed() const at ??:? 6 Foam::advectiveFvPatchField::updateCoeffs() at ??:? 7 Foam::GeometricField::Boundary::updateCoeffs() 在 ??:? 8 Foam::fvMatrix::fvMatrix(Foam::GeometricField const&, Foam::dimensionSet const&) 在 ??:? 9 Foam::tmp > Foam::fv::optionList::operator()(Foam:: GeometricField const&, Foam::GeometricField&, Foam::word const&) 在 ??:? 10 ? 在 ??:?11 __libc_start_main 在“/lib64/libc.so.6” 12 中?在 ??:?浮点异常
如果您能帮助我了解问题所在以及如何解决,我将不胜感激。
关键词: Floating point exception
, __libc_start_main
, Foam::error::printStack(Foam::Ostream&)
,