|
|
Subscribe / Log in / New account

CAELinux 2020: Linux for engineering

By John Coggeshall
August 24, 2020

CAELinux is a distribution focused on computer-aided engineering (CAE) maintained by Joël Cugnoni. Designed with students and academics in mind, the distribution is loaded with open-source software that can be used to model everything from pig livers to airfoils. Cugnoni's latest release, CAELinux 2020, was made on August 11; readers with engineering interests may want to take a look.

CAELinux's first stable version was released in 2007 and was based on PCLinuxOS 2007. The distribution was created to make the GPL-licensed finite element analysis tool Salome-Meca easier to obtain. CAELinux 2020 is now the eighth release of the distribution, which is based on Xubuntu 18.04 LTS, and has expanded its focus over the years into an impressive array of open-source CAE-related tools.

The minimum requirements for CAELinux 2020 are a x86-64 platform with 4GB of RAM for "simple analysis." For professional use, the project recommends 8GB of RAM or more with a "modern AMD/NVidia graphic card." The entire distribution can be run from an 8GB USB memory drive, with the option to install it to disk (35GB minimum). For those users (like me) who wanted to run the distribution as a virtual machine, the project recommends the commercial VMware Player over the open-source VirtualBox project due to "some graphical limitations" of VirtualBox.

There are too many different software packages unique to the CAELinux distribution to cover them all in a single article. Since the distribution is built on top of Xubuntu, CAELinux comes with all of the standard tools available in the base distribution. In addition to the standard packages, however, CAELinux bundles CAE pre/post processors, CAD and CAM software, finite element solvers, computational fluid dynamics applications, circuit board design tools, biomedical image processing software, and a large array of programming language packages. A review of the release announcement provides a full list of the specific open-source projects available, including a few web-based tools that merely launch the included browser to the appropriate URL.

It would be impossible for me to claim familiarity with the full range of tools provided, but I was familiar with many. For example, FreeCAD has been written about at LWN, and CAMLab was used in our article on open-source CNC manufacturing. I have personally used other bundled packages like FlatCAM for isolation routing of homemade circuit boards and Cura to slice 3D models for printing. What was particularly neat about exploring the distribution was getting introduced to new open-source software that matched my interests. I discovered KiCad EDA's PCB Calculator utility (simple, but handy), and I am looking forward to checking out CAMotics as another CAM alternative for my CNC router.

Others are doing interesting things with CAELinux, as described in this research paper [PDF] by Kirana Kumara that was published in the International Journal of Advancements in Technology. The paper, entitled "Demonstrating the Usefulness of CAELinux for Computer Aided Engineering using an Example of the Three Dimensional Reconstruction of a Pig Liver", describes the process of taking a collection of computed tomography scan (CT scan) cross-section images of a pig liver and converting it into a three-dimensional model using tools in CAELinux 2018. The paper indicates Kumara used ImageJ to mirror and concatenate the original image collection. That data was then imported into ITK-SNAP, which is "used to segment structures in 3D medical images"; it produces a 3D model of the images provided from ImageJ. Unfortunately, CAELinux 2020 appears to have removed ITK-SNAP from its distribution and attempts to install binaries from the project didn't work due to an incompatibility with libpng. Still, interested readers may have more success building the tool from source code — or using CAELinux 2018 instead.

The testing of the distribution prior to release appears to be limited to the capabilities of Cugnoni alone, who wrote for the 2020 release:

I have checked that it works properly on all my available machines (8 PCs & laptops), from AMD Phenom X4, Intel Core2Quad to Intel Xeon E5 and AMD Threadripper servers as well as latest gen Intel I5/I7 laptops, all this with a mix of AMD, Intel or NVidia GPU.

In my review of CAELinux, it is worth mentioning that a handful of the distribution software packages did not work properly in testing. For example, the KiCAD EDA bitmap2component tool would not run for me at all. This tool is used to convert an image into a component for placement on a printed circuit board. Other packages, like JavaFoil, started with warnings about an incompatible version of Java but otherwise appeared functional. The issues seem mostly limited to the less mature, highly specialized projects; more mature projects like FreeCAD or LibreCAD ran without issue. Regardless, it would be nice if it could be reported that everything worked as expected in a distribution — especially for one that is specifically focused on these tools. In general, the distribution relies on Xubuntu for packages for the provided software; but that is not true for everything. From a security perspective, the distribution relies on Xubuntu for updates. I was able to find a bug tracker as part of the SourceForge hosting for the project, but it did not appear to be in active use.

To try out CAELinux 2020, the ISO can be obtained from the web site, though it is oddly broken into three separate segments compressed using 7-Zip. According to Cugnoni, a challenge for the 2020 release was that the base OS and software "have increased massively in size over the year", making it "nearly impossible to do something really complete within the 4Gb file size limit for regular ISO images." Overcoming this limitation was a significant effort, according to Cugnoni, and adds complexities to creating the image. Due to these complexities, the project recommends Ventoy to create a live USB drive from the image. If problems are encountered, the project has a forum available to help solve them.

This article doesn't explore every CAE-related project included in the release; readers are encouraged to try the distribution themselves. CAELinux, while somewhat flawed, is a pretty interesting Linux distribution that provides a great example of the wide variety of engineering-related open-source projects out there.



to post comments

Are there any real good arguments for special purpose Distributions like these?

Posted Aug 25, 2020 12:13 UTC (Tue) by giggls (subscriber, #48434) [Link] (1 responses)

I am very sceptic about such Debian based special purpose distributions because I usually want to use one blend of Linux on my desktop and not different ones for various purposes.

But who knows, probably the target audience are WSL folks which would not mind to run a couple of different Linux distros.

I really think the much better way to go are these so called "Debian Pure Blends". This way all users of the Debian Distribution and its derivatives like Ubuntu and friends will be able to use the software which would otherwise be just available to the users of a special purpose distro.

I am a user of Debian GIS pure Blend and the advent of this Blend made using FOSS GIS-software much easier in Debian and Ubuntu.

Are there any real good arguments for special purpose Distributions like these?

Posted Sep 3, 2020 3:50 UTC (Thu) by scientes (guest, #83068) [Link]

However these type of things, if actually used, are invaluable of collecting together socially people of the same interest in order to advance that specific use case.

Yes, the pure blends really is "the best of all possible worlds" as Leibnitz would say.

CAELinux 2020: Linux for engineering

Posted Aug 25, 2020 18:48 UTC (Tue) by darwi (subscriber, #131202) [Link] (2 responses)

IMO, the existence of such "specialty" distributions is a failure of the Linux ecosystem rather than a success....

If Linux had standardized user space API (like Android, for example), and a respectful and standardized software installation mechanism (read: not rpm/dpkg, but full-blown installers support like installing Photoshop on Windows or MacOS), then the purpose of such distributions would be moot.

Music producers work perfectly on Mac systems without "special purpose" variants, and so are engineers/scientists on Windows and so on.

CAELinux 2020: Linux for engineering

Posted Aug 25, 2020 21:25 UTC (Tue) by gerdesj (subscriber, #5446) [Link]

I can type #yay -Syu or #apt update && apt upgrade etc etc and have a fully patched system within a few minutes at most on Linux and of course the *BSDs work similarly. You can't do that on Windows or Mac. It is absolutely laughable on Windows and I've looked after a lot of those (10,000s over decades) without something like ZENworks or whatever to do the grunt work. Windows update takes so long it is painful.

I'm not sure what you have against speciality distros that showcase a bunch of stuff. Also I would not hold up PhtoShop or whatever as an example of a great install and update experience. I can install Blender, a slack handful of CAD software and office suite and a couple of RDBMs in a one liner in a couple of minutes on this laptop. On Windows you'd still be Googling for home pages and download links. Make sure you check those URLs carefully ...

CAELinux 2020: Linux for engineering

Posted Aug 28, 2020 16:52 UTC (Fri) by ratfactor (guest, #132367) [Link]

Yeah, this is such an interesting problem. I greatly prefer "general purpose" distributions which are suitable for any task.

On the other hand, it can take a serious effort to bend any given distro to be used for:

* Music production
* Desktop gaming
* Web server on a tiny virtual host

I recently gave in and started running Sparky Linux's "GameOver" edition because setting up (and maintaining!) a gaming system was just too painful in my favorite distro. I'm very happy with GameOver, but disappointed that I needed it.


Copyright © 2020, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds