|
[Sponsors] |
[waves2Foam] keyword debug is undefined in dictionary waveProperties |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 21, 2015, 03:02 |
keyword debug is undefined in dictionary waveProperties
|
#1 |
New Member
Weiye Ding
Join Date: Jul 2015
Location: Dalian
Posts: 9
Rep Power: 11 |
Hi Niels and waveFoamers
when i try to change the wavetype by stokesSecond or stokesFifth the error comes out the waveProperties.input Code:
seaLevel 0.00; // A list of the relaxation zones in the simulation. The parameters are given // in <name>Coeffs below. relaxationNames (inlet outlet); initializationName outlet; inletCoeffs { // Wave type to be used at boundary "inlet" and in relaxation zone "inlet" waveType stokesSecond; // Ramp time of 2 s Tsoft 2.525; // Water depth at the boundary and in the relaxation zone depth 0.4; // Wave period period 2.525; // Phase shift in the wave phi 0.000000; // Wave number vector, k. direction (1.0 0.0 0.0); // Wave height height 0.022; // Specifications on the relaxation zone shape and relaxation scheme relaxationZone { relaxationScheme Spatial; relaxationShape Rectangular; beachType Empty; relaxType INLET; startX (-7.8 0.0 -1); endX (0 0.0 1); orientation (1.0 0.0 0.0); } }; outletCoeffs { waveType potentialCurrent; U (0 0 0); Tsoft 2; relaxationZone { relaxationScheme Spatial; relaxationShape Rectangular; beachType Empty; relaxType OUTLET; startX (20 0.0 -1); endX (30 0.0 1); orientation (1.0 0.0 0.0); } }; Code:
--> FOAM FATAL IO ERROR: keyword debug is undefined in dictionary "/home/tings/OpenFOAM/tings-2.3.0/OpenFOAM-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume-stokessecondorder/constant/waveProperties.inletCoeffs" file: /home/tings/OpenFOAM/tings-2.3.0/OpenFOAM-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/waveFlume-stokessecondorder/constant/waveProperties.inletCoeffs from line 25 to line 43. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 437. FOAM exiting thanks Tings |
|
September 21, 2015, 04:48 |
|
#2 |
Member
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14 |
Dear Tings,
As the error message states `debug' has not been defined in `waveProperties.inletCoeffs'. Go into your waveProperties file and add `debug false;' or `debug true;' after 'height 0.022;' debug is a Boolean option (also mentioned in the error message) i.e. one requiring a `yes or no' type response, that helps identify whether or not you are using the correct wave theory for the specific input variables you've entered. If you set it to `false' it'll do nothing, if you set it to `true' it'll produce an output based on the validity of the chosen wave theory. Good luck, Ed |
|
September 21, 2015, 08:30 |
|
#3 | |
New Member
Weiye Ding
Join Date: Jul 2015
Location: Dalian
Posts: 9
Rep Power: 11 |
Quote:
Thank you very very much for helping me analyse and solve the problem. i have run the case successfully. Best regards! Tings |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 01:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 01:34 |