Hi Mathi,

You can accomplish this pretty quickly by looping over all the files in a UNIX 
shell:

for file in *.pyfrs ; do pyfr export -p double -g -d 16 my_mesh_filename.pyfrm 
${file} ${file%.*}.vtu ; done

I imagine something similar could be accomplished under a Windows platform 
using the command line or PowerShell.

Best Regards,


Zach Davis
Pointwise®, Inc.
Sr. Engineer, Sales & Marketing
213 South Jennings Avenue
Fort Worth, TX 76104-1107

E: [email protected]
P: (817) 377-2807 x1202
F: (817) 377-2799
 <https://www.twitter.com/RcktMan78>  <https://www.youtube.com/cfdmeshing>  
<https://www.facebook.com/pointwise>  <https://www.github.com/pointwise>

> On Aug 29, 2017, at 4:25 AM, Ezhilmathi Krishnasamy <[email protected]> 
> wrote:
> 
> Hi,
> 
> Is there any way to convert all the files into once.
> For example, I have couette_flow_2d-000.pyfrs up to 050.pyfrs.
> 
> There is a script to convert the files:
> pyfr export mesh.pyfrm solution.pyfrs solution.vtu
> 
> I do not want to do one by one, I would like to
> do all in once.
> 
> Best regards,
> Mathi
> 
> --
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/pyfrmailinglist 
> <https://groups.google.com/group/pyfrmailinglist>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send an email to [email protected].
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to