# FEM SolverCalculixCxxtools

Jump to navigation
Jump to search

Menu location |
---|

Solve → Solver CalculiX Standard |

Workbenches |

FEM |

Default shortcut |

Introduced in version |

- |

See also |

FEM tutorial |

## Description

CalculiXccxTools enables usage of the CalculiX solver. It may be used for:

- setting analysis parameters
- selecting working directory
- runnning the CalculiX solver

## How to use

- CalculiXccxTools object is created automatically with creation of Analysis container. Otherwise use Solve → Solver CalculiX Standard , or press S then X keys
- Optionally set data properties of the CalculiXccxTools object
- Double click on the CalculiXccxTools object
- Select type of the analysis
- Click Write .inp file
- Click Run CalculiX

## Options

By using Edit .inp file you can display and edit CalculiX input file manually before running analysis. In this case it might be useful to use parameter "Split Input Writer = true".

## Properties

Default values can be set in the menu Edit → Preferences → FEM → CalculiX

- Data
**Analysis Type**:- static
- frequency
- thermomech - for mechanical and thermal loads

- Data
**Beam Shell Result Output 3D**: note that CalculiX internally expands 1D and 2D elements into 3D elements to accomplish FE analysis- false - results of 1D and 2D elements will be averaged to the nodes of original 1D or 2D mesh (i.e. purely bended beam will show 0 nodal stresses due to averaging)
- true - resulting mesh will contain 1D and 2D elements expanded to 3D elements

- Data
**Eigenmode High Limit**: Eigenvalues above this limit will not be calculated

- Data
**Eigenmode Low Limit**: Eigenvalues below this limit will not be calculated

- Data
**Eigenmodes Count**: number of lowest eigenmodes to be calculated

- Data
**Geometric Nonlinearity**:- linear - linear analysis will be performed if model does not contain nonlinear material
- nonlinear - nonlinear analysis will be performed

- Data
**Iterations Control parameter Cutb**: defines second line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true

- Data
**Iterations Control Parameter Iter**: defines first line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true

- Data
**Iterations Control Parameter Time Use**- true - activates "Iterations Control Parameter Cutb" and "Iterations Control Parameter Iter"

- Data
**Iterations Thermo Mech Maximum**: maximum number of increments in thermomechanical analysis after which the job will be stopped.

- Data
**Iterations User Defined Incrementations**:- true - automatic incrementation control will be switched off by DIRECT parameter
- false - incrementation control will be automatic

- Data
**Iterations User Defined Time Step Length**:- true - activates "Time End" and "Time Initial Step" parameters

- Data
**Material Nonlinearity**:- linear - only linear material properties will be included in the analysis
- nonlinear - nonlinear material properties will be used from
**Nonlinear mechanical material**object

- Data
**Matrix Solver Type**: type of the solver to solve equation system inside FE analysis. It may significantly affect calculation speed and memory demands. Suitability depends on your FE model and available hardware- default - automatically selects matrix solver depending on available solvers (probably it will be Spooles)
- spooles - direct solver with support of multiple CPUs. Number of CPUs need to be set in Edit → Preferences → FEM → CalculiX → Solver defaults → Number of CPU's to use)
- iterativescaling - iterative solver with least memory demands, suitable if model contains mostly 3D elements
- iterativecholesky - iterative solver with preconditioning with and with low memory demands, suitable if model contains mostly 3D elements

- Data
**Split Input Writer**:- false - write whole input into one *.inp file to be used by CalculiX solver
- true - split solver inputs into more *.inp files, that can clarify hand editing

- Data
**Thermo Mechanical Steady State**:- true - steady state thermo mechanical analysis
- false - transient thermo mechanical analysis

- Data
**Time End**: time period of the step, used when parameter "Iterations User Defined Incrementations" or "Iterations User Defined Time Step Length" is true

- Data
**Time Initial Step**: initial time increment of the step, used when parameter "Iterations User Defined Incrementations" or "Iterations User Defined Time Step Length" is true

- Data
**Working Dir**: path to the working directory which will be used for CalculiX analysis files.

## Limitations

## Notes

Original CalculiX documentation can be found at http://dhondt.de/ in the "ccx" paragraph.

## Scripting

FEM

**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, Fluxsolver, Flow;**Solver:**Solver control, Solver run

**Results:**Purge, Show;**Postprocessing:**Apply changes, Pipeline from result, Create warp vector filter, Create scalar clip filter, Create cut filter, Create clip filter, Create data along line filter, Create linearized stresses,

Create data at point filter, Create functions

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

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

User documentation

**Installation:**Linux/Unix, Windows, Mac, Docker, AppImage;**Getting started****Basics:**About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials, Video tutorials**Workbenches:**Std Base; Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web

**Scripting:**Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units**Modules:**Builtin modules, Workbench creation, Installing more workbenches**Meshes:**Mesh Scripting, Mesh Module**Parts:**The Part Module, Topological data scripting, PythonOCC, Mesh to Part**Coin scenegraph:**The Coin/Inventor scenegraph, Pivy**Qt interface:**PySide, Using the FreeCAD GUI, Dialog creation**Parametric objects:**Scripted objects**Other:**Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting