CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新

    OpenFOAMv7 wave Generation Problem

    OpenFOAM
    1
    1
    217
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • T
      tonysoton 最后由 编辑

      Hi all, I had an issue when using OFv7 to simulation a ship in wave condition.

      As far as I know, OpenFOAM has included its own wave generation tool since OFv5.

      To start with, I copied the DTCHullWave tutorial case into my own directory then I replaced the STL file and then did my own blockMesh, refineMesh and snappyHexMesh etc. Then I did renumberMesh, the error reported:

      --> FOAM FATAL IO ERROR:
      Essential entry 'value' missing

      file: /home/OpenFOAM/OpenFOAM-7/run/KCSDRIFTINWAVE/0/U.boundaryField.inlet from line 31 to line 31.

      Then I had to add value in alpha.water and U files in 0 folder (value $internalField; in both inlet BCs in both files)

      Then setWaves and decomposePar ran smoothly without any error.

      Finally, running interFoam, error reads: Unknown patchField type waveVelocity for patch type patch; (/0/U.boundaryField.inlet)

      I think the same error will reported in 0/alpha.water.inlet as well for Unknown patchField type waveAlpha for patch type patch;

      Please let me know if you have any hints to resolve this issue! Btw I am using OF version 7 and the patches of waveAlpha and waveVelocity should have been included in OFv7, and I can run DTCHullWave tutorial case without any error!

      Btw, I am not sure whether it is worth installing a third-party wave generation tool eg. waves2Foam in OpenFOAM v7? But I think waves2Foam is not compatible with OpenFOAMv7.

      Sorry for using English instead of Chinese due to the lack of Chinese character coding input on the workstation.

      Any help will be appreciated!
      Tony

      1 条回复 最后回复 回复 引用
      • First post
        Last post