运行pisoFoam求解器时出现如下问题
-
执行pisoFoam的时候出现了以下问题,请问各位老师是哪里出了问题 该如何解决呢?
FOAM FATAL ERROR:
[U[0 1 -2 0 0 0 0] ] == [-grad(p)[0 -3 -2 0 0 0 0] ]
From function void Foam::checkMethod(const Foam::fvMatrix<type>&, const Foam::DimensionedField<Type, Foam::volMesh>&, const char*) [with Type = Foam::Vector<double>]
in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvMatrix.C at line 1304FOAM aborting
-
感谢 确实是单位的问题
pisoFoam里面用的是p,之前用interFoam时是p_rgh,刚刚对比了一下发现二者量纲确实不一样(pisoFoam的0文件夹中,p的量纲是[0 2 -2 0 0 0 0], 而interFoam的0文件夹中,p_rgh的量纲是[1 -1 -2 0 0 0 0 ])。
为什么在pisoFoam里用的是除以了密度的p,interFoam中就没有除以密度呢?另外也看到有文章说用p_rgh计算会有较好的稳定性,这个较好的稳定性具体体现在哪里呢?
-
@cccrrryyy
是呢 interFoam是用了VOF方法的谢谢大佬~
-
@cccrrryyy 好的!谢谢~
2020年1月9日 08:53
3/7
2020年1月10日 06:56