next up previous contents
Next: Inputting data file Up: cbeam Previous: Analysis and results

Subsections



File outputs

Four kinds of files

A file `Cbeam.ini' keeps information of the location of the main window, language setting and sign convention of the moment diagram explained in Sec.[*]. This file is read when this program is executed and is revised when it is stopped. If you accidentally erase this file, by NotePad or an editor you must make a file named `Cbeam.ini' containing four lines as

\fbox{\shortstack[r]{
~~~~~500~~~~~~~~~~~~~~~~~~~~~ \\
400~~~~~~~~~~~~~~~~~~~~~ \\
1~~~~~~~~~~~~~~~~~~~~~ \\
1~~~~~~~~~~~~~~~~~~~~~}}
in the directory where `Cbeam.exe' exists. The first two data are coordinates of the main window. The third data represents language selection, and $0$ indicates Japanese while $1$ shows English. The last data is about positive direction in the moment diagram; $1$ indicates positive in downward direction and $-1$ in upward direction.

Every time of analyses; i.e. at every double-click in the Results Window, six files are created in the directory where `Cbeam.exe' exists.

[l] CntBeam.dat:   Simple data (text file)
Cbeam-d.tex, Cbeam-r.tex, Cbeam-s.tex, Cbeam-m.tex,:   Picture files for LATEX
Cbeam.cbm:   Setting file for this particular program
These files can be used to draw figure from results, or can be input to this program `Cbeam.exe' as a setting data. All of these files are over-written every time FEM analysis is carried out. Therefore, if you want to use some of these files afterwards, you must move necessary files to a different directory or you must rename them properly.

Fig.: Example of usage of graphics software
\includegraphics*{ngraph.ps}

Usage of simple data

A data file `CntBeam.dat' contains lines of numerical data of settings and results. For example, the lines of results look like

% Results
% Elmnt Node     w/L         w'           SL^2/EI      ML/EI
 1       1       0           0          5.417556    -11.63432 
 1       2      24.57116    44.62769    5.417556    -6.21676 
 2       2      24.57116    44.62769    5.417556    -6.21676 
 .......
and are simply lists of calculated results. At the beginning of this file, information about the boundary conditions, rigidities and loading conditions is also given.

Since many drawing software can handle such a file of data separated by spaces as an input data, this file can be used to draw, say, moment diagrams by some software. As an example, a display by a freeware of Ngraph is shown in Fig.[*].

Fig.: Example of output by LATEX
\includegraphics*{latex.ps}

Usage of LATEX

Four output files are distinguished by a letter following a hyphen as

[l] d: Conditions and deflection
r: Bending rigidity ratio
s: Shear diagram
m: Moment diagram
and contain expressions of figures in the picture environment of LATEX. However, since some `\special's of EPIC code are used, you must need two style files as `epic.sty' and `eepic.sty.' The latter can be replaced by another version of the similar style files, `ecleepic.sty.'

A file `Cbeam209.tex' in the archive is an example source file in LATEX209, while `Cbeam-2e.tex' is for LATEX2e to typeset such diagrams. After an analysis of a certain beam, please compile one of these files. Then the diagram figures as is shown in Fig.[*] can be obtained.

As you may see several numerals in the right figure of Fig.[*], numerical results of some quantities are also output in these LATEX files. These lines can be found to be

% string
\CbeaM(200,1500){{\tiny $-12.345$}}%
in such files. If these output are not necessary, the lines starting by a command \CbeaM must be commented out or removed. You can find a tip of handling this command in the example files `Cbeam209.tex' and `Cbeam-2e.tex.' Or replacing \CbeaM by \path yields output of such values. If you need a neat output, you must adjust coordinates manually one-by-one. Otherwise such numerals sometimes lie upon lines of the diagram as is seen in Fig.[*]. Adjustment can be proceeded by changing numbers, for example, in the parenthesis (200,1500) in the above example. The number at the left (200) is a horizontal coordinate positive to the right direction, while right one (1500) is a vertical one positive to the upward direction.

It should be noted that the values of loads shown in the deflection diagram are non-dimensionalized as has been explained in Sec.[*]; i.e. the values of $\frac{SL^2}{EI_0}$, $\frac{ML}{EI_0}$ and $\frac{qL^3}{EI_0}$ are shown. Also the part above the line showing

     % BC's and others above this line. Deflection below this line.
includes only the settings of BC's and beam itself, and lines below this line express deflection curve. Therefore, if you process lines above this particular comment, you can get a figure of the beam structure with BC's.


Input file for this program

A file with extension `cbm,' for example `Cbeam.cbm,' can be directly input by this program as a basic data file of boundary and loading conditions. The method will be explained in Sec.[*]. Such a file is always output by this program after each FEM analysis.


next up previous contents
Next: Inputting data file Up: cbeam Previous: Analysis and results
Iwakuma Tetsuo
Wed Mar 31 21:43:28 2004 : Stardate [-29]1892.65