- #246
- 23,591
- 5,833
You are definitely not going to be integrating ##dm_i/dt## with respect to time. Once ##dh_i/dt## is known, ##dm_i/dt## can be evaluated and used to get ##\dot{m}_i## from $$\dot{m}_i=\dot{m}_{i-1}-\frac{dm_i}{dt}$$I guess that's what you do.casualguitar said:Hi Chet, I had a separate report to finish today so I'm starting this now.
Yes to all this, except the solution vector is ##h1,TS1,m1,etc## where m1 is the flowrate. The way I've set up the mass holdup and mass flow does look suspect to me. I don't think this affects the solution but I could remove this from the solution vector in case I'm doing something wrong there in the setup
Yes to all of this, as far as I know I'm following this exact scheme unless the error is that I've coded this scheme incorrectly
Instead of this I'm just taking the solid energy balance, and generating the fluid temperature vector afterwards. The Ts array is known so I generate the dTs/dt array also and get the fluid temperature array from this. This image shows the flow for that:
View attachment 293952
I'll go for removing m from the solution array first