XCFmesh
Some brainstorming ideas on the upcoming XCFmesh format.
XCFmesh will be based on a XML format but supporting blocks of data in some sort of binary form.
Example
<XCFmesh format_version="0.1" > <XCFcase > the CFcase could come here </XCFcase> <!-- optional --> <!-- supports multiple domains with different dimensions--> <Domain PhysicalDimension="3" > </Domain> <Domain PhysicalDimension="3" > <Zone name="" > <!-- in the code is TopologicalRegionSet --> <Region > <!-- in the code is TopologicalRegion --> < CADLink > <!-- still to be defined or as an attribute of Region --> < /CADLink > < ElemType nbgeoents="4" geotype="Cell" geoshape="Quad" geoorder="1" solorder="1" geoshapef="Lagrange" solshapef="Lagrange" > <!-- element connectivity goes here --> < NodeConnectivity tag="lolo" > 0 1 4 3 1 2 5 4 3 4 7 6 4 5 8 7 < /NodeConnectivity > < StateConnectivity same_as="lolo" > 0 1 4 3 1 2 5 4 3 4 7 6 4 5 8 7 < /StateConnectivity > < /ElemType > </Region> </Zone > <Frame iteration="0" time="0.2" > <!-- does it make sense to put the Zones here for unsteady connectivity changes? --> <TensorField name="Coordinates" varnames="X Y" size="2" nbentries="9" type="real" > <!-- data block goes here --> </TensorField > <TensorField name="Solution" varnames="p Vx Vy T c0 c1" size="6" nbentries="9" type="real" > <!-- data block goes here --> </TensorField> <TensorField name="DistanceWall" varnames="distance" size="1" nbentries="4" type="real" description="distance to the wall at cell center" > <!-- data block goes here --> </TensorField> </Frame> </Domain> </XCFmesh>
