×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# SMath Studio - Units3

## SMath Studio - Units

(OP)
I'm doing some sheets in SMath Studio and am having some difficulty with units in some of the code equations. They produce a numeric value, but, the units are not consistent within the equation.

I'm currently adding another 'coefficient' that 'neutralises' the units within the equation and eliminates them, and providing a correct unit at the end of the equation for all parts.

Does anyone know of a simpler manner of overriding SMath units?

Dik

### RE: SMath Studio - Units

Rewrite the equations with a consistent set of units and convert the inputs as necessary.

### RE: SMath Studio - Units

(OP)
Thanks... I was afraid of that...

Dik

### RE: SMath Studio - Units

(OP)
For example, the formula direct from the CSA Standard (concrete code) is Ec = (3300*sqrt(f'c)+6900)*(γ.c/2300)^1.5

where f'c is MPa, gamma is kg/m^3, c is MPa, all raised to various powers... the result is MPa. I have to introduce coefficients that render the results dimensionless and then tack on a unit.

Dik

### RE: SMath Studio - Units

(OP)
Thanks Greg... would have to introduct coef that rendered the equation as dimensionless and then add one to the end.

Dik

### RE: SMath Studio - Units

#### Quote:

Thanks Greg... would have to introduct coef that rendered the equation as dimensionless and then add one to the end.

That's what is discussed in the thread I linked. I don't have time to go through the discussion right now, but there are some alternative procedures in there.

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/

### RE: SMath Studio - Units

(OP)

#### Quote (IDS)

That's what is discussed in the thread I linked. I don't have time to go through the discussion right now, but there are some alternative procedures in there.

Yes, went through that thread... good post... and was my original solution... I was just hoping there would be an easier method. SMath, if you run your mouse cursor over the formula, yields the units, and it would be a matter of correcting for these.

Dik

(OP)

thanks, Dik

### RE: SMath Studio - Units

More bulletproof way is to make f'c and γ.c dimensionless using division by MPa and kg/m^3. It will allow to use US or SI units for definitions. Please see attached.

### RE: SMath Studio - Units

(OP)
Yakpol:
Thanks, long time no hear...

Dik

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!