diff --git a/examples/helmholtzflow/nacelle3D/main.cpp b/examples/helmholtzflow/nacelle3D/main.cpp index 007ee2d6362df0d6074c79f0309a4974153dd2ed..df872089415860eeecfcd5f26510735475d7a93f 100644 --- a/examples/helmholtzflow/nacelle3D/main.cpp +++ b/examples/helmholtzflow/nacelle3D/main.cpp @@ -101,8 +101,10 @@ int main(int argc, char **argv) if(!getMPIRank()) { // build geometry Nacelle(h_near, h_far, D, R, L_duct, 2.*h_far, 2.*h_near, nDom); - gmsh::option::setNumber("Mesh.ElementOrder", FEMorder); // FIXME + gmsh::option::setNumber("Mesh.ElementOrder", FEMorder); gmsh::option::setNumber("Mesh.SecondOrderLinear", 1); + // save all, as partitioning will create some entities without physical groups + gmsh::option::setNumber("Mesh.SaveAll", 1); gmsh::model::mesh::generate(3); gmsh::model::mesh::partition(nDom); // save partitioned mesh in single file for mono-process runs diff --git a/tutorials/helmholtz/scattering3D/main.cpp b/tutorials/helmholtz/scattering3D/main.cpp index df9d618ff36ecfd85e36b23cbe13c3cca6c7ed75..008a284b04e2e712ff4187843c5decdb61969438 100644 --- a/tutorials/helmholtz/scattering3D/main.cpp +++ b/tutorials/helmholtz/scattering3D/main.cpp @@ -106,6 +106,8 @@ int main(int argc, char **argv) sphere(Rin, Rext, lc); // partition gmsh::model::mesh::partition(nDom); + // save all, as partitioning will create some entities without physical groups + gmsh::option::setNumber("Mesh.SaveAll", 1); // save partitioned mesh in single file for sequential runs gmsh::option::setNumber("Mesh.PartitionSplitMeshFiles", 0); gmsh::write("sphere.msh");