CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   OPENFoam File Format as XML A Wishlist (http://www.cfd-online.com/Forums/openfoam/60874-openfoam-file-format-xml-wishlist.html)

iyer_arvind December 22, 2007 08:49

Is it worthwhile to have file
 
Is it worthwhile to have file format of OpenFOAM, (the dictionary structure basically) changed to XML format?

That would make parsing with other packages, and third party package development very easy, given the availability of XML Parsing libraries.

Just a thought, so put it into wish list ;)

msrinath80 December 25, 2007 19:58

I think the present format is
 
I think the present format is quite user-friendly. Besides many folks already have tools to do what they need. Those would become useless if the format changes. Just a thought.

olesen January 2, 2008 04:39

Hi Iyer, XML might be good
 
Hi Iyer,

XML might be good for machines to read/write, but the current dictionary structure is much more human readable. You could probably take the current OpenFOAM framework and use it to write a dictionary to XML filter.


All times are GMT -4. The time now is 17:45.