summaryrefslogtreecommitdiff
path: root/src/research.py
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-05-25 23:23:44 +0400
committereug-vs <eugene@eug-vs.xyz>2022-05-25 23:24:13 +0400
commit7a948fe1d90e858902766dd49143f9ec46188bec (patch)
treead628b5b75aa62c184042d9f49b05360724f7692 /src/research.py
parent162641340305650b710c85f6ebace6f7a392ea1b (diff)
downloadCFD-SIMPLE-7a948fe1d90e858902766dd49143f9ec46188bec.tar.gz
feat: finish working bfs example
Diffstat (limited to 'src/research.py')
-rw-r--r--src/research.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/research.py b/src/research.py
index 2a59c49..8c46877 100644
--- a/src/research.py
+++ b/src/research.py
@@ -34,7 +34,7 @@ class Research:
if iteration % 10 == 0 or iteration == 1:
if preview or save_plot:
- self.plotter.plot(self.model, normalize=False, density=1)
+ self.plotter.plot(self.model, normalize=True)
if preview:
self.plotter.show()
if save_plot:
@@ -45,10 +45,14 @@ class Research:
self.model.save(self.model_path)
self.model.save(self.solution_path)
+
+ self.plotter.plot(self.model, streamplot=True)
+ self.plotter.save(os.path.join(self.path, f'streamplot.png'))
+
self.inspect()
def inspect(self):
- self.plotter.plot(self.model, density=1)
+ self.plotter.plot(self.model, streamplot=True)
while True:
self.plotter.show()