From c6d2686358f34058c8ed928237fb49b27d1f204b Mon Sep 17 00:00:00 2001
From: Paul Nizenkov
Date: Tue, 5 Sep 2023 18:33:39 +0200
Subject: [PATCH] Fix of Gmsh configuration file in the 2D 70deg blunted cone
DSMC test case
---
.../userguide/tutorials/dsmc-cone-2D/dsmc-cone-2D.md | 8 ++++++--
tutorials/dsmc-cone-2D/70degCone_2DSurf.geo | 5 ++---
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/docs/documentation/userguide/tutorials/dsmc-cone-2D/dsmc-cone-2D.md b/docs/documentation/userguide/tutorials/dsmc-cone-2D/dsmc-cone-2D.md
index cc98a20f0..4b54a4d83 100644
--- a/docs/documentation/userguide/tutorials/dsmc-cone-2D/dsmc-cone-2D.md
+++ b/docs/documentation/userguide/tutorials/dsmc-cone-2D/dsmc-cone-2D.md
@@ -98,8 +98,8 @@ Different meshing algorithms for creating the 2D and 3D meshes can be chosen wit
Next, the 2D mesh is created and all cells are recombined to quads with the following commands:
- Mesh 2;
Mesh.RecombineAll = 1;
+ Mesh 2;
The following commands are required to save all elements even if they are not part of a physical group and to use the ASCII format, before saving the mesh as `70degCone_2D.msh`:
@@ -108,7 +108,11 @@ The following commands are required to save all elements even if they are not pa
Mesh.MshFileVersion = 4.1;
Save "70degCone_2D.msh";
-The mesh file in the file format `.h5` used by **piclas** has to be converted using HOPR by supplying an input file `hopr.ini` using the corresponding mode:
+The mesh can be created by simplying executing Gmsh from the terminal:
+
+ gmsh 70degCone_2DSurf.geo
+
+The resulting mesh shall consist of quad elements and not triangles. Finally, it has to be converted to the file format used by **piclas** using HOPR by supplying an input file `hopr.ini` using the corresponding mode:
Mode = 5
diff --git a/tutorials/dsmc-cone-2D/70degCone_2DSurf.geo b/tutorials/dsmc-cone-2D/70degCone_2DSurf.geo
index ff3659a3c..756555070 100644
--- a/tutorials/dsmc-cone-2D/70degCone_2DSurf.geo
+++ b/tutorials/dsmc-cone-2D/70degCone_2DSurf.geo
@@ -32,14 +32,13 @@ Mesh.Algorithm = 1;
//
Mesh.RecombinationAlgorithm = 2;
//
-Mesh 2;
-//
Mesh.RecombineAll = 1;
//
+Mesh 2;
+//
Mesh.SaveAll = 1;
//
Mesh.Binary = 0;
Mesh.MshFileVersion = 4.1;
//
Save "70degCone_2D.msh";
-