Jump to content

TokenMonkey

Senior Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by TokenMonkey

  1. I found the answer: a procedure is described in Kubicek's Algorithm 502 in ACM Trans. Math. Software. dl.acm.org/citation.cfm?id=355675
  2. Hi there, I have a quick question regarding pseudo-arclength continuation. As some background, I am a chemical engineer, not a mathematician, applied or otherwise, so my knowledge of numerical methods is limited to the "standard" stuff. I've been reading up as extensively as I can on pseudo-arclength continuation, but unfortunately, it's all from second-hand sources; I don't have access to Keller's original paper. Here's what I understand at this point: We want to solve a problem [math]F(x,\lambda)=0[/math]. We assume that the solution is known at [math]x^0[/math] and [math]\lambda^0[/math]. To avoid the singularity of the Jacobian, and therefore the breakdown of Newton's method, at turning points, [math]x[/math] and [math]\lambda[/math] both become parameterised by arclength ([math]s[/math]), and we end up with an augmented system of equations to solve: [math]F(x,\lambda)=0[/math] [math]\left(u-u^{0}\right)\mathrm{d}u^{0}/\mathrm{d}s+\left(\lambda-\lambda^{0}\right)\mathrm{d}\lambda^{0}/\mathrm{d}s-\Delta S=0[/math] While this seems simple enough, how does one obtain the derivatives w.r.t [math]s[/math]? Not a single text seems to mention this. Ideas that spring to mind are forward differences using, say, cubic splines; however, that seems horrendously inefficient to me. There must be a better way! Thanks, TM
  3. Thanks for the reply. The system I'm considering can definitely be linearized at the fixed points, so that will work fine. I haven't got access to the book you mentioned, but I did find a nice summary (again, for 2-D systems) in James Robinson's "An Introduction to Ordinary Differential Equations" (Cambridge University Press). To clarify my question further, what if, for example, you look at the eigenvalues in a 4-D system, two of which are real and > 0, and two of which are complex conjugates of each other, with real parts < 0. The real parts would then dictate that it is a saddle, but that combination (mixture of real and complex) isn't covered by any 2-D case. Is it then a special type of saddle? I hope that makes sense! If not, I'll try to clarify even more.
  4. I'm familiar with the classification of fixed points of linear dynamical systems in two dimensions; it's readily available in many a book, as well as good ol' Wiki (http://en.wikipedia.org/wiki/Linear_dynamical_system#Classification_in_two_dimensions). However, what happens with higher-order systems, say, three-dimensional? In that case, you'll end up having three eigenvalues -- presumably, different combinations of their signs give rise to different fixed point types. Has this been investigated? I've looked at numerous books, and all I ever seem to find is classification for two dimensions. Any help with finding a book/paper/URL dealing with this would be much appreciated!
  5. Haha, I did notice, but I wasn't about to go nitpicking with someone who was trying help me.
  6. Thanks, Timo. I guess that that's what it must mean. Still, it's a weird, weird way of expressing a simple concept.
  7. Hi all, I hope this is the right forum to post this question in, rather than one of the subforums, as it deals with notation, not actual mathematics. I've attached a pic of the problem I'm looking at: In Eq. (31), an implicit ODE is given; note how the last two derivatives are superscripted with a summation/capital sigma. What does this mean? I've Googled as best I can, but no luck. The only clue I have is that one of the terms superscripted with the sigma is a matrix of coefficients. There are more examples of this notation later on in the attachment. Any thoughts on this? Even a pointer in the right direction would be helpful. Thanks, TM
  8. Thanks for the reply, D H. I've been using optimisation thus far (both the toolbox (patternsearch, specifically) and fminsearch), and it works OK, except that (a) that approach is slow, because it's a sort of "brute force" method where it calculates a trajectory at every iteration of the optimisation, but more importantly (b) it doesn't seem to find the global minimum, but a local one, so that the solution to which it converges is remarkably sensitive to the initial guess. I don't think I explained that very well, but suffice it to say that it's rather clumsy and I'm hoping for something more elegant than that, which will hopefully either be quicker so that I can try many initial guesses, or that it'll find the global optimum the first time round. I'll keep going with the optimisation route so long and see what I can do with it, but it just strikes me as odd that I can't find much (any!) info on this type of problem.
  9. Hi, all! Google's turned up nothing relevant (except my post of the same thing on another non-SFN forum) to help me with this problem. I'm at a bit of a loss as to how to do the following elegantly—I've had some success with a slow, "nested" optimisation for what I'm trying to do, but I'm not happy with the results. I have a trajectory described by: [math]\frac{{dx}}{{d\tau}} = f(x,y,a,b,c)[/math] [math]\frac{{dy}}{{d\tau}} = g(x,y,a,b,c)[/math] where [math]a[/math], [math]b[/math], and [math]c[/math] are parameters. The functions [math]f[/math] and [math]g[/math] cannot be calculated analytically (iteration is required), but what happens internally is unimportant anyway, I think. If I select values for these parameters, I can plot a trajectory in the [math]x[/math]-[math]y[/math] space. What I'm trying to do is find out which combinations of parameters [math]a[/math], [math]b[/math], and [math]c[/math] will make the trajectory pass through two fixed points, say [math](x_1,y_1)[/math] and [math](x_2,y_2)[/math]. Of course, this will more than likely lead to many solutions to the problem, and I will choose a set of parameters that minimises another function, say [math]h(x_1,y_1,x_2,y_2,a,b,c)[/math]. Does anyone have any idea how I'd go about finding appropriate combinations of parameters? My weapon of choice is MATLAB, in case that happens to have built-in functions for what I need. Any help, or even just a pointer in the right direction, would be greatly appreciated. This must have been done before by someone somewhere; I just have no idea what the principle is called. Thanks! TokenMonkey
  10. An old, but still very good, book on the topic of heat exchanger design is "Process Heat Transfer" by D. Q. Kern. If you can find a copy, have a look. That should have everything you need.
  11. My plan of attack was this: An energy balance on A will reveal dU + PdV = dQ. Integrating that whole lot and using dU = CvdT, I should get Q, not so? HOWEVER, the issue arises in trying to calculate the PdV term in B (or A for that matter). W = ∫PdV, where P = nRT/V. Great, except for the fact that T isn't constant... How do I account for this in the integration?
  12. Seeing as [math]\gamma[/math] cannot be determined with the given information, I'm sure there is a way to do it without, I'm just not quite sure how...
  13. Damn... So without knowing what gas is in question (or at least whether it's monoatomic or diatomic), I have no real way of determining what [math]\gamma[/math] is?
  14. A-ha, so that (and Wikipedia) would lead me to believe that for an ideal gas, I can use [math]\gamma = \frac{5}{3}[/math]... Correct?
  15. A-ha, so my belief is a lie! Umm... I could have sworn I read it in some notes somewhere, but chances are I remembered that statement and not the conditions which make the statement true! I thought it was a bit sketchy, but it was a convenient simplifier, not so? Hehe... Anyway, that aside, what "If the cylinder and piston are heat insulators with negligible heat capacity ..." tells me is that compartment B is adiabatic, so the energy added by the heater will not directly affect it, only indirectly. The only work done on it is P-V work of its compression. However, before I can even start thinking about that, I need to solve the first part, which is the conditions in compartment B... I still need to know one more variable... I need to work out either VA, VB or TB somehow. Is there any way I can relate the pressure in A before the heating to the pressure in A after the heating? That would be of immense help.
  16. I take it you mean I need the First Law in order to work out the Q. Correct me if I'm wrong, but is what I wrote there not the First Law? What I mean is this: You start with dU = dQ - dW But since the gas in question is ideal, dU = 0 since ideal gases have constant internal energy (or is this a lie?). So, 0 = dQ - dW, i.e., dQ = dW Since W = ∫PdV, dW = PdV, so Q = ∫PdV I think it's pretty much what I wrote, just not explained in-depth.
  17. Right, so I've got this Thermo assignment, and the question I'm having problems with looks like this: I can work out all the conditions in both compartments before the heating, using PV=nRT. There are two things I'm having problems with, however. Firstly, to find the conditions AFTER the heating, I get 3 unknowns and 2 equations, which is obviously a problem. What I have so far is this: PA = PB, since I'm assuming energy was added to the system slowly enough such that we can take the process to be reversible. Using the ideal gas equation for both compartments, we get nATA/VA = nBTB/VB and we also know that VA + VB = Vtot The unknowns are VA, VB and TB. Anyone have any ideas on where I can find a third equation? Also, once I have worked out the conditions, I'll have to work out the amount of energy added by the heater. Since dU = 0 for an ideal gas, the energy balance reduces to Q = -W where W=-∫PdV. Am I right in saying I'll need to work out separate W terms for each of the two compartments? If so, how would I do this? My initial thought is simple enough, just use PV=nRT, but the problem is that the expansion of compartment A and the compression of B are not isothermal, so T cannot be taken as constant... How do I get around this?
  18. I need help proving that LHS=RHS in the following: a) b) I don't believe that either is difficult to prove, but the problem is that neither first nor second year engineering maths taught me enough to be able to do this. I'm sure there are identities I'm not aware of... I'd prefer to be pointed to the right place where I can learn enough to do this myself, but then again, given the nature of the problem, even someone showing me exactly how these proofs are done would be beneficial enough. Thanks in advance! (I need to have this sorted out before Feb 26)
  19. Awesome, thanks Gordan! Those links are awesome. The forum at chemicalforums.com had a post "Good chemical engineering books", and it lists a whole bunch of them, so that's my problem solved! Thanks!
  20. Thanks for the reply... I did a search on Google, and all I could find was "Classification, Parameter Estimation and State Estimation: An Engineering Approach Using MATLAB". Could this be what you were referring to? I doubt it, but I thought I'd ask anyway. What you described of the book sounds quite interesting, and if I manage to find out what it's called, I'll definitely give it a shot. However, it seems to me like it's rather general - I was hoping for something more specific. BTW, I do have "Elementary Principles of Chemical Processes" by Felder & Rousseau. It's pretty good, in general, but the questions in it don't require as much thinking as I'm going to encounter in exams, etc.
  21. I'm a second year Chemical Engineering student, and I can't seem to find decent exercises to supplement my lectures and tutorials. The tutorials have good questions, but I want more. Can anyone recommend any websites or (preferably) exercise books? I'd like something quite challenging, but obviously within my abilities (basic thermodynamics, heat transfer, etc.). Thanks in advance!
  22. I was thinking about this: as the number of electrons in atoms increases, what happens to the London dispersion forces? My reasoning is this: as the number of electrons increases along a period, the atom in question becomes smaller owing to greater attraction to the nucleus. This also makes the atom less polarizable (i.e. the electron cloud is harder to distort) and so the London dispersion forces weaken along a period. Only if the increase in the number of electrons leads to an additional electron shell, the molecule becomes bigger and more polarizable, so the London dispersion forces increase. However, this clashes with the claim that, as a rule of thumb, London dispersion forces increase with an increase in molecular weight. As one moves along period, the molecular weight increases (which would lead me to think that the dispersion forces increase), yet the atoms become smaller (which, by my reasoning above, makes me think that the dispersion forces weaken)! Which line of reasoning is correct? Is the "molecular weight rule of thumb" only used when comparing molecules as opposed to atoms?
  23. Have you been taught unit vectors? That's what you should use, as far as I can see.
  24. Chances are that it'd probably be more expensive to clone the food than to actually grow it...
  25. Ah, I see. Yes, you're absolutely right. Well, it doesn't seem as if the guy who posted has seen it yet, so I'll just go ahead and edit my post...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.