Hi Frank,

Yes, currently, PyFR can read the single zone unstructured grid CGNS file.

In addition, the CGNS reader of PyFR can deal with boundary condition 
associated with element, not node.


Please try the CGNS example from CGNS web page 
(https://cgns.github.io/CGNSFiles/Bruce/yf17.cgns.gz). I confirmed that it 
works well.


Regards,


Dr. Jin Seok Park PhD
________________________________
From: [email protected] <[email protected]> on 
behalf of Frank Muldoon <[email protected]>
Sent: 03 May 2017 15:07:36
To: [email protected]
Subject: [pyfrmailinglist] CGNS format meshes

Hello all,

I am trying to get PyFR running using CGNS format meshes, but have am having no 
luck.  Would anyone have a CGNS file that they have successfully used in PyFR?  
I am getting failures in PyFR that suggest that there is a somewhat limited 
subset of CGNS format meshes that PYFR can read.

Cheers,
Frank

[fmuldoo@localhost<mailto:fmuldoo@localhost> periodic-hills]# pyfr import 
d*.cgns mesh.pyfrm
Traceback (most recent call last):
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 257, in <module>
    main()
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 110, in main
    args.process(args)
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 121, in 
process_import
    reader = get_reader_by_extn(extn, args.inmesh)
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/__init__.py",
 line 19, in get_reader_by_extn
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 384, in __init__
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 266, in __init__
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 153, in zone_read
RuntimeError: ReadCGNS_read: Incorrect zone type for file
Segmentation fault (core dumped)


[fmuldoo@localhost<mailto:fmuldoo@localhost> periodic-hills]# pyfr import 
a.cgns mesh.pyfrm
Traceback (most recent call last):
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 257, in <module>
    main()
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 110, in main
    args.process(args)
  File "/home/fmuldoo/programs/PyFR-1.6.0/pyfr/pyfr", line 121, in 
process_import
    reader = get_reader_by_extn(extn, args.inmesh)
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/__init__.py",
 line 19, in get_reader_by_extn
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 384, in __init__
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 272, in __init__
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 308, in _read_bc
  File 
"/home/fmuldoo/programs/python/lib/python3.6/site-packages/pyfr-1.6.0-py3.6.egg/pyfr/readers/cgns.py",
 line 206, in boco_read
RuntimeError: Only element range BC is supported






--
Frank Herbert Muldoon, Ph.D. Mechanical Engineering
New Technologies and Service
27 Gzhatskaya street, room 205
Saint Petersburg
Russia, 195220
+79313075021 (cell)

Фрэнк Херберт Малдун, к.ф.-м.н.
Новые Технологии и Сервис
195220 г. Санкт-Петербург
ул. Гжатская, д. 27, комната 205
+79313075021 (мобильный)

fmuldoo (skype)
http://tetra.fluid.tuwien.ac.at/fmuldoo/public_html/webpage/frank-muldoon.html



--
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to