From e25bf01ae1604787df516d74146f9a44d0051df9 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Fri, 23 Sep 2016 15:15:08 +0200
Subject: [PATCH] prepost.dlcdefs: default tags for 64-bit standalone
 turbulence generator

---
 wetb/prepost/dlcdefs.py | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/wetb/prepost/dlcdefs.py b/wetb/prepost/dlcdefs.py
index df704758..278e9b57 100644
--- a/wetb/prepost/dlcdefs.py
+++ b/wetb/prepost/dlcdefs.py
@@ -185,6 +185,17 @@ def tags_dlcs(master):
     master.tags['[Time pitch runaway]'] = 1000
     master.tags['[Induction]'] = 1
     master.tags['[Dyn stall]'] = 1
+    # required tags for the MannTurb64 standalone turbulence box generator
+    master.tags['[MannAlfaEpsilon]'] = 1.0
+    master.tags['[MannL]'] = 29.4
+    master.tags['[MannGamma]'] = 3.0
+    master.tags['[turb_nr_u]'] = 8192
+    master.tags['[turb_nr_v]'] = 32
+    master.tags['[turb_nr_w]'] = 32
+    master.tags['[turb_dx]'] = 1
+    master.tags['[turb_dy]'] = 6.5
+    master.tags['[turb_dz]'] = 6.5
+    master.tags['[high_freq_comp]'] = 1
 
     return master
 
@@ -218,6 +229,17 @@ def tags_defaults(master):
     master.tags['[hydro_dir]']     = False
     master.tags['[mooring_dir]']   = False
     master.tags['[externalforce]'] = False
+    # required tags for the MannTurb64 standalone turbulence box generator
+    master.tags['[MannAlfaEpsilon]'] = 1.0
+    master.tags['[MannL]'] = 29.4
+    master.tags['[MannGamma]'] = 3.0
+    master.tags['[turb_nr_u]'] = 8192
+    master.tags['[turb_nr_v]'] = 32
+    master.tags['[turb_nr_w]'] = 32
+    master.tags['[turb_dx]'] = 1
+    master.tags['[turb_dy]'] = 6.5
+    master.tags['[turb_dz]'] = 6.5
+    master.tags['[high_freq_comp]'] = 1
     # zip_root_files only is used when copy to run_dir and zip creation, define
     # in the HtcMaster object
     master.tags['[zip_root_files]'] = []
-- 
GitLab