Recent content by logix88

  1. L

    Fortran Need help installing fortran compiler

    Hi! I wanted to install a f77 compiler, I am running Win7 but also have WinXP, I installed MinGW 5.1.3 and did everything mentioned in this pdf (https://docs.google.com/viewer?url=http://www.pns.anl.gov/instruments/scd/subscd/Fortran_and_C.pdf) So, basically its an automatic installer, I...
  2. L

    How to factorize x^4 + x^3 + 2.01 x^2 + 0.01 x + 0.01 = 0?

    it is correct to 2dp (decimal places)
  3. L

    How to factorize x^4 + x^3 + 2.01 x^2 + 0.01 x + 0.01 = 0?

    I need to get this into (x^2+ x + const) * (x^2+ x + const) format, the answer for this equation is (x^2+x+2)*(x^2+0.0025x+0.005)... I don't know how to get there, NEED HELP EXAM DAY AFTER!
  4. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    Hey, I am sry I don't understand what you said, I am not a physicist, I knw I have some prb understanding the simple physics involved in this. TBH, I am more confused now than before...
  5. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    u(1,1,j,1)=a(1,1,j); u(2,1,j,1)=a(2,1,j); u(3,1,j,1)=a(3,1,j); u(1,1,j,t+1)=u(1,1,j,t)+a(1,1,j)*t; u(2,1,j,t+1)=u(2,1,j,t)+a(2,1,j)*t; u(3,1,j,t+1)=u(3,1,j,t)+a(3,1,j)*t; x_final(j,1)=x(j); y_final(j,1)=y(j); z_final(j,1)=z(j)...
  6. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    I thought that's what I did, first I calculate Forces due to heat, wind, gravity for each particle, and I get acceleration from those values. Initial vel is 0, I then use the acceleration to obtain u=u0+at and then plug that into s=ut+1/2*at^2. Then obtain the change in distance for each x,y,z...
  7. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    Thnx for the code, Its seems pretty straight forward with random x,y,z positions, its just when trying to implement forces and mapping them wrt to time, it seemed a bit too confusing... I will give it a ago, and come bak if I have any problems, Thanx a lot for ur help!
  8. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    Let me elaborate... I have x,y,z position of a 1000 particles. Now, over time these particles will be moving, due to the different forces applied on them, I want to simulate how these particles move around this 100x100x100m box. The t(1:10) was just time range going form 1 to 10, in steps of 1...
  9. L

    How Do I Update Particle Positions in a Constrained 3D Simulation?

    I am trying to simulate a 3D particle simulation, where there are a 1000 particles of random x,y,z postn varying area between 2 n 4, and mass... There are different forces acting on each particles, Force due to heat, wind, and gravity, we calc acceleration from that, after which change in...
  10. L

    Solving 2D Heat Diffusion Eqn w/ Finite Difference Method

    u_t=c(u_xx+u_yy) for 2D u_t=c(u_xx) for 1D
  11. L

    Solving 2D Heat Diffusion Eqn w/ Finite Difference Method

    I have to write a FD expilicit method, for temp dist on 2D plane. I am trying to mod the 1D solver to 2D solver, the code below is a 1D solver. Any possible suggestions how it can be done? I initially, derived u(i,j+1) for 2D for in that derivation i,j corresponds to x,y... where as in 1D...
Back
Top