Dealing With CalculiX. Main principles.



What is CalculiX?

CalculiX is two programs

CCX - solver

CGX - Pre-PostProcessor

CCX looks like as one binary file (in Windows it is ccx.exe). If you will try to run it as usual (by double-click) nothing will  happen. CCX is console application with text file interface. At first you should create text file (File.INP) with mesh, named groups and input (boundary conditions) applied.
After that you can run solver from terminal emulator "ccx file". CCX will read text file and make calculation. The result will be many text files stored at the same folder. For example .FRD file will contain all results (as you will order in File.INP)

What is CGX? CGX is pre-postprcessor. What you can do with CGX?
You can run input file for preprocessing (to see and check groups of nodes, element faces and elements).
You can apply some boundary conditions (for example pressure or film coefficient for convection) with using "send" card in CGX.

When calculation is finished, you can run .FRD file for the postprocessing (to check stress, displacements and etc).

Salome-Platform And Salome-MECA

What is Salome? It is powerful open-source CAD/Mesher, developed by EDF (Electricity of France). There is a simple reason why it is open, because there are no reasons to make it proprietary. The goal of development is to design and build industrial things, which is much more expensive and important than possible income that can be obtained from proprietary software. Also the normal proportion for salespersons/developers in software industry is 9 to 1 (not any software, even perfect can be sold easily). You can take part in usage and testing and submit your issues to developer. Salome is mainly for Linux but there is experimental Windows version.

What is Salome-MECA? It is Salome-Platfrom + Code_Aster FEA package. Salome-MECA is for Linux only. There is a special Linux distribution (64 bit), called Caelinux  that combines Salome-MECA and other open-source software for engineers. You may get .ISO file from official website, from SF.NET or using this link: https://yadi.sk/d/nfKAyCsdmWME7   (md5sum fa8f1d551f0ad9ccfdb295367fc9e9cf  for caelinux2013.zip)

See all files at this shared folder: https://yadi.sk/d/Uwq053wjmWMKk

Installation:

1) Salome For Windows: download archive (from here or from official website)
Unzip it onto C:\   and double-click salome_run.bat file.
Link for old 32-bit version.

2) Salome-MECA For Linux 64 bit.
Download it from here:
http://www.code-aster.org/V2/spip.php?article303
(sometimes this link doesn't work)

Or use link below:
Salome-MECA 2015-2 (64bit) https://yadi.sk/d/XJg2pWAbkag2h
md5sum A78EAE0B1937F06CED8E7F570B05F94B

also you may get older versions (2013-2014)  
Salome-MECA 2013-1 64 bit Linux:   https://yadi.sk/d/bWAa9Ft2mZS7J

The reason why older versions can be required is that many Code_Aster  books and examples has been created for older version of Code_Aster (v10). Some commands can be changed and the old sample will require some changes in the newer versions.

Installation of Salome-MECA under Linux is very simple (because it is generally portable software). Untar archive into any folder, and ./...run it from terminal.
The process is shown in this video: https://youtu.be/sOwKyyN7Cv0

3) Caelinux Distribution. 
Under windows you can try VirtualBox or programs like that. Google for "how to install 64 bit under virtualbox" if you're going to use 64 bit. Some extra actions can be required. In this case Linux will work as normal windows program at separate window.
If you want to install it as normal fully functional OS, google for "install linux from ISO". If you have separate flash stick, use UNetBootin from SF.NET (or similar programs) to make and run it in live mode (without installation). Also you can install linux onto usb flash drive or SSD and use it from there.

How to get started?
Salome has perfect help system in English. There are video lessons at this channel https://www.youtube.com/user/calculix09
(the series of about 40 lessons from simple examples to complex models will give you good understanding of how it works).

Lesson 1 - Basic Of Salome. Extrusion: https://youtu.be/OEmWAjE_gmY
Lesson 2 - Boss and Cut Extrusion: https://youtu.be/KV13aabdLck
(bodies will be merged when you use this option)
...
Lesson 5 - Extrusion Along Path: https://youtu.be/Akppa6PwDdY
Lesson 6 - Body Of Revolution: https://youtu.be/CxpwX07m96E
Lesson 7 - Boolean Cut: https://youtu.be/LnzA0hR_JlA
...
Lesson 11 - Thicken Of Shell: https://youtu.be/NO39yV6cEVM
...
Lesson 21 - Basic Of Python Scripting: https://youtu.be/bQVxKBf37Xo
...
Lesson 29 - Code_Aster + Eficas: https://youtu.be/XNWv7N-tZzY
...
Lesson 34 - Hexahedron(i,j,k): https://youtu.be/hqjpZ4w0CUs
Lesson 35. Hexadralization With Submesh Input.  https://youtu.be/twwsa5nt16s
...
Lesson 37 - Mixed mesh (Submesh):  https://youtu.be/btGVTKxFT9I
Lesson 38 - Radial mesh: https://youtu.be/5vezL1SvChM

Many other lessons for Salome can be found on this channel.

What you can do with Salome in general? You can build any geometry (bodies and shells) and export it into STEP/IGES standard formats. Salome is little bit less efficient in terms of productivity than Solidworks or other feature-based software but you can do the same things just slower.
What else you can do with Salome? You can prepare mesh with named groups (to apply boundary conditions) and export it into many mesh formats (like .UNV, .MED, etc) or you can use Code-Aster to make calculation inside Salome-MECA.

Open meshers are less productive than commercial ones, but it do the same thing (just little bit more sensitive to your skills and experience).

There are many programs and services (like SimScale) use opensource libraries and can be used along with Salome.

Calculix Launcher

All programs comes with their own licenses WITHOUT ANY WARRANTY
read more it at official websites: http://www.calculix.de , http://gmsh.info


There is stable version of CalculiX Launcher for Ubuntu (CalculiX CCX 2.8p2+2.9 MT, with Mohr Coulomb user model for testing). You may obtain it here:

Launcher-02 for Linux (Ubuntu tested) 64 bit
@Google Drive: https://drive.google.com/file/d/0B5Gr1RAbtb2KTXFYMk5vVFFBLUk/view?usp=sharing

@Yandex Drive: https://yadi.sk/d/3rlAn4qAoR8RE
md5sum
fb6a7f31a889a9075511674ab99187b8  CalculiXLauncher-02.zip


Launcher-02 for Linux (Ubuntu tested) 32 bit
@Google Drive: https://drive.google.com/file/d/0B5Gr1RAbtb2KYzRNQVBleTZWWjA/view?usp=sharing
@Yandex Drive: https://yadi.sk/d/rzrlboOwodv2M

md5sum
91a3c30425e867bcc6bae6dbe3e1a6d8  CalculiXLauncher-02-linux32.zip

 
Launcher-02 for Windows 32-64 bit.
@Google Drive:   https://drive.google.com/file/d/0B5Gr1RAbtb2KRjQ5aGJ1MUctaTg/view?usp=sharing

@Yandex Drive: https://yadi.sk/d/x80dsuHIoR7j8

md5sum
a8fd3053333d7c79826e72610ddb9020  CalculiXLauncher2_win.zip



Installation and usage (videos).





________________________________________________


Salome-MECA 64-bit for Linux can be downloaded here:
https://yadi.sk/d/XJg2pWAbkag2h
md5sum A78EAE0B1937F06CED8E7F570B05F94B
tgz with Linux run file (just ./run it to install)

Salome-MECA 2013-1 32 bit for Linux
https://yadi.sk/d/bWAa9Ft2mZS7J
md5sum c64a303e33607cb376dd21e95ed8057c
Salome for Windows (64 bit)
md5sum 5A1B19A27905AE540DD4731500A31FE3
Windows exe archive (just unzip it to C:\ and run salome_run.bat file)

Read more about Salome here.
________________________________________________

Updates (16/03/17) - CCX2.10 linux 32&64 bit

Elmer-FEM vs CalculiX - Simple Static Problem

Get the files at Google-Drive


1. In this lesson we will use geometry in .STEP file. There is a steel cantilever (E=29e6 psi) with 1500 lb applied to the tip as pressure directed along Y axis. See this first: http://youtu.be/FIKBtefm-es

2. Elmer uses Opencascade kernel to deal with STEP and when you will open the model, all dimensions will be scaled to millimeters although you use something different when saving. In this problem we will use Imperial units and scaling factor=0.03937 (1/25.4) to scale initial mesh coordinates to "inches". I am adding this line to the "Free text" at the "Simulation" section of .sif file

3. Default type of elements in Elmer is linear one, what is giving weird results even for good meshing.
It is why we need to add "element=p:2" to the "solver" section of .sif file. I am doing it manually in this sample. Also I am correcting Young's modulus to be counted in "psi" to be compatible with "inches". Other values and constants doesn't necessarily to be changed (for static problem).
In this example I use "Direct Solver" for linear solution and 1 iteration at "Nonlinear" section (steady state, linear). Specially for Elmer you need to follow log file when making solution to be sure that it is converged. Otherwise the results can be weird.

4. Elmer GUI is still in development and it saves all data in the xml file. When you corrected .sif file manually and save it, it will come back to previous state when you will load your project again from xml file. Sometimes it can be hard to figure out what is happen. Check .sif file every time before running solver, because solver uses just .sif , not xml. Learn Elmer Model Manual of actual version for command language and use it.
Elmer is good and correct scientific software but it requires some knowledge about console applications principles, to be successful with it.




Elmer-FEM Getting Started

1. Create the model in Freecad and export as step
2. Run Elmer-FEM, open the .STEP file and mesh it
3. Apply equation, material and boundary conditions
4. Edit .sif file. Coordinate scaling =0.001 is because Opencascade kernel is always transfer .step into "mm", but we use SI units and need "meters". "Element=p:2" is for using second order p-elements and avoid weird results
5. Run Solution
6. Run Post-processor and check results
7. Profit



Files at Google Drive