Programming in mechanical engineering

AI Thread Summary
Programming knowledge is increasingly valuable in mechanical engineering, particularly in fields like machine design, robotics, and computational fluid dynamics (CFD). While basic programming skills are often sufficient for routine tasks, developing complex algorithms can enhance problem-solving capabilities in engineering applications. The industry has shifted away from custom software development towards established commercial analysis tools, though niche problems still require tailored software solutions. Engineers proficient in legacy programming languages, such as Fortran, are highly sought after due to the continued use of older software systems. Overall, strong programming skills can significantly benefit a mechanical engineer's career, especially in research and advanced computational roles.
etotheix
Messages
21
Reaction score
0
Hi,

I have a general question related to the mechanical engineering profession.

I am a second year mechanical engineering student and I also have a college degree in computer science, my skills are mainly C/C++ programming and networking/Linux environment (system administration).

I love both fields, basically what I want to know is : are there in mechanical engineering fields that require good programming knowledge? In other words, is it a good asset to have? Or is it more used in research projects?

I am not talking about using basic MATLAB functions, but maybe something along the lines of developing fast and effective algorithms to solve complex engineering problems.

Thanks in advance.
 
Engineering news on Phys.org
Machine design and robotics programming. You would need basic logic skills to program things like Allen Bradley Mircologix PLCs (example). The more complex the machinery that needs to be automated, the more complex the PLC program.
 
Commercial structural analysis software is now a mature industry in itself. If you want to work "full time" on improving software to solve "mainstream" problems yuo probably need to be working for a company like MSC (Nastran), HKS (Abaqus), etc.

20 or 30 years ago that was not necessarily the case, and high tech companies sometimes wrote their own analysis software "from scratch" to do things that were beyond the state of the art of the commercial programs (been there, done that!) but that is pretty much dead now.

On the other hand there are always "niche market" problems that need to be solved that invove smaller scale software development, and (as the other answer said) there is embedded software. Even if you are mainly using Matlab, using it efficiently can make a huge difference to what you can achieve.

You might be better thinking about CFD rather than solid mechanics. CFD software is catching up with mechanical in terms of maturity and "idiot proof" handling of complex problems, but it's still 10 or 20 years behind mechanical analysis IMO.

Another option would be to go right to the leading/bleeding edge of so-called multiphysics problems, in a research environment rather than a "traditional" engineering company.
 
Thanks a lot for the answers! CFD looks very interesting I will defenitely try to learn more about it.
 
AlephZero said:
...20 or 30 years ago that was not necessarily the case, and high tech companies sometimes wrote their own analysis software "from scratch" to do things that were beyond the state of the art of the commercial programs (been there, done that!) but that is pretty much dead now...

We are still working with computer programs originally written (in Fortran) in the 1960s, though they have been modified from time to time since then. Engineers who can work with these old codes are worth their weight in gold.

Some of these have had user interfaces (in C++) grafted onto them.
 
Posted June 2024 - 15 years after starting this class. I have learned a whole lot. To get to the short course on making your stock car, late model, hobby stock E-mod handle, look at the index below. Read all posts on Roll Center, Jacking effect and Why does car drive straight to the wall when I gas it? Also read You really have two race cars. This will cover 90% of problems you have. Simply put, the car pushes going in and is loose coming out. You do not have enuff downforce on the right...
Thread 'Physics of Stretch: What pressure does a band apply on a cylinder?'
Scenario 1 (figure 1) A continuous loop of elastic material is stretched around two metal bars. The top bar is attached to a load cell that reads force. The lower bar can be moved downwards to stretch the elastic material. The lower bar is moved downwards until the two bars are 1190mm apart, stretching the elastic material. The bars are 5mm thick, so the total internal loop length is 1200mm (1190mm + 5mm + 5mm). At this level of stretch, the load cell reads 45N tensile force. Key numbers...
I'm trying to decide what size and type of galvanized steel I need for 2 cantilever extensions. The cantilever is 5 ft. The space between the two cantilever arms is a 17 ft Gap the center 7 ft of the 17 ft Gap we'll need to Bear approximately 17,000 lb spread evenly from the front of the cantilever to the back of the cantilever over 5 ft. I will put support beams across these cantilever arms to support the load evenly
Back
Top