- 05 Aug 2024
- 3 Minutes to read
Setting a leak
- Updated on 05 Aug 2024
- 3 Minutes to read
Leaks can be created in multiple ways: by manually creating a leak file; using the leak wizard in CASD; or using the Leaks tab in CASD. This page provides guidance on using the Leak Wizard functionality to set up a leak.
Open the Leak Wizard
Open the Leak Wizard
In the Scenario Settings tab select Run Wizard -> Leak wizard
or
Expand the Leaks tab, right click and select Leak wizard
Enter Leak Properties
Enter Leak Properties
Phase: Gas or Liquid (flashing)
Type: Point or Area
Position: 3D coordinates
Direction: direction of leak outflow or diffuse leak
Manual entry of leak properties: upon selection allows the user to set parameters for the leak outlet (see below)
Enter Reservoir Properties
Enter Reservoir Properties
Composition: by default, the value for this field is taken from the volume fractions in the Gas composition and volume section of the scenario (refer to the Gas composition and volume article for further information). This value can be changed manually for gas leaks. For liquid-phase releases, only one species can be selected. For AIR type leaks, the value should be "AIR".
Volume: of reservoir, used when a volume limited steady state release is specified
Pressure
Temperature
Enter Release Properties
Enter Release Properties
Select release type: can modelled based on hole size or release rate. For releases based on hole sizes Nozzle diameter must be specified. For release rate based releases, Release rate must be specified.
Nozzle diameter: only available for point leaks
Discharge coefficient: value between 0 and 1, default is 0.85
Pseudo-source model:
Single planar shock: default for dispersion (recommended for all gases apart from hydrogen)
Single planar shock + air entrainment: as above with the air-entrainment option
Ewan-Moodie: gives better agreement with experiments in general however, requires greater CPU time. Recommended for fire simulations and hydrogen releases (only). Not available for liquid releases.
Ewan-Moodie + air entrainment: as above with the air-entrainment option
Time dependency:
Steady state: continuous release based on calculated or input mass flow rate
Steady state (volume limited): as above but limited by volume specified in reservoir properties
Time dependent: simulates depressurisation of a reservoir
Start time: start time of leak in seconds
Duration: duration of leak in seconds
Enter Atmospheric Properties
Enter Atmospheric Properties
Temperature
Pressure
Advanced options
Advanced options
Advanced options are only required under certain circumstances and are used for advanced control of heat transfer and turbulence parameters.
Area leak inputs
Area leak inputs
The area leak input menu is shown upon proceeding from the first part of the leak wizard menu only if Type is set to Area in the Leak Properties section. The following inputs are required:
Size: dimensions of the leak in metres
Shape: elliptic or rectangular
Profile: gaussian (for elliptical shaped leaks only), uniform or parabolic
Manual entry
Manual entry
Start time
Duration
Leak type:
Diffuse: no momentum leak, gas has the same velocity as the surrounding flow
Entraining: entrainment of air into a jet can be captured empirically for considerable computational savings but can only be applied in certain circumstances (see section 3.7.16.2.3 of the User's Manual)
Jet: a point or area leak with momentum
Air: similar to a jet leak but with air only (based on ER9)
Suction: negative point sources, gas and air are removed at the leak location
Fan: does not add or remove mass but assigns a fixed momentum to the gas in the concerned control volume
Area: effective cross-sectional area of the leak outlet
Velocity: at the leak outlet, can be specified instead of mass flow rate
Mass flow rate: at the leak outlet, takes priority if mass flow rate and velocity are specified
Relative turbulence intensity: normally between 0.01 (low turbulence) and 0.10 (high turbulence)
Turbulence length scale: normally in the range of 10-20% of the nozzle diameter
Automatic grid refinement
Automatic grid refinement
Automatic refinement of the grid in the cells around the leak control volume can be performed by right-clicking on the leak in question and selecting Refine grid. The grid guidelines should be referred to with respect to refining in the direction of the leak (the size of the grid cells in the direction of and directly in front of the leak should not be any greater than 5x the size of that in the plane of the leak).