|
[Sponsors] |
[waves2Foam] 3DWaves case: Unknown patchField type waveVelocity |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 21 ![]() |
I have openFoam 2.2 and I added the wave2Foam toolbox to it. I have this toolbox folder on my desktop and could compile it without any problem.
But when I try to run the 3Dwaves tutorial I get the following error: Code:
Unknown patchField type waveVelocity for patch type patch Valid patchField types are : 67 ( SRFFreestreamVelocity SRFVelocity activeBaffleVelocity activePressureForceBaffleVelocity advective atmBoundaryLayerInletVelocity calculated codedFixedValue codedMixed cyclic cyclicAMI cyclicSlip cylindricalInletVelocity directionMixed empty fixedGradient fixedInternalValue fixedJump fixedJumpAMI fixedMean fixedNormalSlip fixedValue flowRateInletVelocity fluxCorrectedVelocity freestream inletOutlet kqRWallFunction mapped mappedField mappedFixedInternalValue mappedFixedPushedInternalValue mappedFlowRate mappedVelocityFlux mixed movingWallVelocity nonuniformTransformCyclic oscillatingFixedValue outletInlet outletMappedUniformInlet partialSlip pressureDirectedInletOutletVelocity pressureDirectedInletVelocity pressureInletOutletParSlipVelocity pressureInletOutletVelocity pressureInletUniformVelocity pressureInletVelocity pressureNormalInletOutletVelocity processor processorCyclic rotatingPressureInletOutletVelocity rotatingWallVelocity sliced slip supersonicFreestream surfaceNormalFixedValue swirlFlowRateInletVelocity symmetryPlane timeVaryingMappedFixedValue translatingWallVelocity turbulentInlet uniformFixedValue uniformJump uniformJumpAMI variableHeightFlowRateInletVelocity waveTransmissive wedge zeroGradient ) file: /home/paritosh/Desktop/currentWork/waveTests/3Dwaves/0/U.boundaryField.inlet0 from line 26 to line 30. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 136. FOAM exiting So any help or suggestion? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 21 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
Hi Paritosh and others,
I cannot reproduce the error, as I have been able to execute the 3Dwaves tutorial straight out of the box on OF2.2. I used a check-out of revision 2040. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 21 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
No, I mean that by using the most recent svn revision of waves2Foam, I cannot reproduce the error.
waves2Foam is a plugin to OpenFoam, and I try to keep it up to date with new versions, but it is not natively distributed with neither OpenFoam nor the foam-extend project. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 21 ![]() |
Ok, I got it now. I simply misunderstood your sentence and started looking for the wave2Foam in openFoam folders. Silly me!!
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Anthony Moris Danve
Join Date: Jul 2020
Posts: 3
Rep Power: 4 ![]() |
I also faced the same trouble for "Unknown patchField type waveVelocity". May you help me fix it?. Thanks
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
Hi Anthony,
You need to provide a lot more information to expect qualified help. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 5 ![]() |
Hi, I have had the same problem recently.
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! Any help will be appreciated! ![]() Tony |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 5 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,894
Rep Power: 36 ![]() ![]() |
Hi Tony,
The way you describe the workflow, you rely on the wave models in OpenFoam 7 or olaFlow. Neither of these are related to waves2Foam, so I can only recommend that you direct your question to a suitable thread. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
![]() |
![]() |
![]() |
![]() |
#12 | |
Member
Tony Zhang
Join Date: Nov 2019
Location: soton
Posts: 45
Rep Power: 5 ![]() |
Quote:
Thank you for your quick reply! As mentioned before, I am using OF to simulate ships in waves. Is waves2Foam compatible within OpenFOAMv7? I am thinking to use waves2Foam for wave generation instead of OF own one now. Many thanks, Tony |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
wallHeatFlux utility for an incompressible case | Mr.Jingles | OpenFOAM Post-Processing | 62 | December 22, 2018 12:07 |
Inlet patch problems | martyn88 | OpenFOAM Running, Solving & CFD | 6 | April 21, 2017 19:34 |
LES supersonic free jet | martyn88 | OpenFOAM | 22 | April 17, 2015 07:00 |
SimpleFoam - instable simulation | Specialist | OpenFOAM Running, Solving & CFD | 17 | August 12, 2014 05:52 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |