Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. 使用makeAxialMesh生成楔形网格后网格正交性变差

使用makeAxialMesh生成楔形网格后网格正交性变差

已定时 已固定 已锁定 已移动 OpenFOAM
3 帖子 1 发布者 413 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • S 离线
    S 离线
    sy2315317
    写于 最后由 编辑
    #1

    使用pointwise输出二维网格,网格检查结果良好fafdaa8b-3460-48da-aac0-2f40cea6718c-image.png
    但是用
    makeAxialMesh -case ~/OpenFOAM/sy-v1706/run/00mesh -axis symmetry -wedge BaseAndTop
    collapseEdges指令生成楔形网格后检查网格质量,正交性变差,导致计算不断报错。
    32985f27-03ad-47cb-bfaf-b26cce83f1b1-image.png

    1 条回复 最后回复
  • S 离线
    S 离线
    sy2315317
    写于 最后由 编辑
    #2

    已经解决了,需要在controlDic中修改输出精度,至少在12以上

    1 条回复 最后回复
  • S 离线
    S 离线
    sy2315317
    写于 最后由 编辑
    #3

    但计算过程中会出现CFL数突然增大之后报错的问题Mean and max Courant Numbers = 0.0196702 0.2
    deltaT = 1.34917e-09
    Time = 1.381229231e-07

    diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
    DILUPBiCG: Solving for N2, Initial residual = 0.102714, Final residual = 8.31435e-10, No Iterations 11
    DILUPBiCG: Solving for O2, Initial residual = 0.0998228, Final residual = 2.97854e-08, No Iterations 11
    DILUPBiCG: Solving for NO, Initial residual = 0.00103043, Final residual = 4.54498e-07, No Iterations 11
    DILUPBiCG: Solving for N2+, Initial residual = 0.157236, Final residual = 1.27729e-09, No Iterations 11
    DILUPBiCG: Solving for O2+, Initial residual = 0.157241, Final residual = 1.44374e-09, No Iterations 11
    DILUPBiCG: Solving for NO+, Initial residual = 0.157279, Final residual = 1.20494e-09, No Iterations 11
    DILUPBiCG: Solving for N, Initial residual = 0.00643012, Final residual = 4.19377e-07, No Iterations 11
    DILUPBiCG: Solving for O, Initial residual = 0.00193657, Final residual = 2.2919e-07, No Iterations 11
    DILUPBiCG: Solving for N+, Initial residual = 0.157174, Final residual = 1.12526e-09, No Iterations 11
    DILUPBiCG: Solving for O+, Initial residual = 0.156703, Final residual = 1.23372e-08, No Iterations 11
    DILUPBiCG: Solving for e-, Initial residual = 0.0591289, Final residual = 2.85246e-15, No Iterations 5
    diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoUz, Initial residual = 0, Final residual = 0, No Iterations 0
    smoothSolver: Solving for Ux, Initial residual = 5.41102e-05, Final residual = 5.24963e-09, No Iterations 120
    smoothSolver: Solving for Uy, Initial residual = 0.00128686, Final residual = 1.27448e-07, No Iterations 160
    smoothSolver: Solving for Uz, Initial residual = 0.000139985, Final residual = 1.28962e-08, No Iterations 70
    diagonal: Solving for rhoEv, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
    smoothSolver: Solving for hevel, Initial residual = 0.000257938, Final residual = 3.98118e-07, No Iterations 400
    smoothSolver: Solving for e, Initial residual = 0.00686842, Final residual = 6.70799e-06, No Iterations 140
    Attempt to use rho2ReactionThermo out of temperature range 139 times during this iteration.
     Thigh: 40000 < 640000
    Phase no 1.0 ExecutionTime = 4.97 s ClockTime = 5 s Iteration no 112 (0.04 s)

    Mean and max Courant Numbers = 0.0196515 0.552368
    deltaT = 4.88502e-10
    Time = 1.386114254e-07

    diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
    DILUPBiCG: Solving for N2, Initial residual = 0.0831271, Final residual = 4.94891e-09, No Iterations 11
    DILUPBiCG: Solving for O2, Initial residual = 0.0830444, Final residual = 6.0302e-09, No Iterations 11
    DILUPBiCG: Solving for NO, Initial residual = 0.0225179, Final residual = 4.10796e-07, No Iterations 11
    DILUPBiCG: Solving for N2+, Initial residual = 0.070932, Final residual = 1.23497e-08, No Iterations 11
    DILUPBiCG: Solving for O2+, Initial residual = 0.0707959, Final residual = 1.16027e-08, No Iterations 11
    DILUPBiCG: Solving for NO+, Initial residual = 0.0712528, Final residual = 1.38649e-08, No Iterations 11
    DILUPBiCG: Solving for N, Initial residual = 0.117227, Final residual = 8.58776e-08, No Iterations 11
    DILUPBiCG: Solving for O, Initial residual = 0.209694, Final residual = 8.63459e-07, No Iterations 11
    DILUPBiCG: Solving for N+, Initial residual = 0.240723, Final residual = 1.5458e-05, No Iterations 11
    DILUPBiCG: Solving for O+, Initial residual = 0.0709349, Final residual = 3.14266e-08, No Iterations 11
    DILUPBiCG: Solving for e-, Initial residual = 0.0330941, Final residual = 7.94061e-14, No Iterations 3
    diagonal: Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoUz, Initial residual = 0, Final residual = 0, No Iterations 0
    smoothSolver: Solving for Ux, Initial residual = 1.89119e-05, Final residual = 1.65027e-09, No Iterations 70
    smoothSolver: Solving for Uy, Initial residual = 0.000264353, Final residual = 2.41377e-08, No Iterations 102
    smoothSolver: Solving for Uz, Initial residual = 5.29899e-05, Final residual = 5.01779e-09, No Iterations 70
    diagonal: Solving for rhoEv, Initial residual = 0, Final residual = 0, No Iterations 0
    diagonal: Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
    smoothSolver: Solving for hevel, Initial residual = 0.278772, Final residual = 249.287, No Iterations 400
    smoothSolver: Solving for e, Initial residual = 0.00510102, Final residual = 1.56626e+32, No Iterations 400
    Attempt to use rho2ReactionThermo out of temperature range 3106 times during this iteration.
    -2.31822e+10 < Tlow: 200
     Thigh: 40000 < 3.66402e+10
    Phase no 1.0 ExecutionTime = 5.02 s ClockTime = 5 s Iteration no 113 (0.05 s)

    [10] #0 Foam::error::printStack(Foam::Ostream&)[9] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
    at ??:?
    [9] #1 Foam::sigFpe::sigHandler(int)[10] #1 Foam::sigFpe::sigHandler(int) at ??:?
    [9] #2 ? at ??:?
    [10] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
    [9] #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/lib/x86_64-linux-gnu/libc.so.6"
    [10] #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:?
    [9] #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [9] #5 at ??:?
    [10] #4 ?Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [9] #6 in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [10] #5 ?? in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [9] #7 __libc_start_main in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [10] #6 in "/lib/x86_64-linux-gnu/libc.so.6"
    [9] #8 ?? in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [10] #7 __libc_start_main in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [DESKTOP-N36BFE3:23240] *** Process received signal ***
    [DESKTOP-N36BFE3:23240] Signal: Floating point exception (8)
    [DESKTOP-N36BFE3:23240] Signal code: (-6)
    [DESKTOP-N36BFE3:23240] Failing at address: 0x3e800005ac8
    [DESKTOP-N36BFE3:23240] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f49b1370090]
    [DESKTOP-N36BFE3:23240] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f49b137000b]
    [DESKTOP-N36BFE3:23240] [ 2] in "/lib/x86_64-linux-gnu/libc./lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7f49b1370090]
    [DESKTOP-N36BFE3:23240] [ 3] so.6"
    [10] #8 /home/sy/OpenFOAM/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam4sqrtERNS_5FieldIdEERKNS_5UListIdEE+0x3a)[0x7f49b1f24b7a]
    [DESKTOP-N36BFE3:23240] [ 4] hy2Foam(ZN4Foam4sqrtINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKS8+0x174)[0x55dafcc83f74]
    [DESKTOP-N36BFE3:23240] [ 5] hy2Foam(+0x3fed5)[0x55dafcc10ed5]
    [DESKTOP-N36BFE3:23240] [ 6] hy2Foam(+0x3464c)[0x55dafcc0564c]
    [DESKTOP-N36BFE3:23240] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f49b1351083]
    [DESKTOP-N36BFE3:23240] [ 8] hy2Foam(+0x35f1e)[0x55dafcc06f1e]
    [DESKTOP-N36BFE3:23240] *** End of error message ***
    ? in "/home/sy/OpenFOAM/sy-v1706/platforms/linux64GccDPInt32Opt/bin/hy2Foam"
    [DESKTOP-N36BFE3:23241] *** Process received signal ***
    [DESKTOP-N36BFE3:23241] Signal: Floating point exception (8)
    [DESKTOP-N36BFE3:23241] Signal code: (-6)
    [DESKTOP-N36BFE3:23241] Failing at address: 0x3e800005ac9
    [DESKTOP-N36BFE3:23241] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7fb8d8d28090]
    [DESKTOP-N36BFE3:23241] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fb8d8d2800b]
    [DESKTOP-N36BFE3:23241] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x43090)[0x7fb8d8d28090]
    [DESKTOP-N36BFE3:23241] [ 3] /home/sy/OpenFOAM/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam4sqrtERNS_5FieldIdEERKNS_5UListIdEE+0x3a)[0x7fb8d98dcb7a]
    [DESKTOP-N36BFE3:23241] [ 4] hy2Foam(ZN4Foam4sqrtINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKS8+0x174)[0x55f634616f74]
    [DESKTOP-N36BFE3:23241] [ 5] hy2Foam(+0x3fed5)[0x55f6345a3ed5]
    [DESKTOP-N36BFE3:23241] [ 6] hy2Foam(+0x3464c)[0x55f63459864c]
    [DESKTOP-N36BFE3:23241] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fb8d8d09083]
    [DESKTOP-N36BFE3:23241] [ 8] hy2Foam(+0x35f1e)[0x55f634599f1e]
    [DESKTOP-N36BFE3:23241] *** End of error message ***

    Primary job terminated normally, but 1 process returned
    a non-zero exit code. Per user-direction, the job has been aborted.


    mpirun noticed that process rank 9 with PID 0 on node DESKTOP-N36BFE3 exited on signal 8 (Floating point exception).

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]