On 4 December 2012 16:42, Jonathan Guyer <[email protected]> wrote:
>
> On Dec 3, 2012, at 12:23 PM, Tanya Gornak wrote:
>
>> How can I create a Cartesian mesh for semicircle for FiPy?
>
> I'm not even sure what that means.
>
> You want square cells?
Yes.
>
> What should the cells look like at the semicircle boundary?

Semicircle boundary is build using approximation of curved boundary
with square cell (see attached picture).

> Why do you need a Cartesian mesh? If you want to know the values on a 
> Cartesian grid, you can solve on a triangular mesh and then use the 
> var(points) syntax to interpolate the values.

No, this would not work for me. I need Cartesian mesh, because I want
to test new method for solving pressure correction equation,
and it works only on Cartesian mesh.

> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]



-- 
Sincerely yours,
Tatiana Gornak

<<attachment: circle_cartesian.png>>

_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to