Re: pressure and fortran



In article <86ulj7Ff3dU1@xxxxxxxxxxxxxxxxxx>, Uno <merrilljensen@xxxxx>
wrote:

implicit none

real :: mile_in_feet, atm_per_mile, atmos

mile_in_feet = 5280

This is feet per mile, right?

atm_per_mile = 32.808399169

This is feet per atmosphere, right?


atmos = mile_in_feet / atm_per_mile

This is atmospheres per mile, right? Your variable names are a little
confusing.


print *, "atmos is ", atmos

endprogram
! gfortran -Wall -Wextra p1.f90 -o out.exe

q1) Consider a half-inch copper pipe. Temperature is constant. If you
ran it for a minute into a pool, you would get a certain volume, say, x.
If you ran it for a minute at 32.8 ft below water level, what volume
of spewed water results?

You cannot know. If the pressure within the pipe is greater than the
pressure at 32.8 ft, then the liquid will continue to flow, but at a
slower rate. If the pressure within the pipe is less than the pressure
at 32.8 ft, then it will flow in the opposite direction.

So you need an additional important piece of information to answer the
question.

q2) How would this vary if salt were added in the amounts of the gulf
of mexico?

You need to look up the density of sea water and compare that to fresh
water. You can then determine the feet per atmosphere of pressure for
sea water, and that should give you enough info to answer the question.

$.02 -Ron Shepard
.



Relevant Pages

  • Re: Modest Proposal - Common Interplanetary Booster
    ... the idea of using Mars water and a solar or nuclear power ... Pressurizing the mars atmosphere to grow crops would also ... atmosphere to Earth normal pressure, in two days, and keep it there. ...
    (sci.space.policy)
  • Re: world with less air pressure - survivable?
    ... provides a great pressure garment - you don't "explode in a vacuum", ... At 37 deg-C, the vapor pressure of water is 0.07 Atm, ... Why do you think a lower-density or lower-pressure atmosphere would ... but also the atmospheric temperature gradient. ...
    (rec.arts.sf.science)
  • Re: Basic submarine question....
    ... they might be "micro bubbling" or higher pressure ... The Henry's Law constant for hydrogen is 0.00078 mol/kg bar ... 100 feet depth is 0.003-0.004 mol/kg. ... In colder or deeper water, ...
    (sci.military.naval)
  • Re: Reply to Eric Rowley -- Ozone
    ... Where did you get this idea that the water vapor caused ... other than you claiming that pressure causes high temperatures." ... the temperature would have been thousands of degrees. ... of the planet up there in the atmosphere. ...
    (talk.origins)
  • Re: O2
    ... I suspect what you are missing is that the atmosphere *is* confined... ... except for the mass of the atmosphere being constant. ... Imagine the atmosphere as water in a 5m length x 10m width x 2 meter ... Now, ignoring pressure of the ...
    (rec.aviation.student)