Tanya, For a lid driven cavity example, see https://gitorious.org/microchanit/microchanit/blobs/master/patch/patchfipyrev5303.diff and search for examples/flow/lidDrivenCavity.py
On a rectangular mesh though. In current fipy is it slower than it was originally though, and result at end is somewhat off again. But it works :-) For a semicircle mesh, create your own mesh type in fipy, so create a patch as I did for this microchanit project, to add the mesh you want. Or create it in your project. Benny 2012/12/3 Tanya Gornak <[email protected]> > Hello, > > I want to solve lid driven cavity problem in a semicircle. My problem > is that I need a Cartesian mesh, > therefore I can not use GMSH to create my geometry. > > How can I create a Cartesian mesh for semicircle for FiPy? > > Thanks in advance. > > -- > Best regards, > Tatjana > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] >
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
