aboutsummaryrefslogtreecommitdiff
path: root/boltz.cc
diff options
context:
space:
mode:
Diffstat (limited to 'boltz.cc')
-rw-r--r--boltz.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/boltz.cc b/boltz.cc
index 6f8788e..092814e 100644
--- a/boltz.cc
+++ b/boltz.cc
@@ -1,5 +1,6 @@
#include <iostream>
#include <vector>
+#include <string>
#include <algorithm>
#include "lbm.h"
@@ -106,7 +107,7 @@ int main() {
if ( t % 100 == 0 ) {
std::cout << ".";
std::cout.flush();
- fluid.writeAsVTK(t);
+ fluid.writeAsVTK("result/data_t" + std::to_string(t) + ".vtk");
}
}