Hi Freddie, Thank you for your answers !
Regards, Anthony Larroque Le mercredi 11 novembre 2020 à 14:03:48 UTC+1, [email protected] a écrit : > Hi Anthony, > > It is not (currently) possible to repartition time average files. It > would not be too difficult to update the code to support this. > > In general if you independently partition a pair of solutions and then > collapse them both down to a single partition, the element numbering’s will > be different. In order to track element numbers you can use the -r flag to > partition which will output the renumbering file. > > Regards, Freddie. > > On 11 Nov 2020, at 06:02, Anthony Larroque <[email protected]> wrote: > > > > > Dear PyFR developers, > > I would like to partition solutions of the tavg plugin in order to make > easier the post-treatment on it. > > However when running pyfr partition on the solution of this plugin, I have > the following message error: > > Traceback (most recent call last): > File "/home/anthony/anaconda3/bin/pyfr", line 11, in <module> > load_entry_point('pyfr==1.10.0', 'console_scripts', 'pyfr')() > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/__main__.py", > > line 112, in main > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/__main__.py", > > line 173, in process_partition > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/__main__.py", > > line 166, in <genexpr> > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/partitioners/base.py", > > line 307, in partition_soln > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/partitioners/base.py", > > line 110, in _combine_soln_parts > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/util.py", > > line 35, in __call__ > File > "/home/anthony/anaconda3/lib/python3.6/site-packages/pyfr-1.10.0-py3.6.egg/pyfr/readers/native.py", > > line 46, in array_info > ValueError: max() arg is an empty sequence > > I specify that this operation works with the writer plugin. > > So is it because the keys of the tavg and the writer plugin solutions have > different names ? Are there basic changes in the code that could enable to > partition solutions the tavg plugin ? > > Also, I would like to know another thing: imagine that two solutions are > issued from initially the same gmsh mesh but that we partitioned the mesh > differently. When we run the pyfr partition 1 mesh.pyfrm solution.pyfrs for > both solutions do the elements indexes match or are they different ? > > Indeed, I would like to perform some post-treatment on all the .pyfrs > files of the simulation but do not know how to do it when I do a pyfr > restart with a mesh partitioned distinctly due to the computational > resources that are available at the moment. > > Regards, > Anthony Larroque > > -- > You received this message because you are subscribed to the Google Groups > "PyFR Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/pyfrmailinglist/cb44506d-680d-410e-a1db-887ec841feb7n%40googlegroups.com > > <https://groups.google.com/d/msgid/pyfrmailinglist/cb44506d-680d-410e-a1db-887ec841feb7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/pyfrmailinglist/f153f064-ece0-45b7-9b6d-53f023d40208n%40googlegroups.com.
