Friday, September 30, 2011

Mechanical Engineering Useful Software in Linux

So, as usual, I've no wrote in this space for a long time, but today, as my daughter sleeps like a baby (10 months :P), I've got the time for some writings..
So since my last post, I've acquired a new 13" laptop to replace the good old asus eee 701, I needed a small, fast and good pc for some of my engineering work.
Just in short lines the PC is an Acer Travelmate 8371, and Linux Mint Debian Edition runs very smooth.... only one thing does not work at all, and that is the fingerprint reader, which I don't care at all.. One of the most important things for me in laptops is battery (6 hours) and suspend (all ACPI events works out of the box. Even the intel wireless card work without problems...So I'm very pleased with this little and robust machine...
So, back on the post title.... As I acquired this machine mainly for work, I started filling it up with software that I use on my day to day work (I work for a Portuguese big HVAC contractor, and own my own consulting company), and as you may think, I spend a lot of my time working...
So, starting from the basis...
1 - My desktop, the wood one, is full of interesting stuff, drawings, notes, specifications, catalogs, databooks, material samples, a real mess... so sometimes finding the calculator is hard... so I use the most powerful calculator on Linux... And that is Qcalculate (check the repositories)... Imagine this common situation for me, as manufacturers that I work with around the world all work in different units....
Pressure drop calculation:
- Heat Exchanger - 40kPa
- 3 way valve - 1 bar
- Pipes - 2 mca
etc etc...
So, normally to do this calculation and getting the result in bar, for instance, or you have a good datasheet, or you use qcalculate... just by typing....
"(40kPa+1bar+2mca) to bar" you get the fine answer "1,5960828 bars", note that the mca (column of water meters, very used here) is not one of supplied conversions, but you can program any conversion you want, Qalculate has a big database of units, currency conversion (automatic update of exchange rates), math functions, variables, phisycal constants, etc, etc.... It has capability of solving equations, plot functions, a lot of interesting stuff for you engineers to explore...


2 - So, in the CAD area, I've written a lot about this, but a list of the better ones available native:
Bricscad (Comercial, Autocad Clone),
- Varicad (3D based, for me its the best CAD software available for Linux)
Draftsight (free, Autocad Clone, but no Autolisp),
Ares Commander (the father of Draftsight, comercial, full featured),
 - Freecad (very good, sound promissing),
- QCAD (released a new version, looks a lot better and is cheap)
- Medusa4 (free personal version, very good commercial software)
And you have a lot of others, but for some reason to me are not worthy to be in this list, but here is a link to an updated regularly list of CAD software on Linux http://www.tech-edv.co.at/sl.php?058010. I recommend this list, I go there to take a look at the news very often... (thank you)
Remember that I'm writing about software that I really used or use for production purposes, so my opinions are not from a inexperienced person on this type of software.... I've been working with cad software since 1996 :)....

3 - On number 3 we have a non native Linux software, but as they support Linux through wine (and I've bought a license, cough, cough).... I'm talking about SF Pressure Drop 7.0 (7.15 version don't work) a full package software to calculate pressure drop in pipes. It has a full database of pipes, accessories, valves, etc, etc, it also has a full database of fluids (liquids and gases) with all the temperature and pressure properties, states, etc, etc. I also allows you to calculate pumps, reservoirs empty times, economical pipe diameter, etc etc.. It is very complete and deserves a look.
I finish this small review with a screenshot...


4 - I work with a lot of PDF files from OEM's, clients, tables from books, etc, etc, etc... and a lot of times I've to markup those to present to consultants, or simply to note something useful... So I'm talking about PDF annotation and manipulation.
I work with 2 software:
For Annotation I use Xournal (it's on every repository), and it allows me to do something like...

It has a shape recognizer that allow you to do straight lines, and squares, rectangles, circles, etc, etc... Files are saved with .xoj extension, and you can export them to PDF with the annotations, very useful, as it saves a lot of unnecessary printing...
For manipulation I use PDFChain (in repositories also). In the past I used PDFSam, but it is slower to work with due to the interface... So PDFChain allow me to crop, rotate, split and merge PDF's.
5 - On number 5 is Elmer+Gmsh (both on Debian Testing repositories), the software I use to make CFD calculations. I've started using them recently, and as I'm not very familiar, I'll take the option to just talk about the tricks to make them work with DXF files for complex layouts, and the rest of physical and equation stuff you will have to take a look at the software tutorials.... (beside that I'm a lot of rusty in finite element calculation)
So in the first time you draw something on draftsight for instance.... Save it as dxf.... Import it with Gmsh.... Create the mesh... and save mesh as "Mesh - Gmsh MSH (*.msh)" choose version 2 ASCII and "Save All".
Now the trick (that took me a all night to figure this out), open the generated file with a text editor and simply replace the "." (dots) with "," (commas), somehow Elmer mess things up...
Import mesh into Elmer, model the problem, and in the final you can have a result like this...

The above image represents the air speed inside a HVAC plenum, it was just a test, as the problem was not very well formulated, but you can get a idea of what this is capable...
6 - Other software that worth a look (in the repositories)
- Crunchbang - a less powerful calculator the qalculate
- Octave - Matlab Clone
- PSPP - SPSS clone (statistics) - Never tried it
- Electric - Draw electric Schematics (I've tried but I'm a mech engineer... )

So this is it for now.... and as I'm short on time, feel free to follow me on this social networks:
Twitter - @ECA_Engenharia
Identi.ca - @pirolocito
We can have a nice talk on a short spare time... And remember, linux is easy....

9 comments:

  1. Good list.

    I use CAE linux (installed system that I'm typing on now) http://www.caelinux.com/CMS/

    Mostly FEA for car parts using input solids data from Catia that my designers use. Salome pre- post- processing with Aster backend.

    I'm interested in your CFD work (I'd like to learn for plastic injection mold flow analysis). any tutorials you've found especially useful?

    if you do detailed statistics .. check out 'R'.

    ReplyDelete
  2. Encouraged each other and learn from each other,I find it is really useful for me.I will be coming back to your blog for more soon.Thanks for your sharing!
    evening party saree

    ReplyDelete
  3. I want to purchase Mechanical engineering software .I dont know from where find it and which software is gud .Please give me some direction

    ReplyDelete
  4. I found your weblog the usage of msn. That is an extremely well written article.I'll make sure to bookmark it and return to learn more of your helpful information
    salwar kameez fashion

    ReplyDelete
  5. This is a great inspiring Article.I am pretty much pleased with your good Work.You put really very helpful information .
    sherwani

    ReplyDelete
  6. i do pretty much the exact same thing, local vhosts and all. taking nightly backups of /home is easy with rsync, so when anything goes awry, i just pull down the folder from my vps. since the cronjob itself is in the folder, even my backup script gets backed up. what ide do you use?
    Party Wear Embroidered Sarees

    ReplyDelete
  7. good information thanx dear for information...
    kurta
    sherwani

    ReplyDelete
  8. That’s eyes opening and important. You clearly know so much about the subject, you’ve covered so many bases. Great stuff from this part of the internet. Again, thank you for this blog.
    hotel furniture india

    ReplyDelete
  9. This is very interesting, You are a very skilled blogger. I have joined your feed and look forward to seeking more of your fantastic post. Also, I have shared your website in my social networks! Nehru suit

    ReplyDelete

 
Made in Portugal