Hello,
I was eager to start learning Elmer on Linux, but when I try to follow the very first Elmer GUI tutorial called "TemperatureGeneric" I immediately get stuck with an error.
I am supposed to load a "stp"-file and generate a mesh from it, but after I load it and click "Remesh" nothing happens on the main screen, and down on the bottom the following error message shows: "Unable to (re)mesh: no input data or mesh generator .... ". I've seen others in the forum having the same problem, but no solution. (It works fine when I load the "ready-made" project which comes with a mesh pre-generated. Then I can see the mesh and no errors.)
How can I get past this error message and still follow the tutorials? Thanks for any help. I was really hoping to use Elmer but I don't see how I can learn it now.
Can't run first tutorial on Linux because of meshing error
Re: Can't run first tutorial on Linux because of meshing error
Hello,
Which version of Linux are you using?
When you start ElmerGUI, click on Help, About. The About screen will show which options have been compiled into ElmerGUI. For example, this is the About screen from Windows 10 version of ElmerGUI.
This version can open the stp file from the TemperatureGeneric tutorial.
Please post a screen shot of your About screen.
Thanks, Rich.
Which version of Linux are you using?
When you start ElmerGUI, click on Help, About. The About screen will show which options have been compiled into ElmerGUI. For example, this is the About screen from Windows 10 version of ElmerGUI.
This version can open the stp file from the TemperatureGeneric tutorial.
Please post a screen shot of your About screen.
Thanks, Rich.
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
This has not worked on Ubuntu systems in a while.
The work around is to use external meshing tools like gmsh and salome. Both can still read the step files and export meshes to Elmer.
The work around is to use external meshing tools like gmsh and salome. Both can still read the step files and export meshes to Elmer.
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
No compiled with opencascade message in the ubuntu version
Re: Can't run first tutorial on Linux because of meshing error
Loading ElmerGUI in the Elmer Virtual Machine that is built on Ubuntu 20 shows the following About screen. Open Cascade has been successfully compiled into ElmerGUI in the provided Elmer binary, at least in Ubuntu 20. Which version of Ubuntu do you run?
Rich.
Rich.
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
Ubuntu 22.04 LTS (Jammy Jellyfish
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
netgen (ngsolve) did a very nice job on the pump geometry using the default settings, and it exports an Elmer mesh format.
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
This does work on the Ubuntu VM, so it is possible to get it to work in Ubuntu. Just have not figured out how.
Re: Can't run first tutorial on Linux because of meshing error
Hello,
There is a new version of the Elmer VM, based on Ubuntu 22. I downloaded and installed the VM, and checking the preinstalled binaries, I can confirm ElmerGUI was compiled with Open Cascade.
Is it possible the OP had issues with a launchpad version of the binaries?
Rich.
There is a new version of the Elmer VM, based on Ubuntu 22. I downloaded and installed the VM, and checking the preinstalled binaries, I can confirm ElmerGUI was compiled with Open Cascade.
Is it possible the OP had issues with a launchpad version of the binaries?
Rich.
-
- Posts: 2318
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Can't run first tutorial on Linux because of meshing error
If I do a fresh download and try to build with -DWITH_OCC=TRUE i get, if I do -DWITH_OCC=FALSE everything works fine
CMake Error at ElmerGUI/CMakeLists.txt:142 (FIND_PACKAGE):
By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "VTK", but
CMake did not find one.
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.
CMake Error at ElmerGUI/CMakeLists.txt:142 (FIND_PACKAGE):
By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "VTK", but
CMake did not find one.
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a
separate development package or SDK, be sure it has been installed.