Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10065 > unrolled thread

Saving PDE Derivatives

Started bydeltafrog <deltafrog@gmail.com>
First post2012-05-13 07:01 +0000
Last post2012-05-14 05:35 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Saving PDE Derivatives deltafrog <deltafrog@gmail.com> - 2012-05-13 07:01 +0000
    Re: Saving PDE Derivatives "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-05-14 05:35 +0000

#10065 — Saving PDE Derivatives

Fromdeltafrog <deltafrog@gmail.com>
Date2012-05-13 07:01 +0000
SubjectSaving PDE Derivatives
Message-ID<jonm8b$gd5$1@smc.vnet.net>
Hi, 

I'm using NDSolve, in order to solve a PDE and I won't to evaluate the results plus the derivatives of the result. Example: 

NDSolve[{Derivative[0,1][u][x,t]-Derivative[1,0][u][x,t]-Derivative[1,0][v][x,t]==0, y[x,0]==0, Derivative[1,0][u][0,t], Derivative[1,0][v][0,t]},{u,v}, {x,0,10}, {t,0,10}] 

When I want to evaluate the results I get results for u, v, u_t, and v_t, but I can't evaluate u_x nor v_x. These obviously have to be calculated somehow? How can I tell mathematica 8 to save the results?

[toc] | [next] | [standalone]


#10076

From"Kevin J. McCann" <kjm@KevinMcCann.com>
Date2012-05-14 05:35 +0000
Message-ID<joq5i7$r2f$1@smc.vnet.net>
In reply to#10065
You have an error in the code below. y[x,0]==0 should be something else.

Kevin

On 5/13/2012 3:01 AM, deltafrog wrote:
> Hi,
>
> I'm using NDSolve, in order to solve a PDE and I won't to evaluate the results plus the derivatives of the result. Example:
>
> NDSolve[{Derivative[0,1][u][x,t]-Derivative[1,0][u][x,t]-Derivative[1,0][v][x,t]==0, y[x,0]==0, Derivative[1,0][u][0,t], Derivative[1,0][v][0,t]},{u,v}, {x,0,10}, {t,0,10}]
>
> When I want to evaluate the results I get results for u, v, u_t, and v_t, but I can't evaluate u_x nor v_x. These obviously have to be calculated somehow? How can I tell mathematica 8 to save the results?
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web