The format of the ".GEO" file comprises consecutive one-line records, each of which defines a single parameter.
The order of items in each line is strict. The key-word is placed in the beginning of a line. It identifies the attribute. The value of the attribute then follows.
The order of records of data is not strict and can be changed, with one exception, namely that the "SHAPE" key-word should always appear first.
The second item of the "SHAPE" line is the abbreviated name of the shape in question. It is used for all shapes except in Design Workshop Files.
Abbreviated names and associated full names are as follows:
Key-Word Meaning
bfcgrid BFC grid shape
cone Cone
cube Cube
cylinder Cylinder
cylsphor Cylinder with spherical orifice
cylbturn Cylindrical bar turn
cylpturn Cylindrical pipe turn
frustrum Hollow frustrum sector
frrecor Frustrum with rectangular orifice
pyrcylor Pyramid with cylindrical orifice
pyrrecor Pyramid with rectangular orifice
pyrsphor Pyramid with spherical orifice
ringbar Ring
ringpipe Ring pipe
sphere Sphere
sphcylor Sphere with cylindrical orifice
sphrecor Sphere with rectangular orifice
sphshell Spherical shell
spirbar Spiral
spirpipe Spiral pipe
tjunbar T-junction bar
tjunpipe T-junction pipe
recbturn Rectangular bar turn
recpturn Rectangular pipe turn
fspirbar Flat spiral bar
fspirpipe Flat spiral pipe
xjunbar X-junction bar
xjunpipe X-junction pipe
joukairf Joukowsky Airfoil
nacaairf NACA 4 Digit Airfoil
perfplat Perforated rectangular plate
plate Rectangular plate
This unique parameter which should be always present
at a .GEO file. All other parameters are optional.
Conditionally they can be separated on two groups: common parameters for all shapes and specific which are used for the description of some shapes.
Key-Word Meaning
nxcopy X number of copies of arrayed shape
nycopy Y number of copies of arrayed shape
xarray shift in X direction of arrayed object
yarray shift in Y direction of arrayed object
xsize X size of placed object
ysize Y size of placed object
zsize Z size of placed object
xpos X position of placed object
ypos Y position of placed object
zpos Z position of placed object
xrot rotation angle about X
yrot rotation angle about Y
zrot rotation angle about Z
tmprt temperature of object
initmp initial temperature of object
prpno material-property index
The nxcopy and nycopy are quantity of copies of arrayed shape in X and Y direction, integer values.
The xarray and yarray are shift of arrayed object in X and Y direction in meters, real values.
The xsize, ysize and zsize are X, Y and Z sizes of shape in meters, reals values.
The xpos, ypos and zpos are X, Y and Z positions in domain in meters, reals values.
The xrot, yrot and zrot are rotation angles about X, Y and Z axes in degrees, reals values.
The tmprt is a temperature of shape in Kelvin, reals value.
The initmp is a initial temperature of shape in Kelvin, reals value.
The prpno is a index of shape property, real value.
Key-Word Meaning
vdir direction of the view, (0 or 1)
ixf west cell face number
ixl east cell face number
iyf south cell face number
iyl north cell face number
izf low cell face number
izl high cell face number
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
ang1 angle between bottom and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
invert subtractive geometry case, (0 or 1)
Key-Word Meaning
tsize top size, (0-1)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
invert subtractive geometry case, (0 or 1)
Key-Word Meaning
trad top radius
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
invert subtractive geometry case, (0 or 1)
Key-Word Meaning
brad bottom outside radius, (>0)
trad top outside radius, (>0)
zf first z location, (0-2)
zl last z location, (0-2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac outside radius transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
len1 first part length, (>1)
len2 second part length, (>1)
ang1 angle between first and second bars, (-90 - 90)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad inside pipe radius, (>0)
len1 first part length, (>1)
len2 second part length, (>1)
rfrac inside pipe radius transformation
ang1 angle between first and second bars, (-90 - 90)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
borad bottom outside radius
birad bottom inside radius
torad top outside radius
tirad top inside radius
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
orfrac outside radius transformation
irfrac inside radius transformation
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
torad top outside radius
birad bottom inside half side
tirad top inside half side
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac inside size transformation
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
birad bottom inside radius
torad top outside size
tirad top inside radius
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac inside radius transformation
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
birad bottom inside size
torad top outside size
tirad top inside size
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac inside size transformation
ang1 angle between bottom and horizon, (0-60)
ang2 angle between top and horizon, (0-60)
nfacets number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
borad bottom outside size
torad top outside size
zf first z location, (0 - 2)
zl last z location, (0 - 2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac outside size transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad ring section radius
zf first z location, (0 - 2)
zl last z location, (0 - 2)
f2pi ring section fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
f2pir ring fraction of 2 pi, (0-1)
angsr angle at which the actual surface starts
hrfarc horizontal radius transformation
vrfrac vertical radius transformation
vfacets vertical number of facets
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
orad ring section outside radius
irad ring section inside radius
zfi first z location of inside ring,(0-2)
zli last z location of inside ring, (0-2)
zfo first z location of outside ring, (0-2)
zlo last z location of outside ring, (0-2)
f2pi ring section fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
f2pir ring fraction of 2 pi, (0-1)
angsr angle at which the actual surface starts
hrfrac horizontal radius transformation
virfrac vertical inside radius transformation
vorfrac vertical outside radius transformation
vfacets vertical number of facets
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
zf first z location, (0-2)
zl last z location, (0-2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
hrfrac horizontal radius transformation
vrfrac vertical radius transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
birad bottom inside radius
tirad top inside radius
zf first z location, (0-2)
zl last z location, (0-2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac inside radius transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
birad bottom inside size
tirad top inside size
zf first z location, (0-2)
zl last z location, (0-2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
rfrac outside size transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad inside sphere radius
zfi first z location of inside sphere,(0-2)
zli last z location of inside sphere,(0-2)
zf first z location of outside sphere,(0-2)
zl last z location of outside sphere, (0-2)
f2pi fraction of 2 pi, (0-1)
angs angle at which the actual surface starts
vorfrac vertical outside radius transformation
virfrac vertical inside radius transformation
horfrac horizontal outside radius transformation
hirfrac horizontal inside radius transformation
hfacets horizontal number of facets
vfacets vertical number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad ring section radius
zf first z location, (0-2)
zl last z location, (0-2)
f2pi fraction of 2 pi of spiral section, (0-1)
angs start angle of spiral section
f2pir fraction of 2 pi of spiral ring, (0-1)
angsr start angle of spiral ring
hrfrac horizontal radius transformation
vrfrac vertical radius transformation
radfrac fraction of max ring horizontal radius
hrshift horizontal change of radius
vrshift vertical change of radius
vfacets vertical number of facets
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
orad ring section outside radius
irad ring section inside radius
zfi first z location of inside ring, (0-2)
zli last z location of inside ring, (0-2)
zf first z location of outside ring, (0-2)
zl last z location of outside ring, (0-2)
f2pi fraction of 2 pi of spiral section, (0-1)
angs start angle of spiral section
f2pir fraction of 2 pi of spiral ring, (0-1)
angsr start angle of spiral ring
hrfrac horizontal radius transformation
vrfrac vertical inside radius transformation
radfrac fraction of max ring horizontal radius
hrshift horizontal change of radius
vrshift vertical change of radius
vfacets vertical number of facets
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
b2rad bottom second pipe radius
t2rad top second pipe radius
lenu main bar upper part length, (>=0.5)
lenl main bar lower part length, (>=0.5)
len2 second bar length, (>=0.5)
rfrac second bar radius transformation
ang1 angle between first and second bars, (0-180)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
o2rad outside second pipe radius
irad inside main pipe radius
i2rad inside second pipe radius
lenu main pipe upper part length, (>=0.5)
lenl main pipe lower part length, (>=0.5)
len2 second pipe length, (>=0.5)
rfrac second pipe radius transformation
ang1 angle between main and second pipes, (0-180)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
len1 first part length, (>0)
len2 second part length, (>0)
ang1 angle between first and second bars, (0-180)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad inside pipe radius
len1 first part length, (>1)
len2 second part length, (>1)
rfrac inside pipe radius transformation
ang1 angle between first and second pipes, (0-180)
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
rad rectangle size
f2pi fraction of 2 pi of spiral section, (0-1)
angs start angle of spiral section
f2pir fraction of 2 pi of spiral ring, (0-1)
angsr start angle of spiral ring
hrfrac horizontal radius transformation
rfrac rectangle size transformation
radfrac fraction of max ring horizontal radius
hrshift horizontal change of radius
vrshift vertical change of radius
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
orad ring section outside radius
irad ring section inside radius
f2pi fraction of 2 pi of spiral section, (0-1)
angs start angle of spiral section
f2pir fraction of 2 pi of spiral ring, (0-1)
angsr start angle of spiral ring
hrfrac horizontal radius transformation
vrfrac vertical inside radius transformation
vorfrac vertical outside radius transformation
radfrac fraction of max ring horizontal radius
hrshift horizontal change of radius
vrshift vertical change of radius
hfacets horizontal number of facets
cartes 1 for cartesian or 0 for polar
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
b3rad bottom third pipe radius
b2rad bottom second pipe radius
t3rad top third pipe radius
t2rad top second pipe radius
lenu main bar upper part length, (>=0.5)
lenl main bar lower part length, (>=0.5)
len3 third bar length, (>=0.5)
len2 second bar length, (>=0.5)
r2frac second bar radius transformation
r3frac third bar radius transformation
ang1 angle between first and second bars, (0-180)
ang2 angle between first and third bars, (0-180)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
b3orad bottom third pipe radius
b2orad bottom second pipe radius
t3orad top third pipe radius
t2orad top second pipe radius
t2irad top second pipe radius
b2irad bottom second pipe radius
t3irad top third pipe radius
b3irad bottom third pipe radius
lenu main pipe upper part length, (>=0.5)
lenl main pipe lower part length, (>=0.5)
len3 third pipe length, (>=0.5)
len2 second pipe length, (>=0.5)
o2rfrac second pipe outside radius transformation
i2rfrac second pipe inside radius transformation
o3rfrac third pipe outside radius transformation
i3rfrac third pipe inside radius transformation
ang1 angle between first and second pipes, (0-180)
rad main pipe inside radius
rfrac main pipe inside radius transformation
ang1 angle between first and third pipes, (0-180)
nfacets number of facets
half switch on half of figure, (0 or 1)
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
thickn a thickness parameter
camber camber
offset offset from basic surface (1-2)
nfacets number of facets
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
nfacets number of facets
camber camber/chord ratio
chord percentage max chord
thickn thickness/chord ratio
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
brad bottom radius of the hole of perf. plate
trad top radius of the hole of perf. plate
xsize X size of perf. plate
ysize Y size of perf. plate
thickn thickness of the perf. plate
nfacets number of facets
nxhol number of holes in X direction
nyhol number of holes in Y direction
opaque 1 for opaque or -1 for transparent facets
Key-Word Meaning
length Length of plate
width Width of plate
thickn thickness of plate
The sample of ".GEO" file for CONE shape is submitted below.
(c) CHAM 2003 exported from ShapeMaker
shape cone Cone
f2pi 1.000000 fraction of 2 pi, (0-1)
angs 0.000000 angle at which the actual surface starts
ang1 0.000000 angle between bottom and horizon, (0-60)
nfacets 24 number of facets
cartes 1 1 for cartesian or 0 for polar
opaque 1 1 for opaque or -1 for transparent facets
invert 0 subtractive geometry case, (0 or 1)
nxcopy 1 X number of copies of arrayed shape
nycopy 1 Y number of copies of arrayed shape
xarray 0.000000 shift in X direction of arrayed object
yarray 0.000000 shift in Y direction of arrayed object
xsize 1.000000 X size of placed object
ysize 1.000000 Y size of placed object
zsize 1.000000 Z size of placed object
xpos 0.000000 X position of placed object
ypos 0.000000 Y position of placed object
zpos 0.000000 Z position of placed object
xrot 0.000000 rotation angle about X
yrot 0.000000 rotation angle about Y
zrot 0.000000 rotation angle about Z
tmprt 0.000000 temperature of object
initmp 0.000000 initial temperature of object
prpno 0.000000 material-property index
The ".GEO" file can be created by other programs. A fragment of C code is submitted below, which dumps ShapeMaker parameters into a ".GEO" file.
strcpy(stline,"shape cone Cone");
fprintf(GeoDatFile, "%-50s\n", stline);
strcpy(stline,"fraction of 2 pi, (0-1)");
fprintf(GeoDatFile, "f2pi %-10f %-50s\n", angfac, stline);
strcpy(stline,"angle at which the actual surface starts");
fprintf(GeoDatFile, "angs %-10f %-50s\n", angf, stline);
strcpy(stline,"angle between bottom and horizon, (0-60)");
fprintf(GeoDatFile, "ang1 %-10f %-50s\n", cutang, stline);
strcpy(stline,"number of facets");
fprintf(GeoDatFile, "nfacets %-10d %-50s\n", nfside, stline);
strcpy(stline,"1 for cartesian or 0 for polar");
fprintf(GeoDatFile, "cartes %-10d %-50s\n", cartes, stline);
strcpy(stline,"1 for opaque or -1 for transparent facets");
fprintf(GeoDatFile, "opaque %-10d %-50s\n", isign, stline);
strcpy(stline,"subtractive geometry case, (0 or 1)");
fprintf(GeoDatFile, "invert %-10d %-50s\n", invert, stline);