Professional Documents
Culture Documents
During a FLUENT session you may need to import and export several kinds of files. Files
that are read include mesh, case, data, profile, Scheme, and journal files. Files that are
written include case, data, profile, journal, and transcript files. FLUENT also has features
that allow you to save panel layouts and hardcopies of graphics windows. You can also
export data for use with various visualization and postprocessing tools. These operations
are described in the following sections.
• Section 4.4: Reading FLUENT/UNS and RAMPANT Case and Data Files
c Fluent Inc. January 11, 2005 4-1
Reading and Writing Files
• Tilde expansion.
4-2
c Fluent Inc. January 11, 2005
4.1 Shortcuts for Reading and Writing Files
Note: You cannot read and edit a binary file, as you can do for a text file.
To save a text file, turn off the Write Binary Files option in the Select File dialog box when
you are writing the file.
FLUENT can read binary files that were saved on different platforms, but
i other products (such as TGrid) cannot. If you are planning to read a
case file into TGrid on a different platform, you should save a text file in
FLUENT.
c Fluent Inc. January 11, 2005 4-3
Reading and Writing Files
You can also type in the filename without any suffix (e.g., if you are not sure whether or
not the file is compressed). First, the solver attempts to open a file with the input name.
If it cannot find a file with that name, it attempts to locate files with default suffixes and
extensions appended to the name.
4-4
c Fluent Inc. January 11, 2005
4.1 Shortcuts for Reading and Writing Files
For example, if you enter the name file-name, the solver traverses the following list
until it finds an existing file:
• file-name
• file-name.gz
• file-name.Z
• file-name.suffix
• file-name.suffix.gz
• file-name.suffix.Z
where suffix is a common extension to the file, such as .cas or .msh. The solver reports
an error if it fails to find an existing file with one of these names.
i For Windows systems, only files that were compressed with gzip (i.e.,
files with a .gz extension) can be read. Files that were compressed with
compress cannot be read into FLUENT on a Windows machine.
Do not read a compressed ray file; FLUENT cannot access the ray tracing
i information properly from a compressed ray file.
The status message indicates that the case file information is being piped into the gzip
command, and that the output of the compression command is being redirected to the
file with the specified name. In this particular example, the .cas extension is added
automatically.
For Windows systems, compression can be performed only with gzip. That
i is, you can write a compressed file by appending .gz to the name, but
appending .Z does not compress the file.
Do not write a compressed ray file; FLUENT cannot access the ray tracing
i information properly from a compressed ray file.
c Fluent Inc. January 11, 2005 4-5
Reading and Writing Files
• For unsteady calculations, you can save files with names that reflect the time step
at which they are saved by including the character string %t in the file name. For
example, you can specify contours-%t.ps for the file name, and the solver saves
a file with the appropriate name (e.g., contours-0001.ps if the solution is at the
first time step).
• To save a file with a name that reflects the iteration at which it is saved, use the
character string %i in the file name. For example, you can specify contours-%i.ps
for the file name, and the solver saves a file with the appropriate name (e.g.,
contours-0010.ps if the solution is at the 10th iteration).
• To save a hardcopy file with a name that reflects the total number of hardcopy
files saved so far in the current solver session, use the character string %n in the file
name.
This option can be used only for hardcopy files.
When you use the character strings above in a filename, you will not be
i prompted for confirmation before FLUENT overwrites an existing file with
the same name. For example, a case where you are repeatedly using the
filename myfile-%t.ps to save hardcopies with names that reflect the cur-
rent time step. If you have already saved myfile-0001.ps at the first time
step, restart the calculation, and save another hardcopy at the (new) first
time step, the solver will overwrite the original myfile-0001.ps without
checking with you.
4-6
c Fluent Inc. January 11, 2005
4.2 Reading Mesh Files
c Fluent Inc. January 11, 2005 4-7
Reading and Writing Files
4-8
c Fluent Inc. January 11, 2005
4.2 Reading Mesh Files
c Fluent Inc. January 11, 2005 4-9
Reading and Writing Files
• To import a mesh and the corresponding CGNS data, use the File/Import/CGNS/Mesh
& Data... menu item.
File −→ Import −→ CGNS −→Mesh & Data...
• To import only the CGNS data, use the File/Import/CGNS/Data... menu item.
File −→ Import −→ CGNS −→Data...
Note: To import data correctly, first import the mesh using the mesh only option
(Mesh...), set up the boundary conditions, and read the data using the data only
option (Data...). For example, if a boundary zone is of type pressure-outlet and
is read as outlet, it should be changed to pressure-outlet before importing the
data.
The new and original grids should have the same zones, numbered in the
i same order. A warning is issued if they do not, because inconsistencies can
create problems with the boundary conditions.
4-10
c Fluent Inc. January 11, 2005
4.3 Reading and Writing Case and Data Files
If you adapt the grid, you must save a new case file as well as a data
i file. Otherwise the new data file will not correspond to the case file (for
example, they will have different numbers of cells). If you have not saved
the latest case or data file, FLUENT will warn you when you try to exit
the program.
c Fluent Inc. January 11, 2005 4-11
Reading and Writing Files
4-12
c Fluent Inc. January 11, 2005
4.3 Reading and Writing Case and Data Files
You must set the frequency of saves for case and/or data files, and the root filename.
Enter the case-saving frequency in the Autosave Case File Frequency field, and the data-
saving frequency in the Autosave Data File Frequency field. Both values are set to zero
by default, indicating that no automatic saving is performed.
For steady flows you specify the frequency in iterations, and for unsteady flows you
specify it in time steps (unless you are using the explicit time stepping formulation, in
which case you specify the frequency in iterations). If you define an Autosave Case File
Frequency of 10, for example, a case file is saved every 10 iterations or time steps.
If you have limited disc space, restrict the number of files saved by FLUENT using the
Overwrite Existing Files option. Enable the Overwrite Existing Files option and set the
value of the Maximum Number of Each File Type field. The case and data files are treated
separately. For example, if the value of Maximum Number of Each File Type is set to five,
FLUENT saves maximum of five case and five data files, irrespective of the frequency.
After saving the specified number of files, FLUENT overwrites the earliest existing file.
c Fluent Inc. January 11, 2005 4-13
Reading and Writing Files
Enter the filename for the autosave files in the Filename field. The iteration or time-step
number and an appropriate suffix (.cas or .dat) is added to the specified root name. If
the specified Filename ends in .gz or .Z, appropriate file compression is performed. See
Section 4.1.5: Reading and Writing Compressed Files for details about file compression.
All of the autosave inputs are stored in the case file.
4-14
c Fluent Inc. January 11, 2005
4.7 Creating and Reading Journal Files
A journal file is, by design, just a simple record and playback facility. It
i contains no information about the state in which it was recorded or the
state in which it is being played back.
• Be careful not to change the directory while recording a journal file. Also, try to
re-create the state in which the journal was written before you read it into the
program. For example, if your journal file includes an instruction to save a new
file with a specified name, you should check that if a file with that name exists in
your directory before you read in your journal file. If a file with that name exists
and you read in your journal file, when the program reaches the write instruction,
it will prompt for a confirmation if it is OK to overwrite the old file.
Since the journal file does not contain any response to the confirmation request,
FLUENT cannot continue to follow the instructions of the journal file.
• Other conditions that may affect the program’s ability to perform the instructions
contained in a journal file can be created by modifications or manipulations that
you make within the program.
For example, if your journal file creates several surfaces and displays data on those
surfaces, you must be sure to read in appropriate case and data files before reading
the journal file.
At a point of time, only one journal file can be open for recording, but you
i can write a journal and a transcript file simultaneously. You can also read
a journal file at any time.
c Fluent Inc. January 11, 2005 4-15
Reading and Writing Files
Only one transcript file can be open for recording at a time, but you can
i write a transcript and a journal file simultaneously. You can also read a
journal file while a transcript recording is in progress.
4-16
c Fluent Inc. January 11, 2005
4.9 Reading and Writing Profile Files
c Fluent Inc. January 11, 2005 4-17
Reading and Writing Files
4-18
c Fluent Inc. January 11, 2005
4.11 Writing a Boundary Grid
adjacent to the region of the topological change. This is important for wall zones.
Note: If the boundary conditions are not checked and some remain uninitialized, the
case will not run successfully.
When the read-bc feature is not used, all boundary conditions get the default settings
when a mesh file is imported, allowing the case to run with the default values.
If you want FLUENT to apply a set of conditions to multiple zones with similar names, or
to a single zone with a name you are not sure of in advance, you can edit the boundary-
condition file saved with the write-bc command to include wildcards (*) within the
zone names. For example, if you want to apply a particular set of conditions to wall-12,
wall-15, and wall-17 in your current model, edit the boundary-condition file so that
the zone name associated with the desired conditions is wall-*.
c Fluent Inc. January 11, 2005 4-19
Reading and Writing Files
4-20
c Fluent Inc. January 11, 2005
4.12 Saving Hardcopy Files
6. If you are generating a window dump, specify the command to be used for the
dump.
8. Click on the Save... button and enter the filename in the resulting Select File dialog
box. See Section 4.1.7: Automatic Numbering of Files for information on special
features related to filename specification.
If you are not ready to save a hardcopy but want to save the current hardcopy settings,
click on the Apply button instead of the Save... button. The applied settings become the
defaults for subsequent hardcopies.
EPS (Encapsulated PostScript) output is the same as PostScript output, with the ad-
dition of Adobe Document Structuring Conventions (v2) statements. Currently, no
preview bitmap is included in EPS output. Often, programs that import EPS files
use the preview bitmap to display on-screen, although the actual vector PostScript
information is used for printing (on a PostScript device). You can save EPS files
in raster or vector format.
HPGL is a vector file format designed for pen plotters. The HPGL driver supports a
limited set of colors and is not capable of rendering some scenes properly.
IRIS Image is the native raster image file format on SGI computers. The IRIS Image
driver may not be available on all platforms.
PICT is the native graphics file format on Macintosh computers. PICT files may
contain either vector or raster information (or both). Typically, “draw” programs
generate vector information, while “paint” programs use raster formats. You can
choose to save a PICT file in raster or vector format.
PostScript is a common vector file format. You can also choose to save a PostScript
file in raster format.
c Fluent Inc. January 11, 2005 4-21
Reading and Writing Files
Non-geometric entities such as text, titles, color bars, and orientation axis
i are not exported. In addition, most display or visibility characteristics set
in FLUENT, such as lighting, shading method, transparency, face and edge
visibility, outer face culling, and hidden line removal, are not explicitly
exported but are controlled by the software used to view the VRML file.
Window Dump (UNIX systems only) selects a window dump operation for generating
the hardcopy. With this format, you need to specify the appropriate Window Dump
Command.
• A Raster file defines the color of each individual pixel in the image. Raster files
have a fixed resolution. The supported raster formats are IRIS image, JPEG, PICT,
PPM, PostScript, EPS, and TIFF.
For the quickest print time, you can save vector files for simple 2D displays
i and raster files for complicated scenes.
4-22
c Fluent Inc. January 11, 2005
4.12 Saving Hardcopy Files
Most monochrome PostScript devices render Color images in shades of gray, but to ensure
that the color ramp is rendered as a linearly-increasing gray ramp, you should select Gray
Scale.
Hardcopy Options
For all hardcopy formats except the window dump, you can control two additional settings
under Options:
• Specify the orientation of the hardcopy using the Landscape Orientation button. If
this option is turned on, the hardcopy is made in landscape mode; otherwise, it is
made in portrait mode.
• Control the foreground/background color using the Reverse Foreground/Background
option. If this option is enabled, the foreground and background colors of graphics
windows being hardcopied is swapped. This feature allows you to make hardcopies
with a white background and a black foreground, while the graphics windows are
displayed with a black background and white foreground.
FLUENT provides options that allow you to save PostScript files that can be printed
more quickly. The following options is found in the display/set/hard-copy/driver/
post-format text menu:
fast-raster enables a raster file that may be larger than the standard raster file, but
will print much more quickly.
raster enables the standard raster file.
rle-raster enables a run-length encoded raster file that is about the same size as the
standard raster file, but will print slightly more quickly. This is the default file
type.
vector enables the standard vector file.
c Fluent Inc. January 11, 2005 4-23
Reading and Writing Files
When the dump occurs, FLUENT automatically interprets %w to be the ID number of the
active window.
When you click on the Save... button, the Select File dialog box appears. Enter the
filename for the output from the window dump (e.g., myfile.xwd).
If you are planning to make an animation, save the window dumps into numbered files,
using the %n variable. To do this, use the Window Dump Command (xwd -id %w), but for
the filename in the Select File dialog box enter myfile%n.xwd. Each time a new window
dump is created, the value of %n increases by one. So there is no need to tack numbers
onto the hardcopy filenames manually.
To use the ImageMagick animate program, saving the files in MIFF format (the native
ImageMagick format) is more efficient. In such cases, use the ImageMagick tool import.
Set the default Window Dump Command enter
import -window %w
Click Save... to invoke the Select File dialog box. Specify the output format to be MIFF
by using the .miff suffix at the end of filename.
The window dump feature is both, system and graphics-driver specific. Thus the com-
mands available for dumping windows depends on the particular configuration.
When saving window dumps is that the window dump captures the window exactly as
it is displayed, including resolution, colors, transparency, etc. For this reason, all of the
inputs that control these characteristics are disabled in the Graphics Hardcopy panel when
you enable the Window Dump format. If you are using an 8-bit graphics display, use one
of the built-in raster drivers (e.g., TIFF) to generate higher-quality 24-bit color output
rather than dumping the 8-bit window.
4-24
c Fluent Inc. January 11, 2005
4.13 Exporting Data
• Using the parallel version of FLUENT, you can export only the EnSight Case Gold,
Fieldview Unstructured, and Fieldview Case+Data files.
• Fieldview Case+Data files can be exported only through FLUENT text user interface
(TUI).
• When exporting EnSight Case Gold files for transient simulations, you cannot:
– Switch the solver between serial and parallel.
– Change the number of compute nodes for a given parallel run. Else, the
exported EnSight Case Gold files for each time step will not be compatible.
• FLUENT cannot import surfaces. So, if you export a file from FLUENT with surfaces
selected, you may not be able to read these files back into FLUENT. However, TGrid
can import surface data (see the TGrid User’s Guide for details).
• If you intend to export data to I-deas, ensure that the mesh does not contain
pyramidal elements, as these are currently not supported by I-deas.
• FLUENT exports Tecplot files in FEBLOCK format. The utility fe2ram can import
Tecplot files only in FEPOINT format.
• If you intend to postprocess FLUENT data with Tecplot, you can either export data
from FLUENT and import it into Tecplot, or use the Tecplot FLUENT Data Loader
included with your Tecplot distribution. The data loader reads native FLUENT case
and data files directly. If you are interested in this option, contact Tecplot, Inc. for
assistance or visit www.tecplot.com.
1. Select the type of file you want to write in the File Type list.
c Fluent Inc. January 11, 2005 4-25
Reading and Writing Files
2. If you chose ABAQUS, ASCII, Data Explorer, I-deas Universal, NASTRAN, PATRAN,
or Tecplot, select the surface(s) for which you want to write data in the Surfaces
list. If no surfaces are selected, the entire domain is exported. For RadTherm files,
only wall surfaces are available.
3. For ANSYS, select the cell zones to be exported. If no cell zones are selected, the
entire domain is exported.
4. For all file types except ANSYS, FAST Solution, and RadTherm, select the variable(s)
for which data is to be saved in the Functions to Write list.
5. (optional) For ABAQUS, ASCII, I-deas Universal, NASTRAN, and PATRAN files,
select the Loads to be written (Force, Temperature, and/or Heat Flux). Saving these
4-26
c Fluent Inc. January 11, 2005
4.13 Exporting Data
loads allow you to analyze the structural stresses (fluid pressure or thermal) in an
FEA program. Loads are written only on boundary walls when the entire domain
is exported (i.e., if Surfaces are not selected).
6. (optional) For ASCII files, select the Delimiter separating the fields (Comma or
Space).
7. For ASCII and CGNS files, select the Location from which the values of scalar func-
tions are to be taken (Node values or Cell-Centered values).
c Fluent Inc. January 11, 2005 4-27
Reading and Writing Files
9. For RadTherm files, select the method of writing the heat transfer coefficient (Heat
Transfer Coef.), which can be Flux Based or, if a turbulence model is enabled, Wall
Function based. RadTherm option is available only when the energy equation is
enabled.
10. For all file types, except transient EnSight Case Gold files, click on the Write...
button to save a file for the specified function(s) in the specified format, using the
Select File dialog box.
4-28
c Fluent Inc. January 11, 2005
4.13 Exporting Data
ANSYS A single file is written containing coordinates, connectivity, and the scalars
listed below:
The file written is an ANSYS results file with a .rfl extension. This file preserves
the cell zones defined in FLUENT.
Note: Export to ANSYS is available on a limited number of platforms (aix43, aix51,
alpha hpux10p8, hpux11, irix65, irix65 mips4, and ultra)
To read this file into ANSYS, do the following:
1. In ANSYS, go to General Postproc−→ Data and File Options and read the .rfl
file generated from FLUENT.
2. Go to Results Summary and click on the first line in the upcoming panel.
You will see some information listed in the ANSYS Output window displaying
geometry information.
3. In the small ANSYS Input window, enter the following command:
SET,FIRST
4. In the ANSYS MULTIPHYSICS UTILITY menu, select Plot and then Nodes or
Elements, including the nodal solution under Results in the drop-down list.
file/export/ansys file-name
c Fluent Inc. January 11, 2005 4-29
Reading and Writing Files
ASCII A single ASCII file containing coordinates, optional loads, and specified scalar
function data. Select the Surfaces for which you want to save the data. If no
surfaces are selected, the data is written for the entire domain. Then specify the
scalars you want in the Functions to Write list.
• If you specify the data Location as Node, then the node coordinates and the
data values at the node points is exported.
• If you choose Cell-Centered, then the cell-centered coordinates and the data
values at the cell-centered coordinates is exported. Specify the Delimiter for
separating data in the file (Comma or Space).
file/export/ascii file-name list-of-surfaces () yes|no list-of-scalars q yes|no
AVS An AVS version 4 UCD file containing coordinate and connectivity information
and specified scalar function data. specify the scalars you want in the Functions to
Write list.
file/export/avs file-name list-of-scalars q
CGNS (CFD general notation system) is a single file (e.g., file.cgns) containing
coordinates, connectivity, zone information, velocity, and selected scalars is written.
You can specify the scalars you want in the Functions to Write list. You can also
specify the Location as Node or Cell-Centered to write the scalars.
file/export/cgns file-name location list-of-scalars q
Data Explorer A single file (e.g., file.dx) containing coordinate, connectivity, veloc-
ity, and specified function data. Select the Surfaces for which you want to save the
data. If no surfaces are selected, the data is written for the entire domain. Then
specify the scalars you want in the Functions to Write list.
file/export/dx file-name list-of-surfaces () list-of-scalars q
4-30
c Fluent Inc. January 11, 2005
4.13 Exporting Data
FAST a grid file in extended Plot3D format containing coordinates and connectivity,
a velocity file containing the velocity, and a scalar file for each selected variable or
function. This file type is valid only for triangular and tetrahedral grids. You can
specify the scalars you want in the Functions to Write list.
file/export/fast-grid file-name
FAST Solution a single file containing density, velocity, and total energy data. This
file type is valid only for triangular and tetrahedral grids.
file/export/fast-solution file-name
Fieldview Unstructured A binary file (e.g., file.fvuns) containing coordinate and con-
nectivity information and specified scalar function data, and a regions file (e.g.,
file.fvuns.fvreg) containing information about the cell zones and the frame of
reference.
The cell zone information includes the names of the cell zones along with the grid
numbers. For the rotating frame of reference, the regions file contains information
about the origin, the axis of rotation and the rotation speed. Volume data is written
using the absolute frame of reference.
file/export/fieldview-unstruct file-name list-of-scalars q
In FIELDVIEW, you can visualize a single zone while completely turning off all other
zones. You can specify the scalars you want in the Functions to Write list.
Note: For FIELDVIEW, FLUENT can export surface based results for pressure,
shear stress, heat flux, mass flux, and species flux on boundary surfaces in
addition to the usual export. FLUENT chooses the variables that are more ac-
curate on the surfaces to export the surface based results. For 2D cases, the
surface integrals are scaled down by a factor of 10000.
The TUI provides separate options to write the grid and data files. Grids that
change with time (sliding mesh, moving deforming mesh, or dynamic adapted mesh)
can be written at each time step by defining the command to write the file in the
Execute Commands panel.
file/export/fieldview-unstruct-grid file-name
For the grids that do not change with time, the grid file needs to be written only
once. You can avoid the repeated writing of the grid files by using the TUI command
for writing only the data file.
file/export/fieldview-unstruct-data file-name
Fieldview Case+Data A FLUENT case file (e.g., file.fvc) that can be read by FIELD-
VIEW, and a data file (e.g., file.fvd) containing node-averaged values for the
selected variables. You can specify the scalars you want in the Functions to Write
list.
file/export/fieldview file-name list-of-scalars q
c Fluent Inc. January 11, 2005 4-31
Reading and Writing Files
I-deas Universal a single file containing coordinates, connectivity, optional loads, zone
groups, velocity, and selected scalars. You can specify which scalars you want in
the Functions to Write list.
file/export/ideas file-name list-of-surfaces () yes|no list-of-scalars q
RadTherm a PATRAN neutral file (e.g., file.neu) containing element velocity com-
ponents (i.e., the element that is just touching the wall), heat transfer coefficients,
and temperatures of the wall for any selected wall surface. The Surfaces list changes
to contain only wall surfaces. In the case of turbulence, the heat transfer coeffi-
cients (Heat Tran. Coef.) can be chosen to be Flux Based or Wall Function based.
If the wall is one-sided, the data are written for one side of the wall. If the wall is
two-sided, the data are written for both sides. In the case of wall-wall shadow, the
values are written only for the major face.
file/export/radtherm file-name list-of-surfaces () yes|no
Tecplot a single file containing the coordinates and scalar functions in the appropriate
tabular format. You can select the Surfaces for which to save the data. If no surfaces
are selected, the data is written for the entire domain. You can then specify the
scalars you want in the Functions to Write list.
file/export/tecplot file-name list-of-surfaces () list-of-scalars q
4-32
c Fluent Inc. January 11, 2005
4.14 Grid-to-Grid Solution Interpolation
When you are exporting data for Data Explorer, EnSight Case Gold, or I-deas
i Universal and the reference zone is not a stationary zone, the data in the
velocity fields are exported by default as velocities relative to the motion
specification of that zone. These data are always exported, even if you do
not choose to export any scalars. Any velocities that you select to export
as scalars in the Functions to Write list (e.g., X Velocity, Y Velocity, Radial
Velocity, etc.) are exported as absolute velocities. For all other types of
exported files, the velocities exported by default are absolute velocities.
2. Write an interpolation file for the solution data to be interpolated onto the new
grid, using the Interpolate Data panel (Figure 4.14.1).
File −→Interpolate...
(a) Under Options, select Write Data.
(b) In the Cell Zones list, select the cell zones for which you want to save data to
be interpolated.
Note: If your case includes both fluid and solid zones, write the data for the
fluid zones and the data for the solid zones to separate files.
(c) Choose the variable(s) for which you want to interpolate data in the Fields
list. All FLUENT solution variables are available for interpolation.
(d) Click Write... and specify the interpolation file name in the resulting Select
File dialog box. The file format is described in Section 4.14.2: Format of the
Interpolation File.
c Fluent Inc. January 11, 2005 4-33
Reading and Writing Files
Enable all of the models that were enabled in the original case. For exam-
i ple, the energy equation was enabled in the original case and you forget
to enable it in the new case, the temperature data in the interpolation file
will not interpolated.
(c) Define the boundary conditions, material properties, etc.
4-34
c Fluent Inc. January 11, 2005
4.14 Grid-to-Grid Solution Interpolation
If your case includes both fluid and solid zones, the two sets of data are
i saved to separate files. Hence perform these steps twice, once to interpolate
the data for the fluid zones and once to interpolate the data for the solid
zones.
5. Reduce the under-relaxation factors and calculate on the new grid for a few iter-
ations to avoid sudden changes due to any imbalance of fluxes after interpolation.
Then increase the under-relaxation factors and compute a solution on the new grid.
2
2
34800
3
x-velocity
pressure
y-velocity
-0.068062
-0.0680413
...
• The first line is the interpolation file version. It is 1.0 for FLUENT 5 and 2.0 for
FLUENT 6.
• The fourth line is the total number of fields (temperature, pressure, etc.) included.
• From line 5 is a list of field names. To see a complete list of the field names used
by FLUENT select the display/contours text command and view the available
choices for contours of. The list depends on the models turned on.
• Then comes a list of x, y, and (in 3D) z coordinates for all the data points.
• In the end is list of the field values at all the points in the same order as their
names. The number of coordinate and field points should match the number given
in line 3.
c Fluent Inc. January 11, 2005 4-35
Reading and Writing Files
Shorter files can also be loaded with the File/Read/Journal... menu item or the file/
read-journal command in the text interface (or its . or source alias).
> . file.scm
In this case, each character of the file is echoed to the console as it is read in the same
way as if you were typing in the contents of the file.
4-36
c Fluent Inc. January 11, 2005