Pampered Degenerate
kiwifarms.net
- Joined
- Apr 10, 2020
I don't know the answer, but this looks like a good place to start:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
that's not _a_ problem. that's _the_ problem. I have everything else sorted.now there is a problem, i have no idea how you determine the speed of the pressure reaching equilibrium.
Well, don't feel bad about anything involving fluid dynamics at least. That's a highly specialized and difficult field that people spend years in school for and make bank for doing successfully. I've learned that's the case with a lot of things, and often solving it 'properly' is not worth the effort. You can get equally good results by just asking an oracle and cheesing the rest. It's not cheating if it's not against the rules.Math hard, make grug brain sore like when grug fall on rock.
That is unironically how these threads make me feel. Mathbros, how do you do it?
Thank you for clarifying that.Edit: The reversed arc length refers the distance along the centerline of box B from where the boxes are joined.
The biggest problem I see is you're using chlorine instead of phosgene. Most of the feds and bankers will survive this.that's not _a_ problem. that's _the_ problem. I have everything else sorted.
they're in fucking boxes they're not going anywhere
Equilibrium is reached after ~35 hours.this is just ugly math...
12mol gas with 20 °C and 13 mol with 40°
thats 0.2924 bar and 0.3384 bar
now there is a problem, i have no idea how you determine the speed of the pressure reaching equilibrium.
Really? It's that slow?Equilibrium is reached after ~35 hours.
I'm not an expert, but in any realistic situation, you'd probably have a door or curtain opening and that would probably create a lot of air disturbance, causing it to spread much quicker. There also isn't that much of a pressure differential in this case.Really? It's that slow?
Why does it feel like if you're standing in a big room and open a jar containing a ton of some gas (like Chlorine), you'd probably see it spread around pretty fast? Is that just the energy in the air or what?
Two things:Really? It's that slow?
Why does it feel like if you're standing in a big room and open a jar containing a ton of some gas (like Chlorine), you'd probably see it spread around pretty fast? Is that just the energy in the air or what?
that shouldnt be to complex, but i have no idea how to find the right formula...that's not _a_ problem. that's _the_ problem. I have everything else sorted.
thats more complex than needed, the change in pressure should be the main factor.Chemical engineer here. This is an interesting mass transfer problem that's actually quite complex. You would have to use the diffusion equation because there is time dependence.
what? im pretty sure thats wrong. or you mean chlorine concentration, not pressure...Equilibrium is reached after ~35 hours.
Is there a fluid dynamics software that you'd recommend which is reasonably beginner friendly + doesn't cost multiple arms and legs?Two things:
1. The simulation assumes that only diffusion is present. When gas moves, it can move in two different ways: convection, which is the gas being carried by another fluid (think mixing cream into coffee) and diffusion, which is the movement of gas based on the random movement of gas atoms by Brownian motion. In a real room, you would likely have air moving within it.
2. The plot is based on the average concentration in the entire box. In other words, it would take ~35 hours for the chlorine concentration at every point in Box B to equal the chlorine concentration of every point in Box A.
Edit: Also, in this case, you can see that as you get closer to equilibrium, the equilibration rate is slower. 15-20 hours is probably enough for all practical purposes.
That gas is most likely under pressure. Also, if you cracked an oxygen tank open in a chamber with slightly lower pressure you wouldn’t see the same effect.Really? It's that slow?
Why does it feel like if you're standing in a big room and open a jar containing a ton of some gas (like Chlorine), you'd probably see it spread around pretty fast? Is that just the energy in the air or what?
In my simulation I want things to move enough that people are able to work with gasses in real time. Before I had it so that the adjacent cubes would interact with each other as quickly as possible (i.e. a cube and its 6 adjacent neighbors would equalize 30 times per second, or as fast as the framerate could allow), which works, but then you have an issue where something is added to the air and then suddenly the room is just completely contaminated before you can even react.Edit: Also, in this case, you can see that as you get closer to equilibrium, the equilibration rate is slower. 15-20 hours is probably enough for all practical purposes.
Could you use a fluid solver library and adjust the viscosity of the air/gas? It could be more resistant to disturbance while maintaining it's ability to spread at a slow-ish rate through doorways. For dealing with the amount of cells in the scene, could you partition the scene into larger blocks that turn on/off their simulation as needed? Maybe level of detail or a simplified algorithm could also apply if complex geometry was not involved in that room.In my simulation I want things to move enough that people are able to work with gasses in real time. Before I had it so that the adjacent cubes would interact with each other as quickly as possible (i.e. a cube and its 6 adjacent neighbors would equalize 30 times per second, or as fast as the framerate could allow), which works, but then you have an issue where something is added to the air and then suddenly the room is just completely contaminated before you can even react.
I'm really trying to keep things simple, so I'm reluctant to say "okay I need to keep track of kinetic energy in each cube as well" - especially because there are going to be tens of thousands of these if things get bigger.
In SS13, I think gas just spreads at a fixed rate, which creates odd situations where a hull breach leaves only the neighboring tiles in an 8 block radius low pressure and things like 1 tile wide doorways effectively halt depressurization for 10 minutes before it spreads out of that room.