save_sim_res_list

nrv.fmod.FEM.fenics_utils.save_sim_res_list(sim_res_list, fname, dt=1.0)[source]

save a list of SimResults in a .bp folder which can be open with PrarView

Parameters:
  • sim_res_list (list(FEMResults)) – list of FEMResults to be saved

  • fname (str) – File name and path

  • ftype (str) –

    • if True .bp folder, else saved in a .xdmf file.

  • dt (float) – time step between each results

Warning

For this function to work dolfinx and ParaView must be up to date:
  • dolfinx \(\geq\) 0.8.0

  • ParaView \(\geq\) 5.12.0