RK method for heat equation with dependent variables

Click For Summary
SUMMARY

The discussion focuses on solving the heat equation with a dependent variable, specifically addressing the challenge of preserving the k(y) term during numerical integration. The user initially struggled with the Runge-Kutta method, which inadvertently eliminated the k(y) term. Ultimately, the issue was resolved by employing a proper substitution technique, allowing for the successful integration of the equation without losing the dependent variable.

PREREQUISITES
  • Understanding of the heat equation and its variables
  • Familiarity with numerical methods, specifically Runge-Kutta integration
  • Knowledge of variable substitution techniques in differential equations
  • Basic principles of analytical versus numerical solutions
NEXT STEPS
  • Research the application of variable substitution in solving differential equations
  • Study the Runge-Kutta method in detail, focusing on its implementation for partial differential equations
  • Explore advanced techniques for preserving dependent variables in numerical simulations
  • Learn about alternative numerical methods for solving the heat equation, such as finite difference methods
USEFUL FOR

Mathematicians, physicists, and engineers involved in solving differential equations, particularly those working with numerical methods and heat transfer problems.

maistral
Messages
235
Reaction score
17
Hello.

How do I solve this equation without killing the k(y) term:
1.png


I managed to derive an analytical solution for this one. I intend to run the numerical solution via Runge-Kutta but I can't stop myself from killing the k(y) term. I'm starting to think I'm doing something wrong... It goes something like this:

22.png


Even if I try and keep the k(y) term until I derive the systems of equations required to run Runge-Kutta, the integrator would then numerically kill it anyway. What should I do?
Any help please?
 
Physics news on Phys.org
Nevermind. Solved it by using a proper substitution.
 

Similar threads

  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 1 ·
Replies
1
Views
930
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K