Recent content by Avarus

  1. A

    Managing simulation output files

    Thanks for the suggestions! For now I'll stick to the directory-tree structure, but in the future I might consider HDF5 data structure. I've actually used that format before, so perhaps I can build a properly structured database in that way... By the way if anyone else has any more suggestions...
  2. A

    Managing simulation output files

    Hey all, This may be a bit of a stupid question, but I'll ask it anyway... For the past weeks I've been running some DEM (discrete element method) simulations, and each simulations produces a couple output files and has different input variables/commands stored in a separate file. Already I...
  3. A

    Python [Python] Optimization: determining gradient with variable window size

    Thanks for the suggestions. What I did not include into this post is that the slope will be calculated using OLS over the number of datapoints that are required to make the slope significant, i.e. the difference between the starting and end point being 20x standard deviation of the noise...
  4. A

    Python [Python] Optimization: determining gradient with variable window size

    Hi all, I'm not quite sure if this is the right place to post my question, so forgive me if its not... I've written a program in Python that analyses data that I got from a compression experiment (mechanical testing of rocks and such), and I've written a piece of code that estimates the...
  5. A

    Solving coupled differential equations

    Could anyone still give me a hand on my post above?
  6. A

    Solving coupled differential equations

    When I separate the 2nd equation, I get the following (if I'm correct): \frac{dc}{1-\frac{c}{c_{eq}}} = \frac{4πk}{V}r^{2}dt Which solves to: -c_{eq}ln(1-\frac{c}{c_{eq}}) = \frac{4πk}{V}\int r^{2}dt + constant But I do not yet know what \int r^{2}dt is, only \frac{dr}{dt}. Did I do...
  7. A

    Solving coupled differential equations

    Ok guys, this problem keeps bugging me and I've revised the whole thing (again, sigh...) and came to the conclusion that I've made some errors along the way (again, sigh...). Now I have these sets of equations: \frac{dr}{dt} = -\frac{M}{ρ}k(1-\frac{c}{c_{eq}}) and \frac{dc}{dt} =...
  8. A

    Solving coupled differential equations

    So it is a coupled differential equation then? Such a shame :(. I should have known... Thanks everyone!
  9. A

    Solving coupled differential equations

    Oh I'm sorry, I thought coupled would be appropiate terminology, since one is related to the other and visa verse. But thanks for putting that straight :) How did you find those solutions? (Btw, c(o) = 0 in this particular case) I have the teacher's numerical solution attached as a graph, so...
  10. A

    Solving coupled differential equations

    Well, problem still is that I don't know either r(t) or c(t). But I do know r(0) and c(0), and that dc/dt = k @ t = 0, perhaps that helps?
  11. A

    Solving coupled differential equations

    Ok guys, I've got an issue with a coupled differential equation and I just can't get to solve it: \frac{\partial r}{\partial t} = Q\frac{\partial c}{\partial t} Obviously, r depends on c and visa versa, but they both depend on time. Is there a way to uncouple these variables and solve the...
Back
Top