Hi Daniel,
Thanks for your reply anyway.
Since Fipy is applicable to phase-field and stress-strain coupled problem, I plan to use Sfepy to calculate stress-strain, then use the result for phase-field calculation. However, as the mesh numbering rules of Sfepy and Fipy are not the same, the order of stress values in outcome Sfepy array is not as expected for Fipy. So, I think ,if I could export Fipy mesh, then use it in Sfepy for calculating stree-strain, then use the outcome Sfepy stress -strain in Fipy, would be very convenient.
Regarding this issue do you have any good idea?
Regards
Ronghai


On 18/08/14 17:05, Daniel Wheeler wrote:
On Fri, Aug 15, 2014 at 10:39 AM, Ronghai Wu <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    I am using Fipy 3.1. if I have

    m = Grid2D(nx=3,ny=3,dx=1.,dy=1.)

    is it possible to export "m" as ".mesh" or ".msh" file?


Hi Ronghai,

I believe that this isn't possible currently. There has been some work completed on grid refinement using Gmsh, which involved reading and writing "msh" files, but I don't think that it has been merged into the main development branch yet. Sorry that I can't be more helpful.

Cheers,

Daniel

--
Daniel Wheeler


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

--
------------------------------------------
Ronghai Wu

Institute of Materials Simulation (WW8)
Department of Materials Science and Engineering
University of Erlangen-Nürnberg
Dr.-Mack-Str. 77, 90762 Fürth, Germany

Tel. +49 (0)911 65078-65064

_______________________________________________
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