Initialization from a 3D post-processing output using MEDCoupling: issue in iteration index
Posted: Wed Jul 03, 2024 12:57 pm
Hello everyone,
I'm trying to start a simulation using custom thermochemical fields, making use of the MEDCoupling tool but i have one major issue. I did manage to compile the cs_user_initialization.c file successfully as well as to convert all of my fields to med format but during run phase it keeps giving me that message:
terminate called after throwing an instance of 'INTERP_KERNEL::Exception'
what(): No such iteration (0,0) in existing field 'Temperature' in file '/home/cenvinzf@coria.fr/workdir/cavity_ann_init/nn_couple/3D_import/restart_ann_prova.med' ! Available iterations are : (1,1),
terminate called after throwing an instance of 'INTERP_KERNEL::Exception'
I already checked that changing the iteration index no field get passed to the initialization. Also, i only have one time step iteration to retrieve data from, and i don't get why it keeps saying that the only available iteration is (1,1) despite having clearly stated in the guide that it needs to be (0,0) if only one iteration exists.
I attached the files useful to reproduce the error.
Thanks to everyone that can help,
Francesco
I'm trying to start a simulation using custom thermochemical fields, making use of the MEDCoupling tool but i have one major issue. I did manage to compile the cs_user_initialization.c file successfully as well as to convert all of my fields to med format but during run phase it keeps giving me that message:
terminate called after throwing an instance of 'INTERP_KERNEL::Exception'
what(): No such iteration (0,0) in existing field 'Temperature' in file '/home/cenvinzf@coria.fr/workdir/cavity_ann_init/nn_couple/3D_import/restart_ann_prova.med' ! Available iterations are : (1,1),
terminate called after throwing an instance of 'INTERP_KERNEL::Exception'
I already checked that changing the iteration index no field get passed to the initialization. Also, i only have one time step iteration to retrieve data from, and i don't get why it keeps saying that the only available iteration is (1,1) despite having clearly stated in the guide that it needs to be (0,0) if only one iteration exists.
I attached the files useful to reproduce the error.
Thanks to everyone that can help,
Francesco