浮点数例外(核心已转储) 问题



  • 先对路过的大佬表示下感谢!在运行overOlaDyMFlow时没一会就出现了如下问题,看了网上的大部分解答,也没清楚自己的原因在哪,

    PIMPLE: Operating solver in PISO mode
    
    Reading field porosityIndex
    
    Porosity NOT activated
    
    Reading field p_rgh
    
    Reading field U
    
    Reading/calculating face flux field phi
    
    Creating cellMask field to block out hole cells
    
    Creating interpolatedCells field 
    
    Reading transportProperties
    
    Selecting incompressible transport model Newtonian
    Selecting incompressible transport model Newtonian
    Selecting turbulence model type RAS
    Selecting RAS turbulence model kOmegaSST
    Selecting patchDistMethod meshWave
    RAS
    {
        RASModel        kOmegaSST;
        turbulence      on;
        printCoeffs     on;
        alphaK1         0.85;
        alphaK2         1;
        alphaOmega1     0.5;
        alphaOmega2     0.856;
        gamma1          0.555555555556;
        gamma2          0.44;
        beta1           0.075;
        beta2           0.0828;
        betaStar        0.09;
        a1              0.31;
        b1              1;
        c1              10;
        F3              false;
        decayControl    false;
        kInf            0;
        omegaInf        0;
    }
    
    
    Reading g
    
    Reading hRef
    Calculating field g.h
    
    No MRF models present
    
    No finite volume options present
    DICPCG:  Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
    Reading/calculating face velocity Uf
    
    Courant Number mean: 0 max: 0
    
    Starting time loop
    
    Courant Number mean: 0 max: 0
    Interface Courant Number mean: 0 max: 0
    deltaT = 1.19997600048e-05
    Time = 1.19998e-05
    
    PIMPLE: iteration 1
    forces forces:
    --> FOAM Warning : 
        From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
        in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 868
        Cannot find any patch or group names matching floatingObject
        rho: rho
        Not including porosity effects
    
    6-DoF rigid body motion
        Centre of rotation: (2 0.5 0.999999999647)
        Centre of mass: (2 0.5 0.999999999647)
        Orientation: (1 0 0 0 1 0 0 0 1)
        Linear velocity: (0 0 -5.88588228235e-05)
        Angular velocity: (0 0 0)
    inverseDistance : detected 1 mesh regions
        zone:0 nCells:2096472  voxels:(127 127 127) bb:(-4.472135955e-06 -0.100004472136 -4.472135955e-06) (4.00000447214 1.10000447214 1.60000447214)
    Overset analysis : nCells : 2096472
        calculated   : 1800000
        interpolated : 0 (interpolated from local:0  mixed local/remote:0  remote:0)
        hole         : 296472
    
    Execution time for mesh.update() = 7.21 s
    smoothSolver:  Solving for alpha.water, Initial residual = 0, Final residual = 0, No Iterations 0
    Phase-1 volume fraction = 0  Min(alpha.water) = 0  Max(alpha.water) = 0
    MULES: Correcting alpha.water
    alpha.water BC on patch inlet
    #0  Foam::error::printStack(Foam::Ostream&) addr2line failed
    #1  Foam::sigFpe::sigHandler(int) addr2line failed
    #2  ? addr2line failed
    #3  StokesIFun::waveLength(double, double) addr2line failed
    #4  Foam::waveAlphaFvPatchScalarField::updateCoeffs() addr2line failed
    #5  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()
    #6  ?
    #7  ?
    #8  ?
    #9  __libc_start_main addr2line failed
    #10  ?
    浮点数例外 (核心已转储)
    

    此前还存有一个warning

    --> FOAM Warning : 
        From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
        in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 868
        Cannot find any patch or group names matching floatingObject
    

    不知道是否对求解造成了影响



  • 浮点数溢出(核心已转储)应该是你网格有问题,刚开始做的时候我也经常遇到,到,可以先查查网格,长宽比不要太大。warning 的话一般没有问题的,只要不出现错误。



  • @一颗鸭蛋 谢谢你的回答,我用的重叠网格,贴体网格和背景网格的长宽都是1:1且一样大,然后就不知道问题出在哪里了:zoule:


Log in to reply
 

CFD中文网 2016 - 2020 | 京ICP备15017992号-2