I have encountered a problem. When I am trying to export my Pointwise mesh in higher order, I cannot import it to PyFR anymore. I have tried many settings and simplified meshes, but cannot get anything higher order imported to PyFR. I would really appreciate some help.
A bit more specific:
When I export any mesh in Pointwise with Export → CAE, I can import and run it in PyFR without a problem. But even though ‘Higher Order Solver Attributes’ are set to Q2, it is still just a linear mesh.
In order to get a Q2 mesh, I have to use Grid → Elevate → Elevate/Export, but after that I get the following Error when trying to import:
Traceback (most recent call last): File "/home/beilowne/.conda/envs/h5pytest/bin/pyfr", line 33, in <module> sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')()) File "/home/beilowne/.conda/envs/h5pytest/lib/python3.9/site-packages/pyfr-1.15.0-py3.9.egg/pyfr/__main__.py", line 116, in main File "/home/beilowne/.conda/envs/h5pytest/lib/python3.9/site-packages/pyfr-1.15.0-py3.9.egg/pyfr/__main__.py", line 130, in process_import File "/home/beilowne/.conda/envs/h5pytest/lib/python3.9/site-packages/pyfr-1.15.0-py3.9.egg/pyfr/readers/base.py", line 21, in to_pyfrm File "/home/beilowne/.conda/envs/h5pytest/lib/python3.9/site-packages/pyfr-1.15.0-py3.9.egg/pyfr/readers/gmsh.py", line 411, in _to_raw_pyfrm File "/home/beilowne/.conda/envs/h5pytest/lib/python3.9/site-packages/pyfr-1.15.0-py3.9.egg/pyfr/readers/base.py", line 189, in get_connectivity ValueError: Unpaired faces in mesh
Here are the files for a basic example: https://tubcloud.tu-berlin.de/s/zjJBPKY6FkiXJJC
pw_3d_direct_export.msh is created with Export → CAE and does import.
pw_3d_problem.msh is created with Grid → Elevate → Elevate/Export and does not export.
For the example mesh I had the following workflow in Pointwise:
Version: Fidelity Pointwise 2022.2
- New File
- Draw Shape → Cylinder (centered 0 0 0, radius 1, length 1)
- Select Block → Solve → Initialize
- Select Solver (gmsh), set Boundary Conditions (all ‘a’), set Volume Conditions (‘fluid’)
- Grid → Elevate → Elevate/Export
For the import into pyfr, I am trying the following command:
Version: PyFR 1.15.0
pyfr import pw_3d_problem.msh mesh.pyfrm