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

[waves2Foam] Problem running waves2Foam "waveFlume" tutorial case

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2016, 11:16
Default Problem running waves2Foam "waveFlume" tutorial case
  #1
New Member
 
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10
k.nomi is on a distinguished road
Hi All,

I am a new user of waves2Foam and just tried to run the tutorial waveflume. but it shows the error that in 0/U, the inlet boundaryfield type waveVelocity is undefined. It shows the following error

FOAM FATAL IO ERROR:
Unknown patchField type waveVelocity for patch type patch

Valid patchField types are :

75
(
SRFFreestreamVelocity
SRFVelocity
activeBaffleVelocity
activePressureForceBaffleVelocity
advective
atmBoundaryLayerInletVelocity
calculated
codedFixedValue
codedMixed
cyclic
cyclicACMI
cyclicAMI
cyclicSlip
cylindricalInletVelocity
directionMixed
empty
externalCoupled
fixedGradient
fixedInternalValue
fixedJump
fixedJumpAMI
fixedMean
fixedNormalInletOutletVelocity
fixedNormalSlip
fixedValue
flowRateInletVelocity
fluxCorrectedVelocity
freestream
inletOutlet
interstitialInletVelocity
kqRWallFunction
mapped
mappedField
mappedFixedInternalValue
mappedFixedPushedInternalValue
mappedFlowRate
mappedVelocityFlux
mixed
movingWallVelocity
nonuniformTransformCyclic
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
outletPhaseMeanVelocity
partialSlip
pressureDirectedInletOutletVelocity
pressureDirectedInletVelocity
pressureInletOutletParSlipVelocity
pressureInletOutletVelocity
pressureInletUniformVelocity
pressureInletVelocity
pressureNormalInletOutletVelocity
processor
processorCyclic
rotatingPressureInletOutletVelocity
rotatingWallVelocity
sliced
slip
supersonicFreestream
surfaceNormalFixedValue
swirlFlowRateInletVelocity
symmetry
symmetryPlane
timeVaryingMappedFixedValue
translatingWallVelocity
turbulentInlet
uniformFixedGradient
uniformFixedValue
uniformInletOutlet
uniformJump
uniformJumpAMI
variableHeightFlowRateInletVelocity
waveTransmissive
wedge
zeroGradient
)


file: /home/noumank/OpenFOAM/noumank-2.4.0/waves2Foam/tutorials/waveFoam/waveFlume/0/U.boundaryField.inlet from line 26 to line 30.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143.

FOAM exiting

Please help me out of this situation.
Thanks in advance

Regards
Khalid
k.nomi is offline   Reply With Quote

Old   March 15, 2016, 16:24
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo Khalid,

Welcome. How did you execute the tutorial?

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.
ngj is offline   Reply With Quote

Old   March 16, 2016, 09:49
Post
  #3
New Member
 
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10
k.nomi is on a distinguished road
Hi Niels,

thanks for your response. I have openFOAM 2.4. I just copied contents of 0, constant and system in a seperate directly within the designated folders, then ran the blockMesh command, checkMesh and then interFoam. It showed an error about the name of P file in the 0 folder to change it to p_rgh. I did it and then it showed this error about waveVelocity.
k.nomi is offline   Reply With Quote

Old   March 16, 2016, 10:27
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Khalid,

You have to execute the Allrun script. Also, it is important that you do not move the case, since the relative path to the waves2Foam directory is important for correct execution.

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.
ngj is offline   Reply With Quote

Old   March 18, 2016, 07:48
Default
  #5
New Member
 
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10
k.nomi is on a distinguished road
Hi Niels,

Thanks for your help. the problem was that the waves2Foam was not picking the proper files for the tutorials. I sorted it out.

Khalid
k.nomi is offline   Reply With Quote

Old   April 5, 2016, 06:17
Default Problem running waves2Foam "waveFlume" tutorial case
  #6
121
New Member
 
C. Santiago
Join Date: Apr 2016
Location: Seoul, Korea
Posts: 1
Rep Power: 0
121 is on a distinguished road
Send a message via MSN to 121
Hello Neils,
Thanks first of all for your Wave Generation Toolbox.
I succeeded with the installation of waves2Foam on my computer. I just followed the instructions in this website. https://openfoamwiki.net/index.php/Contrib/waves2Foam.
Now I am trying to run the tutorial cases in order to be more familiar with this library. In particular, I want to run the "waveFlume" case.
I can visualize the grid in Paraview as well as the other control files.
Everything seems that is fine, however when I am trying to run the case with the "waveFoam" solver, the following error message appears:

ubuntu@ubuntu-VirtualBox:~/OpenFOAM/ubuntu-3.0.1/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume$ waveFoam
waveFoam: command not found

Any advice or comment will be useful!
Best Regards.
C. Santiago.

Last edited by wyldckat; August 25, 2018 at 10:05. Reason: merged duplicate posts
121 is offline   Reply With Quote

Old   April 8, 2016, 10:56
Default
  #7
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hallo C. Santiago,

The solver waveFoam is not distributed for minor versions of OpenFoam such as OpenFoam 3.0.1. You will have to create the solver yourself.

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.
ngj is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Mass imbalance problem in multiphase water and steam CFX case Antech CFX 1 October 26, 2020 05:03
multiRegionHeater tutorial visualization problem Bufacchi OpenFOAM Running, Solving & CFD 3 September 18, 2015 10:20
Problem in running STAR-CD Case in multiple processors pmrvignesh STAR-CD 0 May 6, 2014 10:53
Problem running cavityGrade Tutorial CFDMike OpenFOAM Running, Solving & CFD 0 September 23, 2010 08:46
Problem starting a tutorial case alank OpenFOAM Installation 1 December 12, 2006 17:50


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