Jump to content

Sparse pyro solver temperature and buoyancy


Marc

Recommended Posts

Hey

Has anyone messed about with the ambient vs reference temp in the new sparse pyro solver? My intuition tells me that if the temperature of the smoke falls below the ambient temperature, then in theory the buoyancy direction should reverse and the smoke should sink. This doesn't seem to be happening though, as the fluid cools it stops moving and hangs in space, whereas I want it to start moving in the direction of gravity. 

ie. hot smoke rises, cool smoke falls. The falling part is eluding me right now.

M

Link to comment
Share on other sites

If you emit negative temperature values it works as expected, the smoke goes down.
Maybe you want smoke with zero temperature to go down?
if that's the case, there is a "real" ambient temperature setting on the gasBoyancy DOP: /obj/smoke_simulation/pyro_solver/solver/buoyancy/ambient
it's a simple offset on the overall temperature, so you can set where the reference zero temperature is.
also that DOP node has the expression using the ambient and reference temperature, hope that helps.

Edited by bunker
  • Thanks 1
Link to comment
Share on other sites

Yeah I want 0 temps to go down. I normally mess with the real ambient temp in the gasBuoyancy but I was lured into thinking the parm called 'Ambient Temp' would do what it said :D. I see the expression in there, perhaps it's not behaving as I think it should. I'll mess with it a little, thanks!

M

Link to comment
Share on other sites

Yeah seems a bit weird. Probably an attempt to solve something with math (tying it gravity?) instead of just exposing the correct parameters. Which is weird if it's supposed to make it simple, because we get a few more parameters that are harder to understand for buoyancy - instead of just having the 3 well known ones (direction, amplitude and ambient). 

Delete that expression in Bouyancy Lift on the Gas Buoyancy DOP and use it normally seems to work well.

Link to comment
Share on other sites

Yeah it's definitely a bit esoteric and not simpler, I've always wondered why they don't expose the ambient temperature parm.

Leaving the expression in there and messing with the ambient temperature does some pretty weird things so deleting the expression seems like the way to go for this project.

Thanks!
M

Link to comment
Share on other sites

I've tried spars too and got weird smoke freeze during cooling. Looks like it lost velocity with temperature and I have no idea why.

Maybe it is some bug in setup now, but without full understanding how it works, hard to fix it

Edited by tamagochy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...