Hi Folks, new here as it's a bit out of my usual realm of expertise - but hoping for a little help.
I've been commissioned to develop an Java software applet for a client to calculate the 'minimum allowable wall thickness' for pipework in petroleum and gas production and transport facilities.
I'll be handing it over to a qualified Engineer once its functional for proper definition of the applied formulas (so please don't worry that I'll be determining risk without qualified input LOL) but I need to set-up the database and the basic calculations first.
So, I understand the application of Barlows Formula, though I'm not sure the copies I have of it are totally accurate and I don't have ASME B31 standards to hand, so first point is - does anyone have a a handy document detailing the formula for MWT (obviously for pressure containment and structural integrity)?
Additionally, the client will be less than pleased if he has to enter all the data individually, so I need to make sure he has all the relevant info plugged into his materials-library already. To that end I guess I need the tables of pressures etc. for all of the ASTM grades and schedules ... is that right? Each of the clients material-library- entries will need then to simply state the ASTM grade and schedule (again, I think I'm right?).
The process would then be: Take the pipe id - locate its library entry for ASTM and then look-up that ASTM grade and diameter combination in my look-up table to get the design pressure yeild etc.
Is there any easily accessible source for these tables other than ordering the standards themselves (i.e. a cut down version I can use to bulk out the tables I need to create)?
Any other recommendations would be gratefully received(keep it clean though LOL).