ODE with a function of variable crazy equ

  • Context: Graduate 
  • Thread starter Thread starter anirudhnandan
  • Start date Start date
  • Tags Tags
    Function Ode Variable
Click For Summary

Discussion Overview

The discussion revolves around solving a differential equation related to temperature dynamics in a system, specifically an energy balance equation that includes a temperature-dependent efficiency function, η(T). Participants explore methods for solving this equation, including both analytical and numerical approaches, and express their challenges and strategies in finding the temperature after a specified time.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant seeks help in solving the equation T' = a*(T^4 - r^4) + b*(T^4 - s^4) + P*(1 - η(T)), noting that η is a function of temperature T.
  • Another participant assumes T' represents dT/dt and suggests that if a, b, P, r, and s are constants, the equation could be separable, leading to T as a function of t, but recommends numerical integration for practical solutions.
  • A different participant proposes that the equation could be simplified by focusing on the T^4 terms and suggests a method involving partial fractions for integration, but acknowledges the complexity introduced by the η(T) term.
  • One participant emphasizes that they do not require an analytical solution and are focused on numerical results, explaining that η(T) complicates the integration due to its dependence on temperature.
  • Another participant questions the correctness of a modified energy balance equation that incorporates η(T) evaluated at the previous time step, Tn-1, and clarifies their notation for T'.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to solve the equation, with some advocating for numerical methods while others explore analytical techniques. There is no consensus on a single method or solution, and the discussion remains unresolved regarding the most effective way to incorporate the η(T) function into the solution process.

Contextual Notes

Participants note the complexity of the η(T) function and its impact on the temperature rise, suggesting that its behavior may vary significantly with temperature, which complicates the integration process. There are also discussions about the assumptions regarding the constants in the equation and the implications of using previous time step values in the calculations.

Who May Find This Useful

This discussion may be useful for individuals interested in solving differential equations related to thermal dynamics, particularly those involving temperature-dependent functions in energy balance scenarios.

anirudhnandan
Messages
4
Reaction score
0
How to solve a equation of this kind

T' = a*(T^4 - r^4) + b*(T^4 - s^4) + P*(1 - η(T))

The above equation is driving me nuts... the 'η' is a function of T(Temperature) the efficiency and initial value of T is known.
Say at t = 0 T is 298
Need help! Please!

I need to find the temperature of the system after a given time say 60s...
 
Physics news on Phys.org
Ok, I'm assuming that T' means dT/dt, and that a, b, P, r and s are not functions of t.

If it were the case, this is a separable DE, and can be solved by the standard way.

The only problem is you will get t as a function of T, instead of T as a function of t as wished, but I'm afraid this is the closest you can get of an analytical solution.

However, if you need only numbers, i strongly suggest integrating it numerically, as it is a much easier way to get the answer you need.
 
anirudhnandan said:
How to solve a equation of this kind

T' = a*(T^4 - r^4) + b*(T^4 - s^4) + P*(1 - η(T))

The above equation is driving me nuts... the 'η' is a function of T(Temperature) the efficiency and initial value of T is known.
Say at t = 0 T is 298
Need help! Please!

I need to find the temperature of the system after a given time say 60s...

My amateur answer :rolleyes: is I would have thought:
you can solve

T' = a*(T^4 - r^4)

It is a 'straightforward' integration - I think I have done it buried in one of my early posts here somewhere. Standardish anyway. Edit: now I remember one way was to express (T4 - r 4) as (T2 - r2)(T2 - r2) then you have a simple partial fractions problem and then standard integrals.

You can integrate each term. Then any linear combination of those integrals plus and arbitrary constant determined by the physics should be a solution of the overall equation.

Then you have two problems.

One is whether this is the most general solution. On a quick look it seemed to me it is but anyway get a solution first.

The other is that last term. As we don't know the form of η we can only write for the integral of the last term P*(x - ∫ η(T) dT ) . Then if η is given as data integrate that graphically or numerically. But I would guess that this is a function varying much more lowly than the fourth powers you have in your other terms so is a relatively small correction, and that it is adequately modeled by a simple expression perhaps empirical, e.g. linear or quadratic.
 
Last edited:
Hi all,

Thanks for taking time and answering my question. I know to solve for T^4 terms. Thats not the problem.
And I don't require analytical solution. I am interested only in numbers. I think you would have realized that the equation is an energy balance equation. 'η' is the efficiency of the system which is a function of 'T' the temperature of the system. If η were a constant, I would simply integrate it. But, η(T) will vary as T increases. When power 'P' i.e. heat is incident, T will rise... will the rise be determined only by material constants? No...

Rise in T will also be affected by the behavior of η(T). η is a complex program.
My intention is this...
I have written a program for η... I want to call it in the energy balance equation and pass 'T' as a parameter into η. As η decreases with T... Rise in T will be more dramatic at higher temperatures...

Please help...
 
Is this form of energy balance equation correct?

ρ*A*C*T'n = σ(T^4 - con1^4) + σ(T^4 - con2^4) + Pin(1 - η(Tn-1))

That is passing 'n-1' value of T as a parameter into η function...

By T' I mean dT/dt

at t = 0; T = 298
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 0 ·
Replies
0
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K