From 5ba954b194e976b1448de9e6d8fc70ec2b1ba2e4 Mon Sep 17 00:00:00 2001
From: Ned Coltman <edward.coltman@iws.uni-stuttgart.de>
Date: Thu, 24 Jan 2019 16:35:45 +0100
Subject: [PATCH] [assembly] update the GridVriables at the end of each
 timestep

---
 test/freeflow/rans/main.cc   | 1 +
 test/freeflow/ransnc/main.cc | 1 +
 2 files changed, 2 insertions(+)

diff --git a/test/freeflow/rans/main.cc b/test/freeflow/rans/main.cc
index 1075c6329e..7f9acd62f8 100644
--- a/test/freeflow/rans/main.cc
+++ b/test/freeflow/rans/main.cc
@@ -167,6 +167,7 @@ int main(int argc, char** argv) try
 
         // update wall properties
         problem->updateDynamicWallProperties(x);
+        assembler->updateGridVariables(x);
 
         // advance to the time loop to the next step
         timeLoop->advanceTimeStep();
diff --git a/test/freeflow/ransnc/main.cc b/test/freeflow/ransnc/main.cc
index 7a31f10b2e..4e6a39c53f 100644
--- a/test/freeflow/ransnc/main.cc
+++ b/test/freeflow/ransnc/main.cc
@@ -166,6 +166,7 @@ int main(int argc, char** argv) try
 
         // update wall properties
         problem->updateDynamicWallProperties(x);
+        assembler->updateGridVariables(x);
 
         // write vtk output
         vtkWriter.write(timeLoop->time());
-- 
GitLab