|shapefact model.g objects...|
Shapefact is an interactive program used to create a file containing shape factors between all regions of the named objects. The shape factor from region i to region j is the fraction of total energy radiated from region i that is intercepted by region j. This file can be used with the enhanced engine model developed by Jim Rapp at BRL for use in the PRISM thermal simulation.
Air must be explicitly modeled since shapefact will only calculate shape factors between regions separated by engine air (air code of 5). Shapefact uses a Monte Carlo simulation, so increasing the number of significant digits in the answer by one requires about one hundred fold increase in the number of rays fired.
The following is an example from an interactive session.
$ shapefact sph.dsk.g all.air Enter type of file to be written (0=>regular or 1=>generic). 0 Enter name of output file (15 char max). sd.sh.reg Enter the name of the error file (15 char max). sd.sh.err Enter the region # & name file to be read (15 char max). sd.f.rnn Do you want to dump interm shape factors to screen (0-no, 1-yes)? 0 Enter number of rays to be fired. 5000000 Do you wish to enter your own seed (0) or use the default of 1 (1)? 1 seed initialized Number of regions read from region # & name file: 4 Database Title: sphere & disk for use with shape Number of regions: 4 1000000.000000 rays have been fired. 2000000.000000 rays have been fired. 3000000.000000 rays have been fired. 4000000.000000 rays have been fired. 5000000.000000 rays have been fired. Finding correct region numbers. Finished finding correct region numbers. $
1. The region number and name file is read so that the numbering of regions is consistent across all irprep programs.
2. A generic output file may now be written.
3. An error file is written.
4. The format of the output file has been changed.
firpass(1), secpass(1), all_sf(1), showtherm(1), ir-X(1), ir-sgi(1), pictx(1), pictsgi(1), Users Manual for IRPREP (BRL-SP-96), Computer Programs for Generating an Input File for PRISM and Displaying PRISM Results (BRL report in progress)
Susan A. Coates
This software is Copyright (c) 1991-2013 by the United States Government as represented by U.S. Army Research Laboratory.
Reports of bugs or problems should be submitted via electronic mail to <email@example.com>.