Reading .msh file issue #720
Replies: 4 comments 4 replies
-
I'm also trying to import .STL
Error C:\Users\User\miniconda3\Lib\site-packages\pyvista\plotting\plotting_init_.py:23: PyVistaDeprecationWarning: The I'm using 0.4 documentation and have 0.4 pyprimemesh with 2023 R2 Academic |
Beta Was this translation helpful? Give feedback.
-
Hi @hamilton-eng, The stanford_bunny.msh is not a Fluent .msh format. Currently we do not support non Fluent .msh formats. Regarding the stl import can you verify if stl import is working for other files or if this is file specific? You could try the following for example:
I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Hi @hamilton-eng , Please can you check that the environment variable AWP_ROOT232 is set correctly to your Ansys installation directory? The path should end like "\ANSYS Inc\v232" for example. This should be set during installation but please confirm this is setup. Thanks |
Beta Was this translation helpful? Give feedback.
-
Please share the resulting log file from the temp folder (\AppData\Local\Temp) so that we can try and see what the issue is? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Having issues reading msh file, not sure if this is a compatibility issue? what sort of .msh files can be used by the api?
using a test .msh file from url below
https://github.com/amandaghassaei/msh-parser/blob/main/test/msh/stanford_bunny.msh
Traceback (most recent call last): File "c:\Users\User\tests\Ansys_geom.py", line 12, in <module> mesher.read(mesh_file_name, append=False) File "C:\Users\User\miniconda3\Lib\site-packages\ansys\meshing\prime\lucid\mesh_util.py", line 76, in read prime.FileIO(self._model).import_fluent_meshing_meshes( File "C:\Users\User\miniconda3\Lib\site-packages\ansys\meshing\prime\core\fileio.py", line 304, in import_fluent_meshing_meshes result = super().import_fluent_meshing_meshes( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\miniconda3\Lib\site-packages\ansys\meshing\prime\autogen\fileio.py", line 352, in import_fluent_meshing_meshes result = self._comm.serve(self._model, command_name, self._object_id, args=args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\User\miniconda3\Lib\site-packages\ansys\meshing\prime\internals\error_handling.py", line 515, in wrapper_error_code raise PrimeRuntimeError( ansys.meshing.prime.internals.error_handling.PrimeRuntimeError: Reading mesh failed.
Beta Was this translation helpful? Give feedback.
All reactions