|
[Sponsors] |
January 18, 2022, 11:12 |
OpenFOAMv7 WAVE Generation Problem
|
#1 |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 7 |
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 hint to resolve this issue! Many thanks and 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. wave2Foam in OpenFOAM v7? Any help will be appreciated! Tony |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dirichlet wave generation (DWG) | pipi | REEF3D | 2 | December 1, 2021 20:34 |
How can we determined wave decay cause artificial problem or physically reasonable? | Tlinxo | Main CFD Forum | 1 | June 9, 2021 13:15 |
[waves2Foam] irregular wave problem | yangzhou | OpenFOAM Community Contributions | 0 | July 19, 2017 09:42 |
[waves2Foam] regular wave generation attenuation | yangzhou | OpenFOAM Community Contributions | 3 | June 29, 2017 05:34 |
Free surface wave pattern generation | sam | FLUENT | 1 | January 2, 2004 17:12 |