- 23,708
- 5,924
Yes. Not only that. Maybe now, with the present sweeping tank-at-a-time setup, it might be easier to do the integration ourselves, without using the package ODE integrator. With an implicit integration like backward Euler or Crank-Nicholson, it would only involve solving two linear equations in two unknowns for each sequential tank for each time step. What do you think?casualguitar said:I think what's confusing me is that I'm trying to include dm/dt in the ODE solver when I don't need to.
Is this statement correct - we are solving for enthalpy at every point at every time step, and every other parameter is known once enthalpy is known ##(m,T,\rho,Ts,m_j, \dot{m}_{j-1})##
So really the only point of focus is the enthalpy. Once we know the enthalpy everything else is known through the relations you previously developed
Is the above correct?
Last edited: