v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing v0.34:Pressure

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{quality|Exceptional|16:12, 26 December 2011 (UTC)}}{{av}}
 
{{quality|Exceptional|16:12, 26 December 2011 (UTC)}}{{av}}
  
{{Material properties}}
 
 
Dwarf Fortress features some pretty complex behavior in an attempt to simulate '''fluid mechanics'''. One aspect of this behavior is seen in the form of '''pressure'''. The basic idea here is quite simple - certain forms of '''fluids''' movement exert '''pressure''', causing them to potentially move ''upwards'' into other areas.
 
Dwarf Fortress features some pretty complex behavior in an attempt to simulate '''fluid mechanics'''. One aspect of this behavior is seen in the form of '''pressure'''. The basic idea here is quite simple - certain forms of '''fluids''' movement exert '''pressure''', causing them to potentially move ''upwards'' into other areas.
  
Line 19: Line 18:
  
 
===Water in a U-Bend===
 
===Water in a U-Bend===
The key to understanding how high a z-level water will reach is to understand which tile(s) pressure is being ''exerted on''.  Pressure will cause the water level to go ''as high as'' the tile upon which pressure is being exerted, but ''no higher''.
 
 
 
The following three diagrams demonstrate different ways water might behave in a u-bend. In all three cases, the water source is on the left side of the diagram and water is filling the area to the right. In the first example (Diagram A), we have water taken directly from a (flat) river used to fill a u-bend. In this case, the river is free to flow off the edge of the map, so the only pressure comes from the water tile on the top of the u-bend's left side (highlighted in green) falling downward (into the tile highlighted in red), so the water on the right side stops one level below the river itself, because even though the ''source'' tile is at river level, the ''destination'' tile (in red), whose height the water will reach because of pressure, is one z-level ''below'' the source tile.
 
The following three diagrams demonstrate different ways water might behave in a u-bend. In all three cases, the water source is on the left side of the diagram and water is filling the area to the right. In the first example (Diagram A), we have water taken directly from a (flat) river used to fill a u-bend. In this case, the river is free to flow off the edge of the map, so the only pressure comes from the water tile on the top of the u-bend's left side (highlighted in green) falling downward (into the tile highlighted in red), so the water on the right side stops one level below the river itself, because even though the ''source'' tile is at river level, the ''destination'' tile (in red), whose height the water will reach because of pressure, is one z-level ''below'' the source tile.
  
In the next example (Diagram B), a '''dam''' has been placed, preventing the river from flowing off the edge of the map. In this case, the pressure exerted by the river source (highlighted in red) allows the water to fill up the remaining level of the u-bend. Use caution when placing a dam on your river.  Note that this situation '''also applies on a map where the river is running into the sea'''.  Rivers running into the sea are obviously not free to flow off the edge of the map, so the sea itself actually "dams" them.
+
In the next example (Diagram B), a '''dam''' has been placed, preventing the river from flowing off the edge of the map. In this case, the pressure exerted by the river source (highlighted in red) allows the water to fill up the remaining level of the u-bend. Use caution when placing a dam on your river.
  
 
The final example (Diagram C), demonstrates how a '''[[pump|screw pump]]''' exerts pressure - in this case, the water fills up to the same level as the pump's output tile (highlighted in red).
 
The final example (Diagram C), demonstrates how a '''[[pump|screw pump]]''' exerts pressure - in this case, the water fills up to the same level as the pump's output tile (highlighted in red).
Line 41: Line 38:
 
     ▓▓▓▓▓▓▓}}
 
     ▓▓▓▓▓▓▓}}
 
| {{diagram|spaces=yes|\
 
| {{diagram|spaces=yes|\
▓[#00F][#800]≈[#00F][#800]≈[#00F][#800]≈[#00F][#800]≈[#00F][#800]≈▓[#00F]≈[#00F]≈[#00F]≈▓
+
▓[#00F][#800]≈[#00F][#800]≈[#00F][#800]≈[#00F][#800]≈[#00F]≈▓[#00F]≈[#00F]≈[#00F]≈▓
 
▓▓▓▓▓[#00F]≈▓[#00F]≈[#00F]≈[#00F]≈▓
 
▓▓▓▓▓[#00F]≈▓[#00F]≈[#00F]≈[#00F]≈▓
 
     ▓[#00F]≈▓[#00F]≈[#00F]≈[#00F]≈▓
 
     ▓[#00F]≈▓[#00F]≈[#00F]≈[#00F]≈▓
Line 76: Line 73:
  
 
==Neutralizing Pressure==
 
==Neutralizing Pressure==
There are three methods for neutralizing fluid pressure: diagonal connections, screw pumps, and active control systems. Knowing how to manipulate pressure as needed allows you to quickly move fluids wherever you wish in your fortress allowing you to build things a dwarf can be proud of. Note that [[fortification]]s do ''not'' neutralize pressure.
+
There are two methods for neutralizing fluid pressure: diagonal connections and screw pumps. Knowing how to manipulate pressure as needed allows you to quickly move fluids wherever you wish in your fortress allowing you to build things a dwarf can be proud of.  
  
 
===Diagonal Flow===
 
===Diagonal Flow===
Line 86: Line 83:
  
 
  '''Top View'''
 
  '''Top View'''
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
+
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
   > > >       ▒  >  >  >
+
   > > >     ▒  >  >  >
  4Z Pressure  1Z Pressure
+
  4Z Deep      1Z Deep
   > > >     ▒    >  >  >
+
   > > >   ▒    >  >  >
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
+
  ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  
 
  '''Side View''' <br />
 
  '''Side View''' <br />
Line 116: Line 113:
  
 
Do note that the screw pump '''will''' still exert pressure when filling the pool, but said pressure will be independent of the source and can be subsequently blocked by diagonal gaps.
 
Do note that the screw pump '''will''' still exert pressure when filling the pool, but said pressure will be independent of the source and can be subsequently blocked by diagonal gaps.
 
===Active control system===
 
An active control system can allow some water flow while preventing pressurized water from overflowing. Such a setup is significantly more complicated than the other two options, but it can produce controlled amounts of water at varying depths and pressures. While there are many different ways to set up a control system, a relatively simple example is shown below:
 
 
 
'''Side view''' <br />
 
 
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
 
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒≈≈≈≈≈▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
 
8Z Pressure ≈ |≈≈≈≈≈| ≈  2Z Pressure
 
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
 
 
 
Two doors ('|') are connected to a control system (such as [[lever]]s or a [[minecart]] loop). The control system is designed to only open one of the doors at a time. When the left door is open, the pressurized water fills a reservoir. When the right door is opened, the reservoir provides reduced pressure and limited flow. The cycling can be controlled manually (by pulling levers), or automated (minecarts, pressure plates, etc.). Throughput is limited by how quickly the doors can be cycled; [[pressure plate]]s normally have a 99 tick refractory period, but clever design can reduce that significantly.
 
  
 
==Hatches==
 
==Hatches==
[[Hatch cover|Hatches]] can be placed over [[channel]]s, [[stair]]s, [[ramp]]s, etc. to prevent [[water]] from moving vertically but will still allow the tile to be used, even as a water source (and possibly still for fishing too). Note that the construction of a hatch over the input tile of a [[Pump]] prevents water from being pumped.
+
[[Hatch cover|Hatches]] can be placed over [[channel]]s, [[stair]]s, [[ramp]]s, etc. to prevent [[water]] from moving vertically but will still allow the tile to be used, even as a water source (and possibly still for fishing too).
 
 
==Plumbing Schemes==
 
Using the information above, you can devise a number of ways to get the water where you want it be. The following schemes provide a starting point for noobs:
 
 
 
===Safe well===
 
 
 
'''Side view''' <br />
 
 
 
▒▒▒▒▒▒▒▒X▒≈≈≈ <-- potable water source
 
▒▒▒▒▒▒▒▒X▒
 
  w  ▒▒OO▒
 
▒▒ ▒▒▒▒X▒▒
 
▒  ▒▒▒X▒▒
 
▒▒_▒▒▒▒X▒▒
 
▒▒    X▒▒
 
▒▒▒▒▒▒▒▒▒▒
 
 
 
'''Pressure regulator, Top view''' <br />
 
▒▒▒▒
 
▒▒u▒ <--up stair (to water source)
 
▒d▒▒ <--down stair (to reservoir)
 
▒▒▒▒
 
 
 
Dig the up/down stairs ('X') near a source of good clean water (river, stream), and tunnel to the location below where you want your well. Make sure to add the pressure regulator ('OO') at the height of the well by digging another stairway diagonally adjacent to the first. Dig out the reservoir on the left side, channel down into the supply tunnel, and add a [[grate]] ('_') directly below the well (this grate keeps enemies from entering your fort via the well). Finally, channel a connection between the water source and your supply tunnel to fill the reservoir, and build your well ('w'). You can also build additional wells directly above the first, as long as you channel a clear path straight down into the reservoir.
 
 
 
===Pillar of pools===
 
 
 
Can be used to provide each level with a pool. A central 'pillar' of water extends all the way down and provides the water.
 
 
 
* ▒ = wall
 
* H = channeled out
 
* ≈ = water
 
* | = flood gate
 
* d = down staircase
 
* x = up/down staircase
 
 
 
 
 
'''Top floor, Top view''' <br />
 
▒▒▒▒▒▒▒
 
  H▒d|≈≈≈ <-- water tunnel (e.g. coming from a river or your cistern)
 
  H▒▒▒▒▒
 
▒▒▒▒▒▒▒
 
 
 
'''Top -1, Top view''' <br />
 
▒▒▒▒▒▒▒
 
▒≈▒x▒H
 
▒≈≈▒▒H
 
▒▒▒▒▒▒▒
 
 
 
'''Top -2, Top view''' <br />
 
▒▒▒▒▒▒▒
 
  H▒x▒≈▒
 
  H▒▒≈≈▒
 
▒▒▒▒▒▒▒
 
 
 
Obviously, keep the central block (with up/down staircase) aligned on each level. For lower levels simply continue alternating the -1 and -2 layouts.
 
 
 
Don't forget to add a lever and hook it up to the top floodgate so you can shut off the main flow if you're experiencing <s>flooding</s> fun.
 
 
 
You can also add additional floodgates on each level if you like:
 
 
 
'''z-1, Top view''' <br />
 
▒▒▒▒▒▒▒
 
▒≈▒x▒H
 
▒≈|▒▒H
 
▒▒▒▒▒▒▒
 
 
 
'''z-2, Top view''' <br />
 
▒▒▒▒▒▒▒
 
  H▒x▒≈▒
 
  H▒▒|≈▒
 
▒▒▒▒▒▒▒
 
 
 
  
 
== See Also==
 
== See Also==

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)