From 02e9433d73c4c5113fa4455432498dbf0c7b5a53 Mon Sep 17 00:00:00 2001
From: Andrew Heather <a.heather@opencfd.co.uk>
Date: Fri, 25 Nov 2016 10:49:23 +0000
Subject: [PATCH] BUG: Boussinesq wave model - corrected coefficient reported
 by Gabi

---
 .../derived/Boussinesq/BoussinesqWaveModel.C                    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C b/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C
index 0956ccbd44e..d7e4dca2fc5 100644
--- a/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C
+++ b/integration/OpenCFD/code/waveModel/waveGenerationModels/derived/Boussinesq/BoussinesqWaveModel.C
@@ -79,7 +79,7 @@ Foam::vector Foam::waveModels::Boussinesq::Deta
     vector deta(vector::zero);
 
     scalar C = sqrt(mag(g_)*(H + h));
-    scalar ts = 3*h/sqrt(H/h);
+    scalar ts = 3.5*h/sqrt(H/h);
     scalar a = sqrt(3*H/(4*h))/h;
     scalar Xa = -C*t + ts - X0 + x*cos(theta) + y*sin(theta);
     scalar expTerm = exp(2*a*Xa);
-- 
GitLab