When an object is first created, and a type is selected, one of the following .dat files will be used as the default geometry:
|Object Type||Cartesian Grid||Polar Grid|
|Blockage (solid)||Cube14 (grey)||Polcu8 (grey)|
|Blockage (solid+heat)||Cube4 (red)||Polcu7 (red)|
|Blockage (fluid)||Cubet (transparent grey)||Polcubt2 (transparent grey)|
|Blockage (fluid+heat)||Cubet1 (transparent red)||Polcubt1 (transparent red)|
|Inlet / Angled-in||Cube3t (transparent purple)||Polcu5t (transparent purple)|
|Outlet / Angled-out||Cube12t (transparent light blue)||Polcubet (transparent light blue)|
|Plate||Cube11 (light brown)||Polcu10 (light brown)|
|Plate + heat||Cube13 (orange)||Polcu2 (orange)|
|Thin plate||Cube11 (light brown)||Polcu10 (light brown)|
|Foliage||foliage (transparent light green)||foliage (transparent light green)|
|Fan||Cube2t (transparent white) or Cylpipe if circular||Polcu4t (transparent white)|
|Point_history||Default (khaki)||Poldef (khaki)|
|Fine grid volume||Fine (special wire-frame)||Polfgv|
|User defined1||Default (khaki)||Poldef (khaki)|
|Celltype1||Default (khaki)||Poldef (khaki)|
|Null||Wirexyz (wire-frame)||Wirexyz (wire-frame)|
|PCB||Cube1 (green)||Polcu9 (green)|
|Pressure relief||Cubet (transparent grey)||Polcubet (transparent grey)|
|ROTOR||n/a||Polcub4t (transparent white)|
|Drag_lift||Drag (special wire-frame)||Poldrag (special wire-frame)|
|Wind_profile / Wind||Wind (transparent mauve)||n/a|
|Sun||Sun (transparent orange)||n/a|
|Transfer||Cubetran (transparent green)||Polcubtra (transparent green)|
These files are in the \phoenics \d_satell\d_object\public\default folder.
When the type of an object is subsequently changed, the geometry file will be changed according to the above table, as long as the current geometry is one of the above.
If the user has selected any other geometry, such as shapes\cylinder, then VR-Editor will not change it. Object types marked 1 in the table will also not change the geometry.
A description of the data file format is given in How do I make my own Clipart/Geometry files for PHOENICS-VR?
On exit from VR-Editor, a file called FACETDAT is created, which contains the definitions of the all the facets for all the non-cuboid objects. This file is read and interpreted by EARTH.
It is possible to make VR-Editor use a different geometry from that displayed on screen to create the FACETDAT file. This can be useful if the displayed geometry contains more detail than is required for the simulation.
Geometries whose file names appear in the file \phoenics \d_satell \d_object \replace.lst will be replaced by the default cube, or any other geometry specified there. The default replace.lst contains:
* File name replace.lst --------------------------------------- 24.12.02 * * Geometries whose file names match those listed below will be * replaced by the default cube at the time of setting facet cells and * before writing facetdat file. If a second geometry name is listed, * that will be used instead of the default cube. * If a rotation code is required for the replacement geometry, it can * be specified after the second name. * fan fan1 fan2 fire fire2 window window1 window2 window3 window4 paddle elgouna1 elg8 elcomp1 elcorep frnt_whl cylinder 5 back_whl cylinder 5
On the last four lines, the second string contains the name of the geometry used to create the FACETDAT entry. On the last two lines, a rotation code is also specified.