Heat equation with non zero BC Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Heat Equation $1D$ with forcing termPartial differential equation (heat equation with other terms)?regularity of the solution for the heat equation on half space with boundary condition specifiedApproaching in Solving Heat Equation given ConditionsHeat equation solutionsDifference between Heat Equation solutionsPartial differential equation involving Heat Conduction Problempartial differential equation heat equationHeat equation - stationary solutionInhomogeneous heat equation on finite interval
Improvising over quartal voicings
IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How?
Why do C and C++ allow the expression (int) + 4*5?
draw a pulley system
Did pre-Columbian Americans know the spherical shape of the Earth?
The test team as an enemy of development? And how can this be avoided?
Noise in Eigenvalues plot
What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?
"Destructive power" carried by a B-52?
Searching extreme points of polyhedron
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Where and when has Thucydides been studied?
French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)
Why is there so little support for joining EFTA in the British parliament?
Getting representations of the Lie group out of representations of its Lie algebra
Is the Mordenkainen's Sword spell underpowered?
How to make an animal which can only breed for a certain number of generations?
How can I prevent/balance waiting and turtling as a response to cooldown mechanics
Is a copyright notice with a non-existent name be invalid?
How to get a flat-head nail out of a piece of wood?
Did John Wesley plagiarize Matthew Henry...?
Does the universe have a fixed centre of mass?
Can two people see the same photon?
What does 丫 mean? 丫是什么意思?
Heat equation with non zero BC
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Heat Equation $1D$ with forcing termPartial differential equation (heat equation with other terms)?regularity of the solution for the heat equation on half space with boundary condition specifiedApproaching in Solving Heat Equation given ConditionsHeat equation solutionsDifference between Heat Equation solutionsPartial differential equation involving Heat Conduction Problempartial differential equation heat equationHeat equation - stationary solutionInhomogeneous heat equation on finite interval
$begingroup$
Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?
pde numerical-methods
$endgroup$
add a comment |
$begingroup$
Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?
pde numerical-methods
$endgroup$
add a comment |
$begingroup$
Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?
pde numerical-methods
$endgroup$
Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?
pde numerical-methods
pde numerical-methods
asked Aug 27 '16 at 17:15
MedanMedan
227619
227619
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The system that you want to solve is
beginsplit
partial_tu &= partial_xxu, xin[0,pi], t>0\
u (0,t) &= 2, \
u (pi,t) &= 4 \
u(x,0) &= u_0
endsplit
where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.
The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
We start by defining $v$
beginalign*
v(x,t) = u(x,t) - u_E(x,t)
endalign*
where $u_E(x,t)$ is the solution at equilibrium.
Hence one would firstly solve
beginalign
beginsplit
partial_xxu_E &= 0, xin[0,pi]\
u_E (0) &= 2 \
u_E (pi) &= 4
endsplit
endalign
for which the solution is
beginalign
u_E(x) = frac2pix + 2.
endalign
Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
beginalign
beginsplit
partial_tv &= partial_xxv, xin[0,pi]\
v (0,t) &= 0 \
v (pi,t) &= 0 \
v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
endsplit
endalign
and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.
Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$
$endgroup$
add a comment |
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%2f1905441%2fheat-equation-with-non-zero-bc%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The system that you want to solve is
beginsplit
partial_tu &= partial_xxu, xin[0,pi], t>0\
u (0,t) &= 2, \
u (pi,t) &= 4 \
u(x,0) &= u_0
endsplit
where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.
The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
We start by defining $v$
beginalign*
v(x,t) = u(x,t) - u_E(x,t)
endalign*
where $u_E(x,t)$ is the solution at equilibrium.
Hence one would firstly solve
beginalign
beginsplit
partial_xxu_E &= 0, xin[0,pi]\
u_E (0) &= 2 \
u_E (pi) &= 4
endsplit
endalign
for which the solution is
beginalign
u_E(x) = frac2pix + 2.
endalign
Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
beginalign
beginsplit
partial_tv &= partial_xxv, xin[0,pi]\
v (0,t) &= 0 \
v (pi,t) &= 0 \
v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
endsplit
endalign
and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.
Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$
$endgroup$
add a comment |
$begingroup$
The system that you want to solve is
beginsplit
partial_tu &= partial_xxu, xin[0,pi], t>0\
u (0,t) &= 2, \
u (pi,t) &= 4 \
u(x,0) &= u_0
endsplit
where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.
The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
We start by defining $v$
beginalign*
v(x,t) = u(x,t) - u_E(x,t)
endalign*
where $u_E(x,t)$ is the solution at equilibrium.
Hence one would firstly solve
beginalign
beginsplit
partial_xxu_E &= 0, xin[0,pi]\
u_E (0) &= 2 \
u_E (pi) &= 4
endsplit
endalign
for which the solution is
beginalign
u_E(x) = frac2pix + 2.
endalign
Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
beginalign
beginsplit
partial_tv &= partial_xxv, xin[0,pi]\
v (0,t) &= 0 \
v (pi,t) &= 0 \
v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
endsplit
endalign
and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.
Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$
$endgroup$
add a comment |
$begingroup$
The system that you want to solve is
beginsplit
partial_tu &= partial_xxu, xin[0,pi], t>0\
u (0,t) &= 2, \
u (pi,t) &= 4 \
u(x,0) &= u_0
endsplit
where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.
The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
We start by defining $v$
beginalign*
v(x,t) = u(x,t) - u_E(x,t)
endalign*
where $u_E(x,t)$ is the solution at equilibrium.
Hence one would firstly solve
beginalign
beginsplit
partial_xxu_E &= 0, xin[0,pi]\
u_E (0) &= 2 \
u_E (pi) &= 4
endsplit
endalign
for which the solution is
beginalign
u_E(x) = frac2pix + 2.
endalign
Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
beginalign
beginsplit
partial_tv &= partial_xxv, xin[0,pi]\
v (0,t) &= 0 \
v (pi,t) &= 0 \
v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
endsplit
endalign
and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.
Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$
$endgroup$
The system that you want to solve is
beginsplit
partial_tu &= partial_xxu, xin[0,pi], t>0\
u (0,t) &= 2, \
u (pi,t) &= 4 \
u(x,0) &= u_0
endsplit
where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.
The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
We start by defining $v$
beginalign*
v(x,t) = u(x,t) - u_E(x,t)
endalign*
where $u_E(x,t)$ is the solution at equilibrium.
Hence one would firstly solve
beginalign
beginsplit
partial_xxu_E &= 0, xin[0,pi]\
u_E (0) &= 2 \
u_E (pi) &= 4
endsplit
endalign
for which the solution is
beginalign
u_E(x) = frac2pix + 2.
endalign
Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
beginalign
beginsplit
partial_tv &= partial_xxv, xin[0,pi]\
v (0,t) &= 0 \
v (pi,t) &= 0 \
v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
endsplit
endalign
and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.
Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$
answered Apr 2 at 13:40
D.ShanksD.Shanks
12
12
add a comment |
add a comment |
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%2f1905441%2fheat-equation-with-non-zero-bc%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