CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

OpenFOAMv7 WAVE Generation Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2022, 10:12
Default OpenFOAMv7 WAVE Generation Problem
  #1
Member
 
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 6
zyfsoton is on a distinguished road
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
zyfsoton is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dirichlet wave generation (DWG) pipi REEF3D 2 December 1, 2021 19:34
How can we determined wave decay cause artificial problem or physically reasonable? Tlinxo Main CFD Forum 1 June 9, 2021 12:15
[waves2Foam] irregular wave problem yangzhou OpenFOAM Community Contributions 0 July 19, 2017 08:42
[waves2Foam] regular wave generation attenuation yangzhou OpenFOAM Community Contributions 3 June 29, 2017 04:34
Free surface wave pattern generation sam FLUENT 1 January 2, 2004 16:12


All times are GMT -4. The time now is 14:23.