The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Finite Difference Method + Radiating Boundary = Screwed?

Akilae729Akilae729 Registered User regular
edited August 2012 in Help / Advice Forum
I'm working on a small MATLAB heat transfer code that is going to use the finite difference method to solve for the temperature distribution in a solid part made of multiple materials.

For everything that only "sees" conduction, this is super easy. Set up the nodes, set up a GIANT matrix with the algebraic equations, keep track of local material properties, and solve. Done. Easy.

The problem here is that there is a radiation boundary condition on the outer surface. Since this is a function of T^4, I can't solve this with linear algebra.

Is there a clever way to handle a radiation boundary condition????

I could always randomly assign temperatures to the outer nodes and let MATLAB's solver (fminsearch probably) mess with them until I get an appropriate energy balance. But I'm not terribly confident in MATLAB's ability to do this with a large number of nodes.

signaturebighe7.jpg
Akilae729 on

Posts

  • KiplingKipling Registered User regular
    It's steady state? The PDE toolbox I believe can handle steady state. It shouldn't be able to handle it in a time dependent solving method. It's going to take an insane amount of time if you guess wrong though.

    The MATLAB forums would probably help a bit more - they are pretty good guys over there.

    3DS Friends: 1693-1781-7023
  • Akilae729Akilae729 Registered User regular
    It's all steady state. Fortunately, I only have a couple hundred nodes, so MATLAB ok for solving. Basically, I've written the conduction only nodes into a linear algebra solver and I use the MATLAB solver to grab the remaining nodes.

    After talking to some professors, it looks like there isn't a clever way to fix the boundary condition issue.

    I've had a mixed bag with the MATLAB forums. And there are a few engineers floating around here that typically have good ideas.

    signaturebighe7.jpg
  • Fuzzy Cumulonimbus CloudFuzzy Cumulonimbus Cloud Registered User regular
    Can you express it as an ODE and use one of the hojillion solvers available for ODEs?

Sign In or Register to comment.