Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'NDSolve ivone' topicStudent Support Forum > General > "NDSolve ivone"

Next Comment >Help | Reply To Topic
Author Comment/Response
Chris Chiasson
05/23/05 3:12pm

Hello Mathematica Support Guru(s),

I get the following error from my input to NDSolve, but I am not sure if I am actually violating the rule it says I am:

NDSolve::ivone
Boundary values may only be specified for one independent variable. Initial values may only be specified at one value of the other independent variable.


That comes from the following input (definition of mole fluxes (3 eqns), conservation of non reacting species (3 eqns), and dalton's law of partial pressures (1 eqn) for three ideal gasses in ternary diffusion):

NDSolve[\[ScriptCapitalN]A[z, t] == (\[ScriptCapitalN]A[z, t] +
\[ScriptCapitalN]B[z, t] + \[ScriptCapitalN]C[z, t])*χA[z, t] -
(0.0003610152163600286*Derivative[1, 0][χA][z, t])/
((0.3040465336986682*χC[z, t])/(χA[z, t] + χB[z, t]) +
(0.39170805107300855*χB[z, t])/(χA[z, t] + χC[z, t])) &&
\[ScriptCapitalN]B[z, t] == (\[ScriptCapitalN]A[z, t] +
\[ScriptCapitalN]B[z, t] + \[ScriptCapitalN]C[z, t])*χA[z, t] -
(0.0003610152163600286*Derivative[1, 0][χB][z, t])/
((0.2905456429313062*χC[z, t])/(χA[z, t] + χB[z, t]) +
(0.39170805107300855*χA[z, t])/(χB[z, t] + χC[z, t])) &&
\[ScriptCapitalN]C[z, t] == (\[ScriptCapitalN]A[z, t] +
\[ScriptCapitalN]B[z, t] + \[ScriptCapitalN]C[z, t])*χA[z, t] -
(0.0003610152163600286*Derivative[1, 0][χC][z, t])/
((0.2905456429313062*χB[z, t])/(χA[z, t] + χC[z, t]) +
(0.3040465336986682*χA[z, t])/(χB[z, t] + χC[z, t])) &&
0.0003610152163600286*(χA[z, t]*Derivative[0, 1][P][z, t] +
P[z, t]*Derivative[0, 1][χA][z, t] +
2769.9663468*Derivative[1, 0][\[ScriptCapitalN]A][z, t]) == 0 &&
0.0003610152163600286*(χB[z, t]*Derivative[0, 1][P][z, t] +
P[z, t]*Derivative[0, 1][χB][z, t] +
2769.9663468*Derivative[1, 0][\[ScriptCapitalN]B][z, t]) == 0 &&
0.0003610152163600286*(χC[z, t]*Derivative[0, 1][P][z, t] +
P[z, t]*Derivative[0, 1][χC][z, t] +
2769.9663468*Derivative[1, 0][\[ScriptCapitalN]C][z, t]) == 0 &&
χA[z, t] + χB[z, t] + χC[z, t] == 1 &&
χA[z, 0] == χA[0, t] == 0.13238383827902114 &&
χB[z, 0] == χB[0, t] == 0.6681373176389893 &&
χC[z, 0] == χC[0, t] == 0.1994788440819895 &&
P[z, 0] == P[0, t] == 100000 && \[ScriptCapitalN]A[1/4000, t] ==
0.011156006364769414 && \[ScriptCapitalN]B[1/4000, t] == 0 &&
\[ScriptCapitalN]C[1/4000, t] == 0,
{P, \[ScriptCapitalN]A, \[ScriptCapitalN]B, \[ScriptCapitalN]C, χA,
χB, χC}, {z, 0, 1/4000}, {t, 0, 2}]

***Do you think I have violated the rule? What should I change?***

URL: ,

Subject (listing for 'NDSolve ivone')
Author Date Posted
NDSolve ivone Chris Chiasson 05/23/05 3:12pm
Re: NDSolve ivone Chris Chiasson 05/23/05 4:45pm
Next Comment >Help | Reply To Topic