Skip to content
lukas edited this page May 19, 2017 · 1 revision

Table of Contents

Ramps

Ramps can be defined with FDSgeogen in several ways.

Single ramp statements

Using the FDS syntax to create a single RAMP statement for a single point in time:

<fds>
        <fds_ramp id="'FDS_keyword'" t="20.0" f="0.45" />
        <fds_ramp id="'FDS_keyword'" t="377.0" f="0.6" />
        <fds_ramp id="'FDS_keyword'" t="677.0" f="0.85" />
</fds>

The above example produces the following FDS input file (excerpt only):

&RAMP ID='FDS_keyword', T=20.000000, F=0.450000/ 
&RAMP ID='FDS_keyword', T=377.000000, F=0.600000/ 
&RAMP ID='FDS_keyword', T=677.000000, F=0.850000/ 

Ramps from file

Using the ramp tag to create multiple RAMP statements from a passed file works as follows.

Every line of the file contains one set of values used to create one RAMP statement. The values are comma-seperated. Only the first two values will be interpreted, other values will be ignored.

<fds>
        <ramp id="'fromfile'" file="test_ramp.txt" /> 
</fds>

with the content of test_ramp.txt being

20.0,    0.45,  This 
377.0,   0.6,   will be
677.0,   0.85,  ignored.

It produces the following FDS input file (excerpt only):

&RAMP ID='fromfile' T=20.000000, F=0.450000 / 
&RAMP ID='fromfile' T=377.000000, F=0.600000 / 
&RAMP ID='fromfile' T=677.000000, F=0.850000 /
Clone this wiki locally