As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

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

  • Options
    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
  • Options
    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
  • Options
    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.