From b6985ced0ffbc88ec19c7f1728f6678ea8c71df0 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 12 Apr 2022 10:39:11 +0200 Subject: [PATCH] Update setFields to get U field --- olaflow/of/system/setFieldsDict | 2 +- olaflow/processing/sws_ola.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/olaflow/of/system/setFieldsDict b/olaflow/of/system/setFieldsDict index b914c76..6b39f30 100644 --- a/olaflow/of/system/setFieldsDict +++ b/olaflow/of/system/setFieldsDict @@ -35,7 +35,7 @@ regions } boxToCell { - box (-100 0 0) (-100 1 1); + box (-110 -100 0) (-100 100 1); fieldValues ( diff --git a/olaflow/processing/sws_ola.py b/olaflow/processing/sws_ola.py index 4c035ae..813dff6 100644 --- a/olaflow/processing/sws_ola.py +++ b/olaflow/processing/sws_ola.py @@ -61,4 +61,3 @@ for zk_l, velk_l, vz_l in zip(zk_tl, velk_t, vz_t): model.write_field("alpha.water", alpha_water) model.write_vector_field("U", np.stack((ux, uy, uz)).T) -plt.savefig("test.pdf")