Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10065 > unrolled thread
| Started by | deltafrog <deltafrog@gmail.com> |
|---|---|
| First post | 2012-05-13 07:01 +0000 |
| Last post | 2012-05-14 05:35 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | deltafrog <deltafrog@gmail.com> |
|---|---|
| Date | 2012-05-13 07:01 +0000 |
| Subject | Saving 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]
| From | "Kevin J. McCann" <kjm@KevinMcCann.com> |
|---|---|
| Date | 2012-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