From 72142fb94a58b2185470e9a61c124ed3648df748 Mon Sep 17 00:00:00 2001 From: Roy Stogner Date: Thu, 26 Sep 2024 14:21:46 -0500 Subject: [PATCH] Output EDGE to exodus as BAR "EDGE" isn't actually in the ExodusII standard, as far as I can tell, despite Paraview and even *exodiff* seemingly supporting it. But apparently Python meshio is stricter, so we should be more standards-conforming here. Thanks to Adriaan Riet for catching this. --- src/mesh/exodusII_io_helper.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesh/exodusII_io_helper.C b/src/mesh/exodusII_io_helper.C index 23d8b7bdfad..60440f0149c 100644 --- a/src/mesh/exodusII_io_helper.C +++ b/src/mesh/exodusII_io_helper.C @@ -348,9 +348,9 @@ void ExodusII_IO_Helper::init_conversion_map() }; convert_type(NODEELEM, "SPHERE"); - convert_type(EDGE2, "EDGE2"); - convert_type(EDGE3, "EDGE3"); - convert_type(EDGE4, "EDGE4"); + convert_type(EDGE2, "BAR2"); + convert_type(EDGE3, "BAR3"); + convert_type(EDGE4, "BAR4"); convert_type(QUAD4, "QUAD4"); convert_type(QUAD8, "QUAD8"); convert_type(QUAD9, "QUAD9");