Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Should I scale my boundary condition values for problem where I scaled interior valu?

  1. Oct 29, 2011 #1
    Hello all:

    I would very much appreciate advice on setting up a problem. Apologies in advance... This is probably a silly question--I'm more of a chemist than an engineer/math person!

    I have written a code for calculating changes in concentration/mass within a domain over time, as new stuff flows in from a boundary. For discussion here, let's say the domain is rectangular and the new stuff is flowing in from the left (but the code should be able to handle any type of geometry).

    In the code, I have scaled my concentrations/masses in the interior... So for any calculation, the resulting concentrations/masses will be for 1 m^3. This is all fine.

    My question is, how do I deal with my boundary conditions as far as scaling? If I need to scale them, what would I scale them to? I can't use volume, because the boundary is a line.

    To clarify, I have moles of chemical elements coming in at the boundaries. I start with moles of elements or mass of elements (density) in the interior, then I rescale the interior to 1 m^3. This scaling turns the moles or mass in the interior into molarity or molality.
     
    Last edited: Oct 29, 2011
  2. jcsd
  3. Oct 29, 2011 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Re: Should I scale my boundary condition values for problem where I scaled interior v

    Your boundary conditions should have the same units as the body that you are integrating over. Normally you'd perform the same scaling operation on the boundary conditions that you did on the body. As you have observed, this will change the geometry of the problem - but only on paper.
     
  4. Oct 29, 2011 #3
    Re: Should I scale my boundary condition values for problem where I scaled interior v

    Hi Simon. Thanks a lot! I'll go ahead and scale my boundary conditions to 1m^3 too.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Should I scale my boundary condition values for problem where I scaled interior valu?
  1. Absolute Value of e(i) (Replies: 10)

  2. Scaling problem (Replies: 7)

Loading...