Hi Zach, 

Thanks! this  one as well work in sort of parallel with available threads 
on the node or CPU. 
for file in *.pyfrs ; 
do 
pyfr export -p double -g -d 16 my_mesh_filename.pyfrm ${file} 
${file%.*}.vtu &
done
wait

Cheers,
Mathi

On Tuesday, August 29, 2017 at 3:33:29 PM UTC+2, Zach Davis wrote:
>
> 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,
>
> [image: Pointwise, Inc.] 
> Zach Davis
> Pointwise®, Inc.
> Sr. Engineer, Sales & Marketing
> 213 South Jennings Avenue
> Fort Worth, TX 76104-1107
>
> *E*: [email protected] <javascript:>
> *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] 
> <javascript:>> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/pyfrmailinglist.
> For more options, visit 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.

Reply via email to