Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Water Pressure  (Read 941 times)

JFX09

  • Escaped Lunatic
    • View Profile
Water Pressure
« on: November 06, 2009, 04:23:51 pm »

Is there a limit to how much pressure we can give water?
EG: Would 5 pumps make as much pressure as 50?
Logged

Syff

  • Bay Watcher
    • View Profile
Re: Water Pressure
« Reply #1 on: November 06, 2009, 04:46:08 pm »

If those 5 pumps are on the same z-level as the 50 pumps, they would function exactly the same.

http://www.bay12games.com/forum/index.php?topic=32453.0
Logged

loser

  • Bay Watcher
    • View Profile
Re: Water Pressure
« Reply #2 on: November 06, 2009, 04:47:37 pm »

Is there a limit to how much pressure we can give water?
Effectively, yes.
EG: Would 5 pumps make as much pressure as 50?
Effectively, yes, assuming they're all on the same z-level, of course.

Pressure doesn't exactly work that way. 
Logged
ΘπÆ┼
What are you doing in my home?
It's a difficult question to answer.

AlienChickenPie

  • Bay Watcher
    • View Profile
Re: Water Pressure
« Reply #3 on: November 06, 2009, 04:50:17 pm »

Is there a limit to how much pressure we can give water?
Effectively, yes.
EG: Would 5 pumps make as much pressure as 50?
Effectively, yes, assuming they're all on the same z-level, of course.

Pressure doesn't exactly work that way. 

Are you sure? Even if you connect them in series?
Logged

Derakon

  • Bay Watcher
    • View Profile
Re: Water Pressure
« Reply #4 on: November 06, 2009, 04:54:10 pm »

Given the way pumps function, you could create a faster flow using five pumps in parallel than you could with just one:
Code: [Select]
#######
_%%...#
_%%...########
_%%...........
_%%...########
_%%...#
#######
Because pumps teleport fluid to the nearest open space, a design like this would (assuming you had an adequate supply on the lower level) move water out down the tunnel five times faster than a design with just one pump.

But as a general rule, I find that my pumps rapidly become input-starved.

You could also use those five pumps to take the water level higher than you could with just one pump; this would create actual water pressure.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

JFX09

  • Escaped Lunatic
    • View Profile
Re: Water Pressure
« Reply #5 on: November 06, 2009, 04:56:33 pm »

Well my idea is a water CERN... two flows of water flowing as fast as possible from two directions. Particle collides and vwap! Or maybe not... thats what SCIENCE! is for.

Just trying to figure out how to get as much water going as fast as the program can make it go.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Water Pressure
« Reply #6 on: November 06, 2009, 05:36:12 pm »

Pressure is not an inherent property of a liquid - it is a procedure applied to water that is located immediately above another 7/7 water tile (with no floor in between) whereby it will teleport to the nearest non-full non-diagonally connected open tile below the current Z-level.

Screw pumps and river sources exhibit a different but related behavior - when they try to output a liquid, the liquid teleports to the nearest non-full non-diagonally connected open tile on the current Z-level or lower.

Thus, when your "water CERN" fills up, nothing at all will happen.
« Last Edit: November 06, 2009, 05:39:35 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Derakon

  • Bay Watcher
    • View Profile
Re: Water Pressure
« Reply #7 on: November 06, 2009, 05:38:39 pm »

If you want the water to do anything other than just stop, you'll need to have actual pressure, not fake pump pressure (which doesn't push water to higher Z-levels). Build two massive cisterns and put your collider at their base. I suggest putting a hole in the ceiling at the point of collision; you should get a nice fountain effect.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

JFX09

  • Escaped Lunatic
    • View Profile
Re: Water Pressure
« Reply #8 on: November 06, 2009, 07:06:26 pm »

If you want the water to do anything other than just stop, you'll need to have actual pressure, not fake pump pressure (which doesn't push water to higher Z-levels). Build two massive cisterns and put your collider at their base. I suggest putting a hole in the ceiling at the point of collision; you should get a nice fountain effect.

 I'll try this. Wanting to see what happens when you collide two goblins riding the flow of water >>

Or attempt..
Logged

Firnagzen

  • Bay Watcher
  • [CURIOUSBEAST_INSANE]
    • View Profile
Re: Water Pressure
« Reply #9 on: November 06, 2009, 09:00:53 pm »

http://www.bay12games.com/forum/index.php?topic=32453.0

Probably the definitive guide to hydrodynamics as we understand it.
Logged
Christ, are you dwarves or are you elves? If you think Hell has too many demons, then you kill them till the population reaches an acceptable number.