# Mathematica

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 23, 1998, 11:15 Mathematica #1 Ravi Venkatesan Guest   Posts: n/a Hi, I would be very grateful if someone could either provide me with, or lead me to, a Mathematica Notebook (preferably Mathematica V 2.2) which solves:____________________________ 1. The advection equation: u_t + a*u_x=0, "a" is constant 2. The equations of hydrodynamics in any dimension, and in either Eulerian or Lagrangian form. Thanks Regards Ravi

 July 23, 1998, 22:00 Re: Mathematica #2 Igor Antropov Guest   Posts: n/a 1) Surely I can provide you with a Mathematica notebook to solve u_t + a*u_x=0, "a" is constant. Beginning of Mathematica notebook, cut here --------------------------------------------- u=f[x-a t] --------------------------------------------- End of Mathematica notebook, cut here Hint: any function of the form f(x-at) is a solution of the equation. If you find another solution, please let me know ;-) 2) Viscous incompressible fluid, Eulerian, x1,x2,x3 are Cartesian coordinates, t is time, u1,u2,u3 are velocity components, P is specific excess pressure, ro is density, nu is kinematic viscosity: u1_t+u1*(u1_x1)+u2*(u1_x2)+u3*(u1_x3)= -(1/ro)P_x1+nu(u1_x1x1+u1_x2x2+u1_x3x3) u2_t+u1*(u2_x1)+u2*(u2_x2)+u3*(u2_x3)= -(1/ro)P_x2+nu(u2_x1x1+u2_x2x2+u2_x3x3) u3_t+u1*(u3_x1)+u2*(u3_x2)+u3*(u3_x3)= -(1/ro)P_x3+nu(u3_x1x1+u3_x2x2+u3_x3x3) u1_x1+u2_x2+u3_x3=0 There is a shorter way to write it, but I had impresiion that you would prefer the long way. Good luck. Igor

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Housam Binous Main CFD Forum 1 July 20, 2010 07:18 Housam BINOUS Main CFD Forum 0 November 4, 2005 15:09 Housam BINOUS Main CFD Forum 0 November 4, 2005 14:55 Housam Binous Main CFD Forum 0 October 26, 2005 01:47 Damir Main CFD Forum 0 September 24, 2001 11:28

All times are GMT -4. The time now is 15:50.