Skip to content

Commit

Permalink
Fix of Gmsh configuration file in the 2D 70deg blunted cone DSMC test…
Browse files Browse the repository at this point in the history
… case
  • Loading branch information
pnizenkov committed Sep 5, 2023
1 parent eae0c39 commit c6d2686
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand All @@ -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

Expand Down
5 changes: 2 additions & 3 deletions tutorials/dsmc-cone-2D/70degCone_2DSurf.geo
Original file line number Diff line number Diff line change
Expand Up @@ -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";

0 comments on commit c6d2686

Please sign in to comment.