Monday, August 1, 2011

Shaft Designing using MATLAB

A shaft is a rotating member, usually of circular cross section, used to transmit power or motion. It provides the axis of rotation, or oscillation, of elements such as gears, pulleys, flywheels, cranks, sprockets, and the like [Shigley’s Mechanical Engineering Design]. Main goal of a mechanical engineering for designing a shaft is to determine shaft average diameter.

In ShaftDesigning source code, user should determine design factor, stress concentration factors, Marin factors, maximum bending momentum, maximum torsion, shaft material properties and initial value for shaft diameter on the . Then the source will calculate a good approximation for shaft average diameter by fixed point method. Combination of Von Mises yield criterion and Soderberg criterion are used for dynamic designing.

ShaftSolver source code is an additional tool for calculating bending momentum and torsion on the shaft. The code also solves supports forces and plots total momentum diagram based on elements used on the shaft.

Download Shaft Solver Pack
1.83 KB - MATLAB 2008 MFiles

Tuesday, June 28, 2011

MATLAB Spring Designing Source Code

The MATLAB source code is for designing springs under static pressure load. User choose spring wire material, wire diameter range and load properties. And then by running the code, spring diameter, spring index, effective turns, critical length and pitch will be determined. The code also supports spreadsheet output.

Download SpringDesigning.m

1 KB MATLAB 2008 MFile

Saturday, April 9, 2011

TomyadAuto® Subliminal Concept

Pictures below are generated by primary rendering of Subliminal Concept with higher illumination quality. This is my first experience in using advanced surfacing tools of SolidWorks to model a concept car.



Saturday, February 5, 2011

TomyadAuto® Meson Concept

Meson concept car designing is based on new styles of swept boss feature in SolidWorks.






Wednesday, December 22, 2010

MATLAB Project

Here is the source of Drawing N Cubes function, written in MATLAB 2008. Enjoy the code and try to optimize it.



function lego(w,r,n)
%%

clf
s=0;
for i=1:n
s=s+w/2;
cubeplot(0,0,s,w)
s=s+w/2;
w=w*r;
end
view(45,30)
%%
function cubeplot(a,b,c,l)
hold on
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],l/2+c);
surf(x,y,z)
[x,y,z] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+b,(l/2)+b],-(l/2)+c);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],l/2+a);
surf(x,y,z)
[z,y,x] = meshgrid([-(l/2)+c,(l/2)+c],[-(l/2)+b,(l/2)+b],-(l/2)+a);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],l/2+b);
surf(x,y,z)
[x,z,y] = meshgrid([-(l/2)+a,(l/2)+a],[-(l/2)+c,(l/2)+c],-(l/2)+b);
surf(x,y,z)
end

end

Saturday, September 18, 2010

TJ Notepad

TJNotepad is a simple and open source java notepad for mobile phones that can open any kind of file in text mode. It is useful to view files using text reading stream.



54 KB MIDP-2.0 and CLDC-1.1

4 KB Sun NetBeans 6.7.1

Friday, September 10, 2010

TomyadAuto® Fedora Concept

Fedora is based on a new way of sketching and designing using SolidWorks. New kinds of material property are used for rendering.