Issues replicating Example 1 : As Simple as it Gets with a GMSH ASCII input mesh file #27185
Replies: 5 comments 10 replies
-
Hello Please run with The second error:
is because this parameter is used to (re)name boundaries that only have an id. So you must also pass the id to use this boundary_name parameter Guillaume |
Beta Was this translation helpful? Give feedback.
-
Hi there, I am wondering what tool is used to create the file "mug.e". Is it an exodus type file created by Paraview? Also, can MOOSE read any drawing files, for instance created by SolidWorks? If not, what features are available in MOOSE environment to create complex geometries. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. Is there any recommendation for cubit vs. gmsh? For instance, more compatibility with MOOSE environment, if exists. |
Beta Was this translation helpful? Give feedback.
-
Could you let me know which one (cubit or gmsh) was used to create "mug.e" file? |
Beta Was this translation helpful? Give feedback.
-
~/projects/moose/examples/ex01_inputfile/mug.e |
Beta Was this translation helpful? Give feedback.
-
I'm trying to reproduce the results of Example 1: As Simple as it Gets (link: https://mooseframework.inl.gov/getting_started/examples_and_tutorials/examples/ex01_inputfile.html). Rather than using the
mug.e
mesh file which is provided by default, I'm trying to reproduce the figure below using a GMSH ASCII file that I created of a hollow cylinder (the .msh file is contained in here, hollow_cylinder_ascii.zip). This is the figure that I want to reproduce:The information here on Named Entity Support (link: https://mooseframework.inl.gov/application_usage/mesh_block_type.html) has led me to believe that all I need to do is define two physical surfaces 'top' and 'bottom' that refer to the top and bottom surfaces of my cylinder. I did this in a Python script that imports the
gmsh
module, and you can also inspect the .msh file in hollow_cylinder_ascii.zip that these names have been implemented in lines 6 and 7 of the .msh file.However, when I attempt to run the example problem (link: https://mooseframework.inl.gov/getting_started/examples_and_tutorials/examples/ex01_inputfile.html) with
ex01.i
, but changing the 'Mesh' related code to the following:I get the following error:
Likewise, if I run the code with the following changes to
ex01.i
:I get a slightly different error:
Here are my questions: How can I get this simple example working with a .msh (ASCII) file? I believe I've correctly labelled the top and bottom surfaces of my MSH ASCII file, and the documentation here (https://mooseframework.inl.gov/application_usage/mesh_block_type.html) suggests that MOOSE should be able to recognise this?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions