# Convert files to the new pyfr format

**URL:** <https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350>\
**Category:** General\
**Created:** [8 April 2026 13:12 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350 "2026-04-08T13:12:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhenyang](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@Zhenyang](https://pyfr.discourse.group/u/Zhenyang)\
**Post date:** [8 April 2026 13:12 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/1 "2026-04-08T13:12:57Z")

</div>

Hi,

I wonder if you have some scripts to convert mesh and solution files from old pyfr versions (\<2.1) to the newer versions?

Regards,

Zhenyang

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [9 April 2026 11:05 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/2 "2026-04-09T11:05:51Z")

</div>

The new mesh format is node based and so it is difficult to reconstruct from the old format. As such a converter is not available. With that said, if one has the underlying .msh file it is possible to just reimport. The solution files are a bit simpler and so in principal it is possible to put together a script with a few dozen lines which moves things over (assuming the mesh has been recreated).

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Zhenyang](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@Zhenyang](https://pyfr.discourse.group/u/Zhenyang)\
**Post date:** [13 April 2026 09:53 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/4 "2026-04-13T09:53:53Z")

</div>

Thanks, I manage to have a converter. An follow up on the latest solver version: is the entropy filter still suitable for the anti-aliasing purposes? As in this paper: [[2302.13359] On the anti-aliasing properties of entropy filtering for discontinuous spectral element approximations of under-resolved turbulent flows](https://arxiv.org/abs/2302.13359)

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [13 April 2026 11:00 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/5 "2026-04-13T11:00:04Z")

</div>

Yes, it can absolutely be used. Note that we have found it to cause issues for acoustic problems but if you’re not interested in acoustics then it does appear to work extremely well and at a much lower cost than anti-aliasing.

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Zhenyang](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@Zhenyang](https://pyfr.discourse.group/u/Zhenyang)\
**Post date:** [13 April 2026 11:20 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/6 "2026-04-13T11:20:58Z")

</div>

Can you be more specific on the known acoustic problem? I am working on acoustics problems.

Regards,

Zhenyang

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [13 April 2026 11:43 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/7 "2026-04-13T11:43:11Z")

</div>

When we have used it on a rod-aerofoil problem (paper on the physics has been accepted, should be published soon) we found that entropy filtering got us the CFD metrics correct but the FWH results were wrong. As such we had to switch to using anti-aliasing. This was with a slightly older formulation of entropy filtering compared with what is currently in PyFR, however, so it is possible that recent changes will do better.

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![michaelwalker](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@michaelwalker](https://pyfr.discourse.group/u/michaelwalker)\
**Post date:** [24 November 2026 19:18 UTC](https://pyfr.discourse.group/t/convert-files-to-the-new-pyfr-format/1350/8 "2026-11-24T19:18:53Z")

</div>

Given your acoustic focus, I’d treat entropy filtering as something to validate rather than assume. Freddie’s rod–airfoil experience suggests the risk is not the mean CFD metrics but the unsteady pressure field used by FWH. A practical check is to run a small canonical acoustic case or a short segment of your case with entropy filtering at a couple of strengths/cutoffs, then compare pressure spectra and FWH output against the same run with anti-aliasing. If differences are confined to high frequencies, it may still be usable with care; if lower-frequency acoustic tones shift, I’d follow Freddie’s route and use anti-aliasing.
