# FEM CalculiX

## Introduction

### Prefață

Această pagină colectează toate informațiile despre solver CalculiX [CalculiX], cel mai utilizat și cel mai bine dezvoltat solver din modulul FEM. În funcție de sistemul de operare pe care îl lucrați cu dvs., trebuie să instalați mai întâi CalculiX. Verificați FEM Install.

The solver is able to do linear and non-linear calculations, for static, dynamic, and thermal problems. The solver operates on an Abaqus input file (`.inp`

), which means it can be used with different pre-processors that support this format. The program includes its own graphical preprocessor which, however, is not used by FreeCAD, only the solver itself.

CalculiX is designed to run on Unix platforms like Linux and Irix computers but also on MS-Windows. CalculiX was developed by engineers from MTU Aero Engines, Munich, Germany, to assist them in designing machinery such as jet turbines. The software is currently released to the public on the terms of the GPL version 2.

## Integration with FreeCAD

### Interfața

Interacțiunea dintre modulul FEM și CalculiX se face prin fișiere text. Modulul FEM scrie un fișier de intrare CalculiX, pornește CalculiX, înregistrează ieșirea CalculiX și citește fișierele de ieșire ale CalculiX dacă acestea sunt disponibile. Instrumentul FEM Control Solver gestionează întregul proces. Interacțiunea cu utilizatorul în acest proces este posibilă.

- A CalculiX input file is created with details required to run the simulation
- The CalculiX solver is started with this input file
- The output from the solver is logged
- The output files from the solver are read, if they are available

The FEM Control Solver tool manages the whole process. User interaction in the process is possible.

## Preprocessing interface

The input file that CalculiX uses can be prepared and edited before the solver is started. The units used in the input file are independent of the units set in FreeCAD; they will always be millimeters (mm) and Newton (N).

*(ToDo: check this. What happens with the mesh if inch is used in FreeCAD? As density was introduced, with this we have kg and s and no longer N?! how about this?!)*

The CalculiX interface supports the following objects:

### FEM Elements

- Tet4 and Tet10
- S3 and S6
- B31 and B32
- and those described in FEM Mesh CalculiX

### Analysis

- Linear static analysis
- Frequency analysis
- Coupled thermal-structural analysis

### Materials

- One linear elastic isotropic material (uniformity in all directions)
- Multiple material use is in development

## Postprocessing interface

#### Interfață postprocesare

citiți stresul rezultat (Von Mises) și toate deplasările

Reaction forces can be found in ccx_dat_file which contains reaction force components (fx, fy, fz) for each Constraint fixed and for each Constraint displacement which constrains translation degrees of freedom.

## Related

- FEM Mesh CalculiX
- CalculiX preferences dialog menu in the FEM Workbench preferences menu

**Materials:**Solid, Fluid, Nonlinear mechanical; Material editor

**Element geometry:**Beam (1D), Beam rotation (1D), Shell (2D), Fluid flow (1D)

**Constraints**

**Electrostatic:**Potential

**Fluid:**Initial velocity, Fluid boundary, Flow velocity

**Mechanical:**Fixed, Displacement, Plane rotation, Contact, Transform, Force, Pressure, Self weight, Bearing, Gear, Pulley

**Thermal:**Initial temperature, Heat flux, Temperature, Heat source

**Solve:**Calculix tools, CalculiX, Elmer, Z88;**Equations:**Heat, Elasticity, Electrostatic, Flux, Flow;**Solver:**Solver control, Solver run

**Results:**Purge, Show;**Postprocessing:**Apply changes, Pipeline from result, Warp filter, Scalar clip filter, Function cut filter, Region clip filter, Line clip filter, Stress linearization plot, Data at point clip filter, Create functions

**Utilities:**Clipping plane, Remove clipping planes; Mesh clear, Mesh display info

**Additional:**Preferences; FEM Install, FEM Mesh, FEM Solver, FEM CalculiX, FEM Concrete; FEM Element Types