I’m using Paraview on Salome-Meca 2019. And I use Code Aster for the simulations. But this is a question about post-processing.
My simulation consists in using a loop to move a heat load. Currently, I save each result in the same file, as shown below.
DEFI_FICHIER(ACCES='NEW', ACTION='ASSOCIER', FICHIER='my_path/results.rmed', TYPE='LIBRE', UNITE=80) for i in range(1,(ng-1)): . rter[i] = THER_NON_LINE(CHAM_MATER=fmat, CONVERGENCE=_F(ITER_GLOB_MAXI=50, RESI_GLOB_RELA=1e-04), ETAT_INIT=_F(EVOL_THER=proj[i-1]), EXCIT=(_F(CHARGE=(load[i],)), _F(CHARGE=bcs)), METHODE='NEWTON_KRYLOV', INCREMENT=_F(LIST_INST=lt[i]), MODELE=model) IMPR_RESU(RESU=_F(RESULTAT=rter[i]), UNITE=80) proj[i] = PROJ_CHAMP(MODELE_1=model, MODELE_2=model, PROJECTION='OUI', RESULTAT=rter[i]) ... FIN()
In this way, I have only one file, and the results to be plotted appear as shown in the attached figure.
As you can see in the figure, for each RTER my time goes from 0.0 to 0.25. When in fact, rter_1 goes from 0.0 to 0.25, rter_2 goes from 0.25 to 0.50 and so on. This way, I can’t make an animation that shows the entire simulation time. I have to view each RTER separately.
Is there a better way to save the results in Aster, so that each iteration is added with its respective time to the results file? Or is there a way to loop through all of RTER results in Paraview?
Thanks for any insight!