Hi Andrew,

I think you are defining all three coordinates with z=0.0, although you are running a two dimensional case.
Not passing the third coordinate 'samp-pts = [(x, y)]' should work.

Regards,
Niki

On 26/02/16 12:42, Andrew Holt wrote:
Hi,
I'm trying to use [soln-plugin-sampler], but keep getting the following error when I run PyFR:

File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfr-1.3.0-py3.5.egg/pyfr/plugins/sampler.py", line 13, in <listcomp>

ValueError: operands could not be broadcast together with shapes (4,1633,2) (3,)


It seems to be to do with the coodinates I'm inserting into 'samp-pts = [(x, y, z)]', but I get the error with any point(s) combinations I try. How can I get round this? Please find my .ini and .msh files attached for reference.


Thank you

Andrew Holt

--
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 pyfrmailinglist+unsubscr...@googlegroups.com <mailto:pyfrmailinglist+unsubscr...@googlegroups.com>. To post to this group, send email to pyfrmailinglist@googlegroups.com <mailto:pyfrmailinglist@googlegroups.com>.
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 pyfrmailinglist+unsubscr...@googlegroups.com.
To post to this group, send an email to pyfrmailinglist@googlegroups.com.
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to