On 2/21/2009 3:11:59 AM, Muffin83 wrote:
>Jim in response I have made
>some changes and tried to
>incorporate some of your
>coding into my program to
>clean it up. I realize that
>your way is more efficient and
>probably clean but there are a
>few things you do which I
>don't totally understand.
==> you can't do what you did, i.e: turn a working work sheet into a work sheet that needs be recomposed based on changes you don't fully evaluate. You must take the working work sheet attached and tell what more you expect. I have simply enhanced the presentation with few more tips.
>In Response to your previous post.
1) X needs to be
>random to imitate the random
>porous structures you would
>experience in a rock. For our
>cases it is a porous reservoir
>rock in which will be
>injecting different fluids. So
>that X needs to be random to
>simulate similar albeit
>idealist conditions
==> I understand that because I DID understood from the very beginning, but don't want to see the random YET ! We will deal with after the project is complete. Why it must be excluded ? Because the Pressure plot can further be converted into a beautiful analytic formula that you have no idea how it will jump out of the "Cat in the Hat" , but for that: a clean plot is needed.
==> BTW: your last 'x' they have now 1001 points !
Before you explained about 1000 pts ?
2) I am not sure what you mean by carrying
>useless stuff in my program.
==> Read the working program line by line.
3) I am assuming by pack you
>mean don't display the tables
>and try to line everything up
>so that it doesn't take so
>many pages. If that is the
>case then I have attempted to
>do this by adding horizontal
>matrix's when possible and
>also not displaying calculated
>results.
==> No, not like that.
==> The working program tells you all !
4) The units on the pressure work out
>to be in Pascal.
==> I love that ! Because the project is pre-designed in the "UnitResult" and that's what I have "Evangelized" so many times "zap the Unit System".
5) In this file is a graph comparing the water
>saturation as a fraction vs. the capillary >pressure in Pascal.
==> nothing works in 11.2a !
6) I have checked my
>calculated values with the
>professor of the lecture and
>they are correct.
==> I wish, could trust you and your professor !
>For everyone else I have added a
>new programming block based
>very similarly to my first
>one. This time I will be
>calculating the imbition
>curve. As a result of this the
>equations have changed.
==> ?
>What I am hoping to do is when
>theta oil-water (ow) hinging
>(h) or theta owh is the same
>as theta owa (advancing) that
>it either stops using the
>theta ow equation and just
>uses theta owa. I will have to
>perform this calculation for
>three different advancing
>angles.
I think my equations
>are pretty close but for some
>reason I am getting an error
>about not being scalar. I am
>wondering if this has to do
>with me using deg units.
>I appreciate any help anyone can
>offer. Or am willing to
>further explain the project.
>Perhaps on some form of chat
>program so I can explain the
>questions you may have. If not
>please feel free to post
>questions here.
Thankfully,
>
Russ
....................
For what's not working, we have to take the plunge from below the attached. Please don't shuffle anything like changing variable names as you did, that goes nowhere. Just word what you have in mind, attempt doing something and we will see. Once, part of a project is done, any collab can help. But if you keep changing the soup, what can we expect ? a dead rat ? wine ? cake .
So, collab will see you below Marlett.
Save and open the attached worksheet.
jmG