Nov 232009
 

Just released is Affinity for the iPhone.

***NOTE:   THIS APPLICATION HAS NOT BEEN TESTED ON THE iPod Touch — IT HAS ONLY BEEN TESTED ON THE iPhone 3GS***

There are two (2) calculators in this application.  These calculators are based on the affinity laws for centrifugal pumps.  You have the ability to calculate the flow rate, head, horsepower and cost to operate a centrifugal pump by varying the pump shaft speed or the impeller diameter.  You can enter the operational time in days and hours.

I would suggest utilizing the performance curves from the manufacturer so you can determine what your pump efficiency will be at the operating parameters.  As always, consult your vendor with the results obtained to ensure you have selected the correct pump, impeller, mechanical seal, bearings, motor, etc. to ensure you are getting the right pump for your application.

Please leave feedback regarding this application.  We will take this information into account for the future updates.

Affinity Screen Shot 1

Affinity Screen Shot 1

Affinity Screen Shot 2

Affinity Screen Shot 2

 Posted by at 7:53 am
Nov 162009
 

Here is a handy tip that I came across. If you need to close the keyboard after a user enters the details in the text field all you have to do is addto your .h file and add this code to your .m file.

Add this to your .h file:

@interface WhatEverViewController : UIViewController {
IBOutlet UITextField * firstTextField;
IBOutlet UITextField * secondTextField;
IBOutlet UITextField * doneButtonPressed;
}

@property (nonatomic, retain) IBOutlet UITextField * firstTextField;
@property (nonatomic, retain) IBOutlet UITextField * secondTextField;
@property (nonatomic, retain) IBOutlet UITextField * doneButtonPressed;

@end

Add this to your .m file:

@synthesize firstTextField, secondTextField, doneButtonPressed;

– (BOOL)textFieldShouldReturn:(UITextField *)doneButtonPressed {
NSLog(@”Keyboard Done Pressed”);

[doneButtonPressed resignFirstResponder];

return YES;
}

Thanks to megatron.

 Posted by at 6:48 pm
Nov 152009
 

Using Core Animation you can crossfade between two images.  The image on top is image1 and the bottom image is image2.

//This will fade image2 into image1 whenever it is called.
- (void) crossfade {
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:.5];
    imageView1.alpha = !imageView1.alpha;
    [UIView commitAnimations];
}
//  This will remove the 1st image and fade into the 2nd.
- (void) crossfade {
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationDuration:.5];
    [UIView setAnimationDelegate:imageView1];
    [UIView setAnimationDidStopSelector:@selector(removeFromSuperview)];
    imageView1.alpha = 0
    [UIView commitAnimations];
}
 Posted by at 4:05 pm
Nov 152009
 

//  Here is the code, referenced from iphonedevelopertips site

- (void) loadImageInBackground
{
  NSURL *url = [NSURL URLWithString:
     @"http://iphonedevelopertips.com/images/logo-iphone-dev-tips.png"];

  // Assume image is an instance variable
  image = [[UIImage imageWithData: [NSData dataWithContentsOfURL:url]] retain];
}

...

[NSThread detachNewThreadSelector:@selector(loadImageInBackground)
   toTarget:self withObject:nil];

...

[self.view addSubview:[[UIImageView alloc] initWithImage:image]];

//  Here is the reference link
//  http://iPhoneDeveloperTips.com/cocoa/download-and-create-an-image-from-a-url.html
 Posted by at 2:42 pm
Oct 222009
 

Orifice has just been released for the iPhone.

***This application has been tested on the iPhone version 3.0 only.  This application has not been tested on the iPod touch although this does not mean that it will not work.***

There are three (3) calculators in this square edge orifice sizing application for liquid service.  You have the ability to calculate either the volumetric flow rate, the orifice size or the delta P across the orifice.  This allows you to crunch numbers quickly for preliminary sizing purposes.  As always, consult your vendor with the results obtained to ensure you have selected the correct orifice.  You can use the resulting beta and Reynolds numbers to fine tune the calculation by using the correct flow coefficient.

Please leave feedback regarding this application at our support site.  We will take this information into account for the future updates.

Orifice Calc

Orifice Calc

Orifice Calc

Orifice Calc

Orifice Calc

Orifice Calc

 Posted by at 5:52 pm
Oct 222009
 

Gas Density has been released for the iPhone.

Here is a great tool for the working professional, physicist, chemist, scientist, engineer and student.

This application allows you to calculate a gas/vapor density.  All you have to do is enter the molecular weight, temperature and pressure and click the calculate button.  It’s that easy!

If you like this application please leave feedback regarding this application at our support site.  We will take this information into account for the future updates.

Gas Density

Gas Density

 Posted by at 5:49 pm
Sep 302009
 

Control Valve for the iPhone has been released.

Here is another indispensable tool for the working professional or engineering student.

There are four (4) calculators in this control valve sizing application.  You have the ability to calculate either the volumetric flow rate or the Cv of the valve for both liquid and gas service.  This allows you to crunch numbers quickly for preliminary sizing purposes.  As always, consult your vendor with the results obtained to ensure you have selected the correct valve, trim, etc.

For the liquid sizing tabs you will need to enter in the liquid flow rate, pressure drop across the valve and the specific gravity.  The application will calculate the valve Cv along with recommending the actual manufacturer’s Cv based on a ratio of 1.25 to 2 times the calculated Cv.  In order to determine the liquid flow rate just enter the Cv, specific gravity and the pressure drop across the valve.

For the gas sizing tabs you will need to enter in the gas flow rate, the molecular weight of the gas, the inlet and outlet pressures on the valve and the temperature.  The application will calculate the valve Cv along with recommending the actual manufacturer’s Cv based on a ratio of 1.25 to 2 times the calculated Cv.  In order to determine the liquid flow rate just enter the Cv in lieu of the flow rate, the molecular weight of the gas, the inlet and outlet pressures on the valve and the temperature.

Please leave feedback regarding this application at our support site.  We will take this information into account for the future updates.

Control Valve

Control Valve

Control Valve

Control Valve

Control Valve

Control Valve

Control Valve

Control Valve

 Posted by at 6:07 pm