FEM SolverCalculixCxxtools: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
{{UnfinishedDocu}}
<translate>
<translate>

<!--T:35-->
{{Docnav
|[[FEM_FemMesh2Mesh|FEM mesh to mesh]]
|[[FEM_SolverCalculiX|Solver CalculiX (experimental)]]
|[[FEM_Module|FEM]]
|IconL=FEM_FemMesh2Mesh.svg
|IconR=FEM_SolverCalculiX.svg
|IconC=Workbench_FEM.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=FEM Solver|MenuLocation=Solve → Solver CalculiX Standard||Workbenches=[[FEM Module|FEM]]|Shortcut=|SeeAlso=[[FEM_tutorial|FEM tutorial]]}}
|Name=FEM SolverCalculixCxxtools
|MenuLocation=Solve → Solver CalculiX Standard
|Workbenches=[[FEM_Module|FEM]]
|Shortcut={{KEY|S}} {{KEY|X}}
|SeeAlso=[[FEM_tutorial|FEM tutorial]]
}}


==Description== <!--T:4-->


<!--T:11-->
==Description==
[[FEM SolverCalculixCxxtools|CalculiXccxTools]] enables usage of the [https://en.wikipedia.org/wiki/Calculix CalculiX] solver. It may be used for:
# Setting analysis parameters
# Selecting working directory
# Running the CalculiX solver


==Usage== <!--T:5-->


<!--T:12-->
==How to use==
# [[Image:FEM_SolverCalculixCxxtools.svg|24px]] [[FEM_SolverCalculixCxxtools]] object is created automatically with creation of {{KEY|[[Image:FEM_Analysis.svg|24px]] [[FEM_Analysis|Analysis container]]}}. Otherwise use {{KEY|Solve}} → {{KEY|Solver CalculiX Standard}} , or press {{KEY|S}} then {{KEY|X}} keys
# Optionally set data properties of the {{KEY|[[Image:FEM_SolverCalculixCxxtools.svg|24px]] CalculiXccxTools}} object
# Double click on the {{KEY|[[Image:FEM_SolverCalculixCxxtools.svg|24px]] CalculiXccxTools}} object
# Select type of the analysis
# Click {{KEY|Write .inp file}}
# Click {{KEY|Run CalculiX}}


==Options== <!--T:6-->


<!--T:13-->
==Options==
By using {{KEY|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== <!--T:7-->


<!--T:14-->
==Properties==
Default values can be set in the menu {{MenuCommand|Edit → Preferences → FEM → CalculiX}}


<!--T:15-->
* {{PropertyData|Analysis Type}}:
** static
** frequency
** thermomech - for mechanical and thermal loads
** check - to check only the mesh {{Version|0.19}}


<!--T:16-->
==Limitations==
* {{PropertyData|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


<!--T:17-->
* {{PropertyData|Eigenmode High Limit}}: Eigenvalues above this limit will not be calculated; '''Note''': if eigenvalues of the model are above the high limit, CalculiX will finish without output


<!--T:18-->
==Notes==
* {{PropertyData|Eigenmode Low Limit}}: Eigenvalues below this limit will not be calculated


<!--T:19-->
* {{PropertyData|Eigenmodes Count}}: number of lowest eigenmodes to be calculated


<!--T:20-->
==Scripting==
* {{PropertyData|Geometric Nonlinearity}}:
** linear - linear analysis will be performed if model does not contain nonlinear material
** nonlinear - nonlinear analysis will be performed


<!--T:21-->
* {{PropertyData|Iterations Control parameter Cutb}}: defines the second line of [http://www.dhondt.de/ccx_2.17.pdf#subsection.8.24 CalculiX' advanced iteration parameters]. Used if {{PropertyData|Iterations Control Parameter Time Use}} is set to ''true''.


<!--T:22-->
* {{PropertyData|Iterations Control Parameter Iter}}: defines the first line of [http://www.dhondt.de/ccx_2.17.pdf#subsection.8.24 CalculiX' advanced iteration parameters]. Used if {{PropertyData|Iterations Control Parameter Time Use}} is set to ''true''.

<!--T:23-->
* {{PropertyData|Iterations Control Parameter Time Use}}
** true - activates {{PropertyData|Iterations Control parameter Cutb}} and {{PropertyData|Iterations Control Parameter Iter}}
** false

<!--T:24-->
* {{PropertyData|Iterations Thermo Mech Maximum}}: maximum number of increments in thermomechanical analysis after which the job will be stopped.

<!--T:25-->
* {{PropertyData|Iterations User Defined Incrementations}}:
** true - automatic incrementation control will be switched off by DIRECT parameter
** false - incrementation control will be automatic

<!--T:26-->
* {{PropertyData|Iterations User Defined Time Step Length}}:
** true - activates {{PropertyData|Time End}} and {{PropertyData|Time Initial Step}} parameters
** false

<!--T:27-->
* {{PropertyData|Material Nonlinearity}}:
** linear - only linear material properties will be included in the analysis
** nonlinear - nonlinear material properties will be used from {{KEY|[[Image:FEM_MaterialMechanicalNonlinear.svg|24px]] '''[[FEM_MaterialMechanicalNonlinear|Nonlinear mechanical material]]'''}} object

<!--T:28-->
* {{PropertyData|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 {{MenuCommand|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

<!--T:29-->
* {{PropertyData|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

<!--T:30-->
* {{PropertyData|Thermo Mechanical Steady State}}:
** true - steady state thermo mechanical analysis
** false - transient thermo mechanical analysis

<!--T:31-->
* {{PropertyData|Time End}}: time period of the step, used when parameter {{PropertyData|Iterations User Defined Incrementations}} or {{PropertyData|Iterations User Defined Time Step Length}} is ''true''

<!--T:32-->
* {{PropertyData|Time Initial Step}}: initial time increment of the step, used when parameter {{PropertyData|Iterations User Defined Incrementations}} or {{PropertyData|Iterations User Defined Time Step Length}} is ''true''

<!--T:33-->
* {{PropertyData|Working Dir}}: path to the working directory which will be used for CalculiX analysis files.

==Limitations== <!--T:8-->

<!--T:39-->
When running a CalculiX, you might end up with '''error 4294977295'''. This means you don't have enough RAM space. You have then 2 options:
# reduce the number of mesh nodes, preferably by omitting geometry that is not absolutely necessary for your analysis
# buy more RAM for your PC

==Notes== <!--T:9-->

<!--T:34-->
Original CalculiX documentation can be found at http://dhondt.de/ in the "ccx" paragraph.

==Scripting== <!--T:10-->


<!--T:36-->
{{Docnav
|[[FEM_FemMesh2Mesh|FEM mesh to mesh]]
|[[FEM_SolverCalculiX|Solver CalculiX (experimental)]]
|[[FEM_Module|FEM]]
|IconL=FEM_FemMesh2Mesh.svg
|IconR=FEM_SolverCalculiX.svg
|IconC=Workbench_FEM.svg
}}


</translate>
</translate>
{{FEM Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}
<languages/>

Revision as of 20:01, 1 April 2021

FEM SolverCalculixCxxtools

Menu location
Solve → Solver CalculiX Standard
Workbenches
FEM
Default shortcut
S X
Introduced in version
-
See also
FEM tutorial

Description

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

  1. Setting analysis parameters
  2. Selecting working directory
  3. Running the CalculiX solver

Usage

  1. FEM_SolverCalculixCxxtools object is created automatically with creation of Analysis container. Otherwise use SolveSolver CalculiX Standard , or press S then X keys
  2. Optionally set data properties of the CalculiXccxTools object
  3. Double click on the CalculiXccxTools object
  4. Select type of the analysis
  5. Click Write .inp file
  6. 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

  • DataAnalysis Type:
  • DataBeam 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
  • DataEigenmode High Limit: Eigenvalues above this limit will not be calculated; Note: if eigenvalues of the model are above the high limit, CalculiX will finish without output
  • DataEigenmode Low Limit: Eigenvalues below this limit will not be calculated
  • DataEigenmodes Count: number of lowest eigenmodes to be calculated
  • DataGeometric Nonlinearity:
    • linear - linear analysis will be performed if model does not contain nonlinear material
    • nonlinear - nonlinear analysis will be performed
  • DataIterations Control Parameter Time Use
    • true - activates DataIterations Control parameter Cutb and DataIterations Control Parameter Iter
    • false
  • DataIterations Thermo Mech Maximum: maximum number of increments in thermomechanical analysis after which the job will be stopped.
  • DataIterations User Defined Incrementations:
    • true - automatic incrementation control will be switched off by DIRECT parameter
    • false - incrementation control will be automatic
  • DataIterations User Defined Time Step Length:
    • true - activates DataTime End and DataTime Initial Step parameters
    • false
  • DataMaterial Nonlinearity:
    • linear - only linear material properties will be included in the analysis
    • nonlinear - nonlinear material properties will be used from Nonlinear mechanical material object
  • DataMatrix 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
  • DataSplit 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
  • DataThermo Mechanical Steady State:
    • true - steady state thermo mechanical analysis
    • false - transient thermo mechanical analysis
  • DataTime End: time period of the step, used when parameter DataIterations User Defined Incrementations or DataIterations User Defined Time Step Length is true
  • DataTime Initial Step: initial time increment of the step, used when parameter DataIterations User Defined Incrementations or DataIterations User Defined Time Step Length is true
  • DataWorking Dir: path to the working directory which will be used for CalculiX analysis files.

Limitations

When running a CalculiX, you might end up with error 4294977295. This means you don't have enough RAM space. You have then 2 options:

  1. reduce the number of mesh nodes, preferably by omitting geometry that is not absolutely necessary for your analysis
  2. buy more RAM for your PC

Notes

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

Scripting