|
[Sponsors] |
[waves2Foam] Problem running waves2Foam "waveFlume" tutorial case |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2016, 11:16 |
Problem running waves2Foam "waveFlume" tutorial case
|
#1 |
New Member
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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 |
|
March 15, 2016, 16:24 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
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. |
|
March 16, 2016, 09:49 |
|
#3 |
New Member
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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. |
|
March 16, 2016, 10:27 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
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. |
|
March 18, 2016, 07:48 |
|
#5 |
New Member
Muhammad Nouman Khalid
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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 |
|
April 5, 2016, 06:17 |
Problem running waves2Foam "waveFlume" tutorial case
|
#6 |
New Member
|
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 |
|
April 8, 2016, 10:56 |
|
#7 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
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. |
|
|
|
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 |