|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Yang Zhou
Join Date: Jun 2017
Location: Glasgow
Posts: 4
Rep Power: 9 ![]() |
Hello everyone,
I want to generate irregular wave by using waveFoam, but the result isn't satisfying.It looks a little bit smaller than I expected(Hs/2=0.046/2=0.023m ).And there is some kind of severe reduction(0.02m to 0.015m) in the working zone.Can anyone guide me why this would happen. Screenshot from 2017-07-19 13-41-12.png This is the waveproperties.input file 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 { //set wave type waveType irregular; //set spectrum spectrum JONSWAP; //Ramp time of 2s Tsoft 3; //water depth depth 0.7; //wave numbers N 151; // Phase shift in the wave phi 0.000000; // Wave number vector, k. direction (1.0 0.0 0.0); //phase method phaseMethod randomPhase; //significant wave height Hs 0.046; //peak wave period Tp 1.2; //peak inhancement factor gamma 2.5; //default coefficient stokesDrift 0; debug true; frequencyAxis { writeSpectrum false; // false = default value discretisation equidistantFrequencyAxis; // cosineStretchedFrequencyAxis; lowerFrequencyCutoff 1/3; // Not required. Default: 1/3fp upperFrequencyCutoff 3; // Not required. Default: 3fp } The controlDict Code:
application interFoam; startFrom latestTime; startTime 0; stopAt endTime; endTime 20; deltaT 0.0004; writeControl adjustableRunTime; writeInterval 0.5; purgeWrite 0; writeFormat ascii; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; adjustTimeStep yes; maxCo 0.2; maxAlphaCo 0.3; maxDeltaT 1; functions { #includeIfPresent "../waveGaugesNProbes/surfaceElevationAnyName_controlDict"; } Any tips would be helpful! Thanks a lot! Wish you best luck in your researching areas, Yang Last edited by wyldckat; August 23, 2018 at 14:40. Reason: partially repaired output code |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can SU2 solve the blast wave problem? | newmancfd | SU2 | 2 | May 13, 2013 03:33 |
Help! Compiled UDF problem 4 Wave tank tutorial | Shane | FLUENT | 1 | September 3, 2010 02:32 |
Problem with a leapfrog scheme for wave equation | Shiranui | Main CFD Forum | 0 | June 22, 2010 09:19 |
Assistance with one-way wave equation | Frank | Main CFD Forum | 5 | March 14, 2007 10:56 |
problem in solving "wave generation" problem | san | FLUENT | 2 | April 3, 2006 23:37 |