Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    OpenFOAMv7 wave Generation Problem

    OpenFOAM
    1
    1
    102
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tonysoton last edited by

      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 Reply Last reply Reply Quote
      • First post
        Last post

      CFD中文网 | 东岳流体 | 京ICP备15017992号-2