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

[waveFoam] Unknown patchField type waveVelocity for patch type patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2021, 02:15
Unhappy [waveFoam] Unknown patchField type waveVelocity for patch type patch
  #1
New Member
 
Nghiep
Join Date: Nov 2021
Posts: 6
Rep Power: 4
Nghiep is on a distinguished road
Hi everyone, I am a new member. Please help me solve the following issue. I have successfully compiled the waves2Foam on OpenFOAM ESI 2106 and tried running the DTCHullMoving case with the same set of the OpenFOAM tutorial. I have just changed the U and alpha.water by the following:

0/U

boundaryField
{
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
inlet
{
type waveVelocity;//zeroGradient;
refValue uniform ( 0 0 0 );
refGradient uniform ( 0 0 0 );
valueFraction uniform 1;
value uniform ( 0 0 0 );

}
.....
and 0/alpha.water

boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type waveAlpha;//zeroGradient;
refValue uniform 0;
refGrad uniform 0;
valueFraction uniform 1;
value uniform 0;
}
....

And the error happens below:
[6] Unknown patchField type waveVelocity for patch type patch
[6]: command not found

My questions are:
1. I'm wondering whether the waveVelocity has been replaced by zeroGradient boundary condition or not.
2. If the 1st question was wrong, how can I fix it to run the waveFoam with waveVelocity.

Thank you in advance.
Nghiep is offline   Reply With Quote

Old   January 18, 2022, 11:03
Default
  #2
Member
 
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 6
zyfsoton is on a distinguished road
Quote:
Originally Posted by Nghiep View Post
Hi everyone, I am a new member. Please help me solve the following issue. I have successfully compiled the waves2Foam on OpenFOAM ESI 2106 and tried running the DTCHullMoving case with the same set of the OpenFOAM tutorial. I have just changed the U and alpha.water by the following:

0/U

boundaryField
{
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
inlet
{
type waveVelocity;//zeroGradient;
refValue uniform ( 0 0 0 );
refGradient uniform ( 0 0 0 );
valueFraction uniform 1;
value uniform ( 0 0 0 );

}
.....
and 0/alpha.water

boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type waveAlpha;//zeroGradient;
refValue uniform 0;
refGrad uniform 0;
valueFraction uniform 1;
value uniform 0;
}
....

And the error happens below:
[6] Unknown patchField type waveVelocity for patch type patch
[6]: command not found

My questions are:
1. I'm wondering whether the waveVelocity has been replaced by zeroGradient boundary condition or not.
2. If the 1st question was wrong, how can I fix it to run the waveFoam with waveVelocity.

Thank you in advance.

Hi, I think I had a similar issue. Instead of using waves2Foam, I am using OFv7 its own wave generation to simulate a ship in wave condition. All run smoothly but when it comes to interFoam, error reported: Unknown patchField type waveVelocity for patch type patch, and I have successfully run the DTCHullWave tutorial case without any error, please let me know if you have any idea to resolve this, any help will be appreciated!

Thanks,
Tony
zyfsoton is offline   Reply With Quote

Old   May 11, 2022, 02:11
Default
  #3
New Member
 
mill
Join Date: Feb 2021
Posts: 9
Rep Power: 5
mill is on a distinguished road
Hi,I'm meeting the same question.waveVelocity may not work in 0/U
mill is offline   Reply With Quote

Old   May 11, 2022, 02:33
Default
  #4
New Member
 
mill
Join Date: Feb 2021
Posts: 9
Rep Power: 5
mill is on a distinguished road
Quote:
Originally Posted by mill View Post
Hi,I'm meeting the same question.waveVelocity may not work in 0/U
I have find the solution.May be you can add into the controlDict like below.
libs
(
"libwaves.so"
)
mill 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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 14:16
singularity? mihaipruna OpenFOAM Running, Solving & CFD 5 April 24, 2012 17:18
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


All times are GMT -4. The time now is 09:27.