Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Magma pressure  (Read 719 times)

petersohn

  • Bay Watcher
    • View Profile
Magma pressure
« on: January 20, 2010, 12:45:58 pm »

My question is that will pressurized magma de-pressurize if it flows through a diagonal channel, and if not, how can I de-pressurize it?

Precisely, what I ask is: I pump magma up to z1, then let it flow through a diagonal channel, then let it down a channel on z0. Later, will it overflow to z1 or not?
Logged

moki

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #1 on: January 20, 2010, 12:51:30 pm »

I think, it would depressurise, just like water... try it, for SCIENCE!

You could still pressurize it to the desired level (z 0) buy having another pump on z -1. It would still be pressurised, but only overflow to z 0, not to z 1.
Logged
But my good sir, the second death was for Dwarven Science!

petersohn

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #2 on: January 20, 2010, 12:55:25 pm »

What I really want is to pump back excess magma to my magma pipe. If it starts to overflow due to the pressurized magma, that's instant Fun.
Logged

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Magma pressure
« Reply #3 on: January 20, 2010, 01:08:32 pm »

Quote
Precisely, what I ask is: I pump magma up to z1, then let it flow through a diagonal channel, then let it down a channel on z0. Later, will it overflow to z1 or not?

That arrangement will flood with any fluid.  The diagonal channel must be on z0.

And yes, diagonals depressurize magma just like water, but you have to do it right.
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

happydog23

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #4 on: January 20, 2010, 04:05:56 pm »

Quote
Precisely, what I ask is: I pump magma up to z1, then let it flow through a diagonal channel, then let it down a channel on z0. Later, will it overflow to z1 or not?

That arrangement will flood with any fluid.  The diagonal channel must be on z0.

And yes, diagonals depressurize magma just like water, but you have to do it right.


I don't think this is correct.  Magma has pressure coming from a pump.  If you pump magma to z1, and it goes through a diagonal, it is no longer under pressure and should not flow back to z1 again. 


I don't have a setup that tests this, but I do have a setup where I breach my magma pipe on the bottom z level, the magma flows 3 squares on the bottom level, and then I use a pump to pressurize it on bottom+1.  The pipe does not overflow up to my dwarf powered pumps because magma isn't pressured and so the 15z of magma above my channeled hole in to it doesn't matter. 

Also, check out Kandrak's thread on hydrodynamics, it's a very good post on how the pressure works: http://www.bay12games.com/forum/index.php?topic=32453.0



With what was described by petersohn I see like this:

Spoiler (click to show/hide)
X's are walls, p = pump, + = floor, . = channel , 7 =magma source, ?= channeled out square to test "pressure"
the pump will move mama from the south to the north, it will flow diagonal to the channel and fall if there is room below it.  You'll have 2 squares of magma on that level... the output of the pump and the channeled square diagonal from it. 

On the level below, everything connected to the channeled out square will fill to 7/7 magma, but there will not be pressure to push magma in to the ? square above.  Once the system is "full" it would look like this (note that the ? tile is just open space over 7/7 magma)
Spoiler (click to show/hide)

MrFake

  • Bay Watcher
  • Legendary Elficidal Maniac
    • View Profile
Re: Magma pressure
« Reply #5 on: January 20, 2010, 04:42:03 pm »

Quote
Precisely, what I ask is: I pump magma up to z1, then let it flow through a diagonal channel, then let it down a channel on z0. Later, will it overflow to z1 or not?

That arrangement will flood with any fluid.  The diagonal channel must be on z0.

And yes, diagonals depressurize magma just like water, but you have to do it right.

It would flood with water, but not with magma.

Magma doesn't path downward in the same way that water does, so it would only flood through a u-bend if pressurized (and only pumping can pressurize magma, I believe).  With a diagonal section, then, like you say, it will depressurize and won't flood.

Still, safer to put the diagonal at the bottom, in case you decide to use water there instead, or redirect the magma flow around the z+1 diagonal, for some reason.
Logged
Swordbaldness: a trial of patience.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Magma pressure
« Reply #6 on: January 20, 2010, 04:45:59 pm »

Pressure is not a property of a fluid, but an action performed on specific tiles of certain liquids at certain times.

Furthermore, there are 2 types of pressure: the type applied only to liquids multiple Z-levels deep (which would cause a tunnel to instantly flood if you dug into the bottom of a sufficiently deep reservoir), and the type that comes from fluid sources (i.e. rivers and screw pumps). The former applies only to water (magma is explicitly excluded), while the latter applies to both water and magma.

If you pump magma through a passage, any "pressure" will only exist while the pump is active and there is magma present in the pump's input tile. The only time you'd ever have to pass magma through a diagonal gap would be if you were pumping it and you don't intend to ever turn the pump off.
« Last Edit: January 20, 2010, 04:47:36 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.

petersohn

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #7 on: January 20, 2010, 05:00:18 pm »

The best I can do is to try it.
Logged

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Magma pressure
« Reply #8 on: January 20, 2010, 05:11:58 pm »

Quote
I don't think this is correct.  Magma has pressure coming from a pump.  If you pump magma to z1, and it goes through a diagonal, it is no longer under pressure and should not flow back to z1 again.

Quote
It would flood with water, but not with magma.

Whoopsies, you guys are right.  Brain fart.
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

Bauglir

  • Bay Watcher
  • Let us make Good
    • View Profile
Re: Magma pressure
« Reply #9 on: January 20, 2010, 08:46:50 pm »

-snip-
« Last Edit: April 11, 2015, 12:25:35 am by Bauglir »
Logged
In the days when Sussman was a novice, Minsky once came to him as he sat hacking at the PDP-6.
“What are you doing?”, asked Minsky. “I am training a randomly wired neural net to play Tic-Tac-Toe” Sussman replied. “Why is the net wired randomly?”, asked Minsky. “I do not want it to have any preconceptions of how to play”, Sussman said.
Minsky then shut his eyes. “Why do you close your eyes?”, Sussman asked his teacher.
“So that the room will be empty.”
At that moment, Sussman was enlightened.

Darkond2100

  • Bay Watcher
  • Intrepid Groundhog
    • View Profile
Re: Magma pressure
« Reply #10 on: January 20, 2010, 08:59:11 pm »

To make this simple, magma doesn't go up. Water does.
Logged
your hoard, your dwarves, and your fortress.
I prefer Hoard, Horde, and Hovel...

petersohn

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #11 on: January 21, 2010, 02:31:35 am »

Magma goes up when it is being pumped. The question is, after going through a diagonal channel, does it still count as "being pumped", and still go up, or not?
Logged

Syff

  • Bay Watcher
    • View Profile
Re: Magma pressure
« Reply #12 on: January 21, 2010, 02:42:03 am »

Pumps do not path their output diagonally.  So, no, it does not.
Logged