|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Pablo Montalvo
Join Date: Feb 2015
Location: Taiwan
Posts: 9
Rep Power: 12 ![]() |
Hello everyone,
I started using OpenFOAM (2.3.0) recently and enjoyed it a lot. I really like the development of the waveFoam package, congratulations! Everything is built perfectly and I managed to run every tutorial, but now I have encountered a problem. I want to add a new wave theory which is just a first order Stokes wave with modulation. So I wrote the .C and the header corresponding, and tried to run my case, which is for now the tutorial 3DWaves but with FirstOrderModulated for the wave theory. I got the following error Code:
setWaveParameters Create time Reading g Reading waveProperties --> FOAM FATAL ERROR: Unknown wave property type stokesFirstModulationProperties Valid wave property types are : 14 ( solitaryFirstProperties stokesSecondProperties cnoidalFirstProperties combinedWavesProperties potentialCurrentProperties irregularProperties bichromaticFirstProperties stokesSecondModulationProperties streamFunctionProperties bichromaticSecondProperties stokesFirstStandingProperties externalSourceProperties stokesFirstProperties stokesFifthProperties ) From function setWaveProperties::New(const fvMesh&, const Time&, ...) in file preProcessing/setWaveProperties/setWaveProperties.C at line 261. FOAM exiting |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
New Member
Arun Kumar
Join Date: Sep 2019
Location: Dundee, Scotland
Posts: 15
Rep Power: 7 ![]() |
Quote:
I am facing the same issue. Did you find a solution!? Thanks, Arun. |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Arun Kumar
Join Date: Sep 2019
Location: Dundee, Scotland
Posts: 15
Rep Power: 7 ![]() |
Quote:
![]() To anyone who might be in this trouble. Check your WAVES_APPBIN and WAVES_LIBBIN in bin/bashrc inside waves2Foam. I set these to $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN respectively. That fixed the issue. Regards, Arun. |
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
irengclenk
Join Date: Feb 2021
Posts: 5
Rep Power: 6 ![]() |
Hi guys,
I am a beginner and was able to solve this by doing this: 1. check the options file is avalaible in the make folder. So if we want to modify the set wave properties check the make folder here /home/u0142217/OpenFOAM/waves2Foam-master/src/waves2FoamProcessing/preProcessing chosse the correct option version and rename it into options 2. Make sure the modified folder is written in the files 3. ./Allwmake That worked for me. Hope it helps ![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure for wave height in an Water Wave Tank | Cluain | CFX | 8 | December 6, 2021 04:58 |
[waves2Foam] How to use stream function wave theory | Melo1993 | OpenFOAM Community Contributions | 9 | May 29, 2020 08:11 |
[waves2Foam] New wave theory coded in FORTRAN, how to add to waves2Foam? | Kun_zheng | OpenFOAM Community Contributions | 6 | August 30, 2017 05:58 |
[PyFoam] and paraview | eelcovv | OpenFOAM Community Contributions | 28 | May 30, 2016 10:23 |
Wave Theory | oliver.mulryan | Main CFD Forum | 10 | July 9, 2000 12:35 |