# Unable to import msh file to pyfrm (Old)

**URL:** <https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621>\
**Category:** Errors\
**Created:** [8 June 2022 08:36 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621 "2022-06-08T08:36:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hima](https://avatars.discourse-cdn.com/v4/letter/h/48db29/32.png) [@Hima](https://pyfr.discourse.group/u/Hima)\
**Post date:** [8 June 2022 08:36 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621/1 "2022-06-08T08:36:51Z")

</div>

![Screenshot (1209)](https://global.discourse-cdn.com/free1/uploads/pyfr/original/1X/9e2e0e8bcd1b03bdab446a956b4b78678f74a757.png)  
I have downloaded the testcases from git hub.  
and when I am trying to import msh file to pyfrm , it shows the value error  
How can I solve this error?

---

<div class="post-metadata">

**Author:** ![p.vincent](https://yyz2.discourse-cdn.com/free1/user_avatar/pyfr.discourse.group/p.vincent/32/225_2.png) [@p.vincent](https://pyfr.discourse.group/u/p.vincent)\
**Post date:** [8 June 2022 08:51 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621/2 "2022-06-08T08:51:43Z")

</div>

Can you confirm where the cavity\_flow\_d2.msh file came from?

---

<div class="post-metadata">

**Author:** ![WillT](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@WillT](https://pyfr.discourse.group/u/WillT)\
**Post date:** [9 June 2022 06:39 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621/3 "2022-06-09T06:39:06Z")

</div>

Based on your error message, I think it is most likely that your mesh file is wrong in some way. Did you generate the mesh in gmsh or pointwise?

---

<div class="post-metadata">

**Author:** ![Hima](https://avatars.discourse-cdn.com/v4/letter/h/48db29/32.png) [@Hima](https://pyfr.discourse.group/u/Hima)\
**Post date:** [12 June 2022 12:45 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621/4 "2022-06-12T12:45:03Z")

</div>

[https://github.com/piyueh/PyFR-Cases](https://github.com/piyueh/PyFR-Cases)  
I have taken the case from Github repository.

---

<div class="post-metadata">

**Author:** ![WillT](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@WillT](https://pyfr.discourse.group/u/WillT)\
**Post date:** [13 June 2022 08:20 UTC](https://pyfr.discourse.group/t/unable-to-import-msh-file-to-pyfrm-old/621/5 "2022-06-13T08:20:31Z")

</div>

That’s quite an old repo, so I would be wary using a mesh from there. The cavity flow case is quite straightforward, so it should be to hard for you to knock up a 2D mesh in gmsh or pointwise.
