Using scipy's odeint to solve pde Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Does solve PDE by combination of variables always cannot find the general solutions?About finding the general solution of first-order totally nonlinear PDE with two independent variablesAnalytical solution to PDEfinding ODEs satisfied by X and Y for a PDEUnderstand Dankwerts boundary conditions in plug flow pdePDE: Advection equation with time-dependent BCSeparation of Variables for PDESolve the PDE $yu_y - xu_x = 1$ by method of characteristicsUsing Laplace Transforms to solve a PDEHow to solve this non-linear PDE
Delete free apps from library
After Sam didn't return home in the end, were he and Al still friends?
Caught masturbating at work
Putting class ranking in CV, but against dept guidelines
Test print coming out spongy
What is the difference between a "ranged attack" and a "ranged weapon attack"?
Tannaka duality for semisimple groups
GDP with Intermediate Production
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
What initially awakened the Balrog?
What does Turing mean by this statement?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?
Special flights
Why weren't discrete x86 CPUs ever used in game hardware?
License to disallow distribution in closed source software, but allow exceptions made by owner?
How can a team of shapeshifters communicate?
Nose gear failure in single prop aircraft: belly landing or nose-gear up landing?
Resize vertical bars (absolute-value symbols)
Is it dangerous to install hacking tools on my private linux machine?
Is there public access to the Meteor Crater in Arizona?
How much damage would a cupful of neutron star matter do to the Earth?
Moving a wrapfig vertically to encroach partially on a subsection title
What does 丫 mean? 丫是什么意思?
Using scipy's odeint to solve pde
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Does solve PDE by combination of variables always cannot find the general solutions?About finding the general solution of first-order totally nonlinear PDE with two independent variablesAnalytical solution to PDEfinding ODEs satisfied by X and Y for a PDEUnderstand Dankwerts boundary conditions in plug flow pdePDE: Advection equation with time-dependent BCSeparation of Variables for PDESolve the PDE $yu_y - xu_x = 1$ by method of characteristicsUsing Laplace Transforms to solve a PDEHow to solve this non-linear PDE
$begingroup$
I would like to use scipy
's odeint
to solve the following pde:
$$frac 1 r frac partial u partial r + frac partial^2 u partial r^2=frac 1 c_h frac partial u partial t$$
Where $c_h$ is a constant and $u$ is a function of $r$ and $t$. The boundary conditions are:
$u=u_0$ for $r=dfracd_w2$
and,
$dfrac partial h partial r = 0$ for $r=dfracD2$
odeint1
following their basic example only solves n-order ODE's, so I guess the first step is to rewrite my pde as a system of odes. Is separation of variables the way to go here? How can I rewrite the above as two systems of ODE's such that I can plug in to odeint
? Also once I get the solution to the two ODE's how can I recombine to get $u(r,t)$?
pde numerical-methods python
$endgroup$
add a comment |
$begingroup$
I would like to use scipy
's odeint
to solve the following pde:
$$frac 1 r frac partial u partial r + frac partial^2 u partial r^2=frac 1 c_h frac partial u partial t$$
Where $c_h$ is a constant and $u$ is a function of $r$ and $t$. The boundary conditions are:
$u=u_0$ for $r=dfracd_w2$
and,
$dfrac partial h partial r = 0$ for $r=dfracD2$
odeint1
following their basic example only solves n-order ODE's, so I guess the first step is to rewrite my pde as a system of odes. Is separation of variables the way to go here? How can I rewrite the above as two systems of ODE's such that I can plug in to odeint
? Also once I get the solution to the two ODE's how can I recombine to get $u(r,t)$?
pde numerical-methods python
$endgroup$
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to useodeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.
$endgroup$
– unseen_rider
Apr 2 at 11:44
add a comment |
$begingroup$
I would like to use scipy
's odeint
to solve the following pde:
$$frac 1 r frac partial u partial r + frac partial^2 u partial r^2=frac 1 c_h frac partial u partial t$$
Where $c_h$ is a constant and $u$ is a function of $r$ and $t$. The boundary conditions are:
$u=u_0$ for $r=dfracd_w2$
and,
$dfrac partial h partial r = 0$ for $r=dfracD2$
odeint1
following their basic example only solves n-order ODE's, so I guess the first step is to rewrite my pde as a system of odes. Is separation of variables the way to go here? How can I rewrite the above as two systems of ODE's such that I can plug in to odeint
? Also once I get the solution to the two ODE's how can I recombine to get $u(r,t)$?
pde numerical-methods python
$endgroup$
I would like to use scipy
's odeint
to solve the following pde:
$$frac 1 r frac partial u partial r + frac partial^2 u partial r^2=frac 1 c_h frac partial u partial t$$
Where $c_h$ is a constant and $u$ is a function of $r$ and $t$. The boundary conditions are:
$u=u_0$ for $r=dfracd_w2$
and,
$dfrac partial h partial r = 0$ for $r=dfracD2$
odeint1
following their basic example only solves n-order ODE's, so I guess the first step is to rewrite my pde as a system of odes. Is separation of variables the way to go here? How can I rewrite the above as two systems of ODE's such that I can plug in to odeint
? Also once I get the solution to the two ODE's how can I recombine to get $u(r,t)$?
pde numerical-methods python
pde numerical-methods python
edited Apr 2 at 9:54
Max
1,0021319
1,0021319
asked Apr 2 at 9:30
user32882user32882
391114
391114
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to useodeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.
$endgroup$
– unseen_rider
Apr 2 at 11:44
add a comment |
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to useodeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.
$endgroup$
– unseen_rider
Apr 2 at 11:44
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to use
odeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.$endgroup$
– unseen_rider
Apr 2 at 11:44
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to use
odeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.$endgroup$
– unseen_rider
Apr 2 at 11:44
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171657%2fusing-scipys-odeint-to-solve-pde%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3171657%2fusing-scipys-odeint-to-solve-pde%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
What do you know about converting PDE's to ODE's? Your aim is to use
odeint
for solving the ODEs, but as you say before you can do this you need suitable ODE's first. Show your research & what you have found in your question.$endgroup$
– unseen_rider
Apr 2 at 11:44