运行东岳流体reactingTwoPhaseEulerFoam|多流体模型中李老师上传的案例提示错误



  • 李老师,您好:
    刚入门openfoam,运行东岳流体reactingTwoPhaseEulerFoam|多流体模型中的案例熟悉流程时,提示出错:

    Executing functionObjects
    --> FOAM Warning : 
        From function Foam::label Foam::sampledSets::classifyFields()
        in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140
        Cannot find registered field matching alpha.airMean
    --> FOAM Warning : 
        From function Foam::label Foam::sampledSets::classifyFields()
        in file sampledSet/sampledSets/sampledSetsGrouping.C at line 140
        Cannot find registered field matching U.waterMean
    

    我用的是openfoam8,麻烦李老师帮忙看一下,非常感谢!@李东岳


  • 管理员

    http://dyfluid.com/reactingTwoPhaseEulerFoam.html

    多谢反馈。我更新了一下。你试试。另外,OpenFOAM-8里面已经没有这个求解器了,你是怎么用的?目前我这个算例用OpenFOAM-7可以运行。我刚跑了一遍。



  • @OF初学者周 这个是最后sample操作时候的报错,求解器的报错在 log.multiphaseEulerFoam里边。
    我修改了求解器为multiphaseEulerFoam, phase properties type basicMultiphaseSystem, 提示需要定义alpha.water, 添加后还需要定义fvSchemes,可能是我添加有误,操作完成后还出现如下报错:
    我也来蹲🙈一个大佬:papa:

    Courant Number mean: 0.0001514815028686309 max: 0.01324964389123762
    deltaT = 0.002398081534772182
    Time = 0.00239808
    
    PIMPLE: Iteration 1
    #0  Foam::error::printStack(Foam::Ostream&) at ??:?
    #1  Foam::sigFpe::sigHandler(int) at ??:?
    #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
    #3  Foam::MULES::limitSum(Foam::UPtrList<Foam::Field<double> const> const&, Foam::UPtrList<Foam::Field<double> >&, Foam::HashSet<int, Foam::Hash<int> > const&) at ??:?
    #4  void Foam::MULES::limitSum<Foam::PtrList<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > >(Foam::PtrList<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&, Foam::PtrList<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> >&, Foam::HashSet<int, Foam::Hash<int> > const&) at ??:?
    #5  Foam::phaseSystem::solve(Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&, Foam::PtrList<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > const&) at ??:?
    #6  ? in "/home/veen/Disk/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/multiphaseEulerFoam"
    #7  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
    #8  ? in "/home/veen/Disk/OpenFOAM/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/multiphaseEulerFoam"
    Floating point exception (core dumped)
    

Log in to reply
 


CFD中文网 | 东岳流体学术 | 东岳流体商业 | 吉ICP备20003622号-1