Re: Pb with convergence of sweep method: it's coming from my mesh or my Bcs ?

2011-07-13 Thread Marc Saudreau
right or wrong. Thanks a lot for your help, I appreciate that. Cheers Marc Jonathan Guyer a écrit : On Jul 12, 2011, at 12:13 PM, Marc Saudreau wrote: To see how it goes I would like to print face temperature using masks defined for imposing boundary conditions but I don

Re: Pb with convergence of sweep method: it's coming from my mesh or my Bcs ?

2011-07-12 Thread Marc Saudreau
Jonathan Guyer a écrit : On Jul 12, 2011, at 10:54 AM, Marc Saudreau wrote: Whatever the case, when I try to impose a fixed value, the temperature of faces is not uniform. I guess I should have the same value on all faces I fixed the temperature ! See the attached jpg file when

Re: Pb with convergence of sweep method: it's coming from my mesh or my Bcs ?

2011-07-12 Thread Marc Saudreau
GMSH meshes composed of quadrangles and hexahedrons ! Do you plan to make this available in a next release of Fipy ? Thanks again for your help. Cheers Daniel Wheeler a écrit : On Fri, Jul 8, 2011 at 10:53 AM, Marc Saudreau wrote: Dear all,  I'm trying to impose Bcs conditio

Re: How to extract a specific surface area of a mesh and imposing a BC ?

2011-06-08 Thread Marc Saudreau
Thanks a lot Jonathan ... On May 31, 2011, at 11:12 AM, Marc Saudreau wrote: On May 31, 2011, at 10:08 AM, Marc Saudreau wrote: 1. In GMSH you can group some mesh elements and name them (usually with a code number). Is it possible to get this code number within FiPy to be able to work on

Re: How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Marc Saudreau
Thanks for your quick reply ... On May 31, 2011, at 10:08 AM, Marc Saudreau wrote: 1. In GMSH you can group some mesh elements and name them (usually with a code number). Is it possible to get this code number within FiPy to be able to work on these elements specifically. For instance, a

How to extract a specific surface area of a mesh and imposing a BC ?

2011-05-31 Thread Marc Saudreau
Hi everyone, I come back to you because I would like to extract from a mesh, made with GMSH and imported via the GmshImporter3D() function, a specific region. My goal is to use this information to impose a specific BC (convective!) to this area. I looked at the FiPy documentation and mail

Re: Extract 1D profile from 2D or 3D grid

2011-05-19 Thread Marc Saudreau
something now. No idea if it's what you want though. Good luck. On Thu, May 19, 2011 at 10:34 AM, Marc Saudreau wrote: I've got float64 in both cases !! May my *.py file help you ?  Thanks   Marc Daniel Wheeler a écrit : What do you get if you print numerix.array(S).dtype? O

Re: Extract 1D profile from 2D or 3D grid

2011-05-19 Thread Marc Saudreau
I've got float64 in both cases !! May my *.py file help you ? Thanks Marc Daniel Wheeler a écrit : What do you get if you print numerix.array(S).dtype? On Thu, May 19, 2011 at 9:13 AM, Marc Saudreau wrote: Hi Daniel,  thanks a lot. Your example works fine when I use it alone

Re: Extract 1D profile from 2D or 3D grid

2011-05-19 Thread Marc Saudreau
t any data from "v" with "v([x, y])" where "x" and "y" define a set of coordinates. Cheers On Tue, May 17, 2011 at 4:47 AM, Marc Saudreau wrote: Hi everyone,  I'm trying to use Fipy to solve a 2D heat transfer problem, and I need to extract fr

Extract 1D profile from 2D or 3D grid

2011-05-17 Thread Marc Saudreau
Hi everyone, I'm trying to use Fipy to solve a 2D heat transfer problem, and I need to extract from my 2D grid, some 1D profiles. For instance I need to plot temperature versus y axis for x given. I had a look at Fipy examples but I did not find any way to do it. Thanks a lot for any help.