Problem exporting in Exodus II format using Coreform 2020.2.0 version

Hi,

I am using Coreform Cubit 2020.2.0.

I am having trouble exporting the mesh to Exodus II format. For example, attached is a simple working model that will export the meshed model to exodus format.

When I use ncdump to inspect the mesh I get the following error:

ncdump -h SimpleModel.exo 
ncdump: SimpleModel.exo: NetCDF: Unknown file format

Could you please let me know how I can export the mesh in the correct exodus format? Note that the same script in the Trelis version 17.1 works very well, never had a problem.

Thank you in advance,
Josimar

SimpleMesh.jou (1.1 KB)

I’ve tested your journal file and the ncdump command in 2020.2 and our latest development build of Coreform Cubit - on my Windows 10 machine, and it appears to work as expected (see output below). What operating system are you using?

Here’s the version information for my ncdump

netcdf library version 4.7.3 of Jan 23 2020 04:18:16

Output:

ncdump -h SimpleModel.exo
netcdf SimpleModel {
dimensions:
        len_name = 256 ;
        time_step = UNLIMITED ; // (0 currently)
        num_dim = 3 ;
        num_nodes = 11126 ;
        num_elem = 59138 ;
        num_el_blk = 3 ;
        num_node_sets = 2 ;
        num_el_in_blk1 = 20614 ;
        num_nod_per_el1 = 4 ;
        num_el_in_blk2 = 8800 ;
        num_nod_per_el2 = 4 ;
        num_el_in_blk3 = 29724 ;
        num_nod_per_el3 = 4 ;
        num_qa_rec = 1 ;
        four = 4 ;
        len_string = 33 ;
        num_nod_ns1 = 757 ;
        num_nod_ns2 = 757 ;
variables:
        double time_whole(time_step) ;
        int eb_status(num_el_blk) ;
        int eb_prop1(num_el_blk) ;
                eb_prop1:name = "ID" ;
        int ns_status(num_node_sets) ;
        int ns_prop1(num_node_sets) ;
                ns_prop1:name = "ID" ;
        double coordx(num_nodes) ;
        double coordy(num_nodes) ;
        double coordz(num_nodes) ;
        char eb_names(num_el_blk, len_name) ;
        char ns_names(num_node_sets, len_name) ;
        char coor_names(num_dim, len_name) ;
        int connect1(num_el_in_blk1, num_nod_per_el1) ;
                connect1:elem_type = "TETRA" ;
        int connect2(num_el_in_blk2, num_nod_per_el2) ;
                connect2:elem_type = "TETRA" ;
        int connect3(num_el_in_blk3, num_nod_per_el3) ;
                connect3:elem_type = "TETRA" ;
        char qa_records(num_qa_rec, four, len_string) ;
        int elem_map(num_elem) ;
        int elem_num_map(num_elem) ;
        int node_num_map(num_nodes) ;
        int node_ns1(num_nod_ns1) ;
        double dist_fact_ns1(num_nod_ns1) ;
        int node_ns2(num_nod_ns2) ;
        double dist_fact_ns2(num_nod_ns2) ;

// global attributes:
                :api_version = 8.03f ;
                :version = 8.03f ;
                :floating_point_word_size = 8 ;
                :file_size = 1 ;
                :maximum_name_length = 32 ;
                :int64_status = 0 ;
                :title = "cubit(./SimpleModel.exo): 04/13/2021: 23:50:28" ;

Thank you for the help @gvernon

I am using a Mac computer, the netcdf version is below.
netcdf library version 4.4.1.1 of Sep 6 2017 14:00:45

I also tried on an Ubuntu machine and I got the same error. The netcdf version is below.
netcdf library version 4.6.3 of Jul 2 2019 11:17:50

Let me know your thoughts on this.

Thank you,
Josimar

Can you send me the Exodus file that is being produced on your end? Here are the files produced on my end - can you test those with your ncdump?

SimpleModel_2020.exo (1.7 MB)
SimpleModel_2021.exo (1.7 MB)

I tested ncdump with your .exo files and they worked fine.

I doubled checked and I found out that I made a mistake copying in .exo file from another computer. After fixing it the problem disappeared and now ncdump is working fine with Coreform 2020.2.

Thanks,
Josimar