Rainbow + ODEcalc + CurvFit Software 4 Engineers & Scientists
Reg. $0.00

Fortran Calculus - Ordinary Differential Equations
Reg. $1,000,000.00


1. FC Advance Order Form


2. Feedback Form
How did installation & execution proceed for user?

Problem-Solving Example #4

Liquid Propellant Rocket Problem
____________

Power of Calculus Programming

    The next Fortran Calculus example illustrates solving implicit differential equations. These equations in Figure 3 are characteristic of a liquid propellant rocket feed system in the presence of a longitudinal vibration that is damping with time. The solution of these equations is achieved by nesting the implicit equation solver AJAX inside the ODE solver JANUS. Nesting solvers is possible to many levels as long as there is room in ones computer for temporary storage of each 2xNxN matrix where N is the number of variables in the given FIND statement; N=2 in this 'ideq' model.

    Figure 3. Calculus Code ... Liquid Propellant Rocket

    problem impdes
      common xdot, x, ydot, y, t
      x=14000   :     y=7000          ! initial conditions
      xdot=-50   :    ydot=-25        ! initial rate guesses
      t=0   : dt=.25   :      tp=.5
      Initiate janus; For ideq; Equations 
    &       xdot / x,  ydot / y; Of t; Step dt; To tf;
      print *, '  time        xdot    x'
    &       , '     ydot    y'   :   tf=tp
      do while (tf.le.50)
        Integrate ideq; By janus
        print '(5e15.6)', t, xdot, x, ydot, y   :   tf=tf + tp
      end do
    end
    model ideq      ! implicit differential equations
      common xdot, x, ydot, y, t
      Find xdot, ydot;   In irate(gx, gy);
    &       by ajax( acon);   to match gx, gy
    end
    model irate(gx, gy)     ! implicit rate equations
      common xdot, x, ydot, y, t
      gx=xdot + 3.2 * sqrt(1-(xdot + ydot) * exp(-t / 50)
    &       * (1.15 + 57.5 / (20000 + x + y)))
    &       * (1 + .1 * exp(-t / 10) * sin(1.5708 * t))
      gy=ydot + 1.59 * sqrt(1-(xdot + ydot) * exp(-t / 50)
    &       * (1.15 + 36.2 / (20000 + x + y)))
    &       * (1 + .1 * exp(-t / 10) * sin(1.5708 * t))
    end
    controller acon( ajax)
      summary=0
    end

    Initiate, Integrate, and Find statements are additions to algebra level languages and allow this implicit system of ODEs to be solved. Initiate states solver & model names, variable names and their interconnections. In this problem the solver is Janus; model is IDEQ; and, variables are Xdot / X and Ydot / Y. This tells the solver that Xdot is the derivative of X with respect to T, the independent variable appearing in the OF phase. Same relationship exists for Ydot and Y. Integrate statement integrates equations in model IDEQ from initial value of T to final value, TF. The Find statement is necessary to find Xdot & Ydot values such that Gx & Gy equations in IRATE are zero. Higher order ODEs are solved with the same layout.

    Figure 4. (Partial) Output Report ... Liquid Propellant Rocket

       TIME              XDOT            X               YDOT           Y
    0.500000E+00    -0.204710E+02   0.139903E+05    -0.101693E+02   0.699518E+04
    0.100000E+01    -0.211458E+02   0.139798E+05    -0.105045E+02   0.698997E+04
    0.150000E+01    -0.198543E+02   0.139695E+05    -0.986297E+01   0.698484E+04
    0.200000E+01    -0.175393E+02   0.139601E+05    -0.871293E+01   0.698019E+04
        o
        o
        o
    0.495000E+02    -0.786710E+01   0.133984E+05    -0.390821E+01   0.670115E+04
    0.500000E+02    -0.780443E+01   0.133945E+05    -0.387708E+01   0.669920E+04
    ELAPSED TIME =    6.48 SECONDS



See Also

<< Back

Problem-Solving Application Examples include:

CurvFit: a curve fitting program with Lorentzian, Sine, Exponential and Power series are available models to match your data.

ODEcalc: an Ordinary Differential Equation Calculator! Solves BVP & IVP.

Match-n-Freq: a Matched Filter program used to filter signals and slim pulses.

Robot4: Robotic Arm Movement; determines how to get from a point to another point.

Industry Problem-Solving Descriptions include:

AC Motor Design: a simulation program for A.C. motor design that was reapplied as a constrained optimization problem with 12 unknown parameters and 7 constraints.

Body Plasma Chemistry: determine the concentration of a Therapeutic treatment drug that is in the body over a period of time.

Efficient Solar Cells: Modeling a Nanostructured Solar Cell. Problem: How to develop solar cells with a new (higher) efficiency; grätzel cells.

Pulse Slimming to minimize InterSymbol Interference: via Arbitrary Equalization with Simple LC Structures to reduce errors.

Voice Coil Motor: basically an electromagnetic transducer in which a coil placed in a magnetic pole gap experiences a force proportional to the current passing through the coil.

Heat Transfer Boundary Value Problem: Solves second order Differential Equation for temperature distribution in a tapered fin.

Electrical Filter Design: find the transfer function's poles & zeros; H(s) = Yout(s) / Yin(s).

Digitized Signal from Magnetic Recording: Magnetic recording of transitions written onto a computer disc drive may produce an isolated pulse as shown.

PharmacoKinetics: an open-two- compartment model with first order absorption into elimination from central compartment is presented here.

Rocket Feed System: illustrates solving implicit differential equations that model a liquid propellant rocket feed system in the presence of a longitudinal vibration.



 
Copyright © 2005 Optimal Designs Enterprise. All rights reserved.