When iric_initoption_f(IRIC_OPTION_DIVIDESOLUTIONS, ier) is called before cg_iric_init_f(), the calculation results are exported to separate CGNS files.
This fixes the issue that in cases, grid is too big, and when solver output so many result, CGNS file becomes huge.
But currently, this function do not work correctly.
Separate CGNS files are generated, but the content is invalid, and iRIC fails to load calculation results from those files.
Abstract
When
iric_initoption_f(IRIC_OPTION_DIVIDESOLUTIONS, ier)
is called beforecg_iric_init_f()
, the calculation results are exported to separate CGNS files.This fixes the issue that in cases, grid is too big, and when solver output so many result, CGNS file becomes huge.
But currently, this function do not work correctly. Separate CGNS files are generated, but the content is invalid, and iRIC fails to load calculation results from those files.
I attach the file to test the issue.
test-issue20.zip
The issue differs on the file type: ADF or HDF5.
Issue on CGNS files in ADF format