FEM SolverCalculixCxxtools/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav|[[FEM_FemMesh2Mesh|FEM mesh to mesh]]|[[FEM_SolverCalculiX|Solver CalculiX]]|[[FEM_Module|FEM]]|IconL=FEM_FemMesh2Mesh.png|IconC=Workbench_FEM.svg|IconR=Fem-solver.svg}}


<div class="mw-translate-fuzzy">
{{GuiCommand/ru|Name=FEM Solver|Name/ru=FEM Solver|MenuLocation=FEM → Solver Calculix||Workbenches=[[FEM Module/ru|FEM]]|Shortcut=|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]}}
{{Docnav/ru
|[[FEM_FemMesh2Mesh/ru|FEM mesh to mesh]]
|[[FEM_SolverCalculiX/ru|Solver CalculiX]]
|[[FEM_Workbench/ru|FEM]]
|IconL=FEM_FemMesh2Mesh.svg
|IconR=FEM_SolverCalculiX.svg
|IconC=Workbench_FEM.svg
}}
</div>


<div class="mw-translate-fuzzy">
==Description==
{{GuiCommand/ru
|Name=FEM SolverCalculixCxxtools
|Name/ru=FEM Solver
|MenuLocation=Solve → Solver CalculiX Standard
|Workbenches=[[FEM_Workbench/ru|FEM]]
|Shortcut={{KEY|S}} {{KEY|X}}
|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]
}}
</div>


<span id="Description"></span>
CalculiXccxTools enable to use [http://dhondt.de/ CalculiX] solver. You can use it to
==Описание==
# set analysis parameters
# select working directory
# run the CalculiX solver.


[[FEM_SolverCalculixCxxtools|CalculiXccxTools]] enables usage of the [https://en.wikipedia.org/wiki/Calculix CalculiX] solver. It may be used for:
==How to use==
# Setting analysis parameters
# Selecting working directory
# Running the CalculiX solver


<span id="Usage"></span>
# {{KEY|[[Image:FEM_Solver.png|24px]] CalculiXccxTools}} object is created automatically with creation of {{KEY|[[Image:FEM_Analysis.png|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_Solver.png|24px]] CalculiXccxTools}} object
# Double click on the {{KEY|[[Image:FEM_Solver.png|24px]] CalculiXccxTools}} object
# Select type of the analysis
# Click {{KEY|Write .inp file}}
# Click {{KEY|Run CalculiX}}


# A [[Image:FEM_SolverCalculixCxxtools.svg|16px]] CalculiXcxxTools solver object is created automatically with the creation of an [[Image:FEM_Analysis.svg|16px|link=FEM_Analysis]] [[FEM_Analysis|Analysis container]].<br>To create it manually, use one of the following alternatives:
==Options==
#* Press the {{Button|[[Image:FEM_SolverCalculixCxxtools.svg|16px]] [[FEM_SolverCalculixCxxtools|Solver CalculiX Standard]]}} button.
#* Select {{MenuCommand|Solve → [[Image:FEM_SolverCalculixCxxtools.svg|16px]] Solver CalculiX Standard}} from the menu.
#* Press the {{KEY|S}} then {{KEY|X}} shortcut keys.
# Optionally change the properties of the [[Image:FEM_SolverCalculixCxxtools.svg|16px]] CalculiXcxxTools solver object in the [[Property_editor|Property editor]].
# Double click the [[Image:FEM_SolverCalculixCxxtools.svg|16px]] CalculiXcxxTools solver object.
# Select the {{MenuCommand|Analysis type}}.
# Click the {{Button|Write .inp file}} button.
# Click the {{Button|Run CalculiX}} button.


<span id="Options"></span>
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".
==Опции==


Click the {{Button|Edit .inp file}} button to display and edit the CalculiX input file manually before running the analysis. In that case it can be useful to set the {{PropertyData|Split Input Writer}} property to {{True}}.
==Properties==


<span id="Properties"></span>
Default values can be set in the menu {{KEY|Edit}} → {{KEY|Preferences}} → {{KEY|FEM}} → {{KEY|CalculiX}}
==Свойства==

Default values can be set in the menu {{MenuCommand|Edit → Preferences → FEM → CalculiX}}


* {{PropertyData|Analysis Type}}:
* {{PropertyData|Analysis Type}}:
** static
** static - static stress analysis
** frequency
** frequency - modal (natural frequency) analysis
** thermomech - for mechanical and thermal loads
** thermomech - thermo-mechanical analysis
** check - no calculation, performs input deck checks
** buckling - linear buckling analysis {{Version|0.20}}

* {{PropertyData|Beam Reduced Integration}} - {{Version|1.0}}:
** true - uses beam elements with reduced integration (B31R or B32R), required when pipe beam section is used, can also make it possible to obtain [https://forum.freecad.org/viewtopic.php?t=61233 accurate results with plasticity]
** false - uses regular (fully-integrated) beam elements


* {{PropertyData|Beam Shell Result Output 3D}}: note that CalculiX internally expands 1D and 2D elements into 3D elements to accomplish FE analysis
* {{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
** true - resulting mesh will contain 1D and 2D elements expanded to 3D elements
** 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)


* {{PropertyData|Eigenmode High Limit}}: Eigenvalues above this limit will not be calculated
* {{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


* {{PropertyData|Eigenmode Low Limit}}: Eigenvalues below this limit will not be calculated
* {{PropertyData|Eigenmode Low Limit}}: Eigenvalues below this limit will not be calculated
Line 44: Line 76:


* {{PropertyData|Geometric Nonlinearity}}:
* {{PropertyData|Geometric Nonlinearity}}:
** linear - linear analysis will be performed if model does not contain nonlinear material
** linear - linear analysis will be performed if the model does not contain nonlinear material
** nonlinear - nonlinear analysis will be performed
** nonlinear - nonlinear analysis will be performed


* {{PropertyData|Iterations Control parameter Cutb}}: defines second line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true
* {{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''.


* {{PropertyData|Iterations Control Parameter Iter}}: defines first line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true
* {{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''.


* {{PropertyData|Iterations Control Parameter Time Use}}
* {{PropertyData|Iterations Control Parameter Time Use}}
** true - activates "Iterations Control Parameter Cutb" and "Iterations Control Parameter Iter"
** true - activates {{PropertyData|Iterations Control parameter Cutb}} and {{PropertyData|Iterations Control Parameter Iter}}
** false


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


* {{PropertyData|Iterations User Defined Incrementations}}:
* {{PropertyData|Iterations User Defined Incrementations}}:
Line 61: Line 94:


* {{PropertyData|Iterations User Defined Time Step Length}}:
* {{PropertyData|Iterations User Defined Time Step Length}}:
** true - activates "Time End" and "Time Initial Step" parameters
** true - activates {{PropertyData|Time End}} and {{PropertyData|Time Initial Step}} parameters
** false


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


* {{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
* {{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)
** default - automatically selects matrix solver depending on the available solvers (typically it is Spooles)
** {{Version|1.0}}: pastix - one of the fastest solvers (along with Pardiso), available (and default) in official builds since ccx 2.18, may still cause occasional issues
** spooles - direct solver with support of multiple CPUs. Number of CPUs need to be set in {{KEY|Edit}} → {{KEY|Preferences}} → {{KEY|FEM}} → {{KEY|CalculiX}} → Solver defaults → Number of CPU's to use)
** {{Version|1.0}}: pardiso - one of the fastest solvers (along with PaStiX) but not open-source, requires a different build of CalculiX (ccx_dynamic) and additional libraries not provided with FreeCAD, more reliable than PaStiX
** iterativescaling - iterative solver with least memory demands, suitable if model contains mostly 3D elements
** spooles - direct solver with the support of multiple CPUs. The number of CPUs needs to be set in the [[FEM_Preferences#CalculiX|preferences]] at ''Solver defaults → Number of CPU's to use''.
** iterativecholesky - iterative solver with preconditioning with and with low memory demands, suitable if model contains mostly 3D elements
** iterativescaling - iterative solver with the lowest memory demands, suitable if the model contains mostly 3D elements
** iterativecholesky - iterative solver with preconditioning with and with low memory demands, suitable if the model contains mostly 3D elements

* {{PropertyData|Model Space}} - {{Version|1.0}}: switches between 3D and 2D analyses, the latter require surface geometry on the XY plane (on the right of the Y axis in the axisymmetric case) with [[FEM_ElementGeometry2D|thickness definition]] (value ignored in the axisymmetric case) and proper boundary conditions ([[FEM_ConstraintDisplacement|displacement boundary condition]] with degrees of freedom X and Y has to be used instead of [[FEM_ConstraintFixed|fixed boundary condition]]) and in-plane loads applied to edges
** 3D - three-dimensional solid/shell/beam elements are used
** plane stress - plane stress 2D solid elements are used
** plane strain - plane strain 2D solid elements are used
** axisymmetric - axisymmetric 2D solid elements are used

* {{PropertyData|Output Frequency}} - {{Version|1.0}}: defines the frequency of results writing in increments (the default setting of 1 means that the results are written every increment, setting 2 would save the results every 2 increments and so on), particularly useful for nonlinear and transient simulations, helps reduce the clutter in the tree since currently a pair of results objects (CCX_Results and Pipeline_CCX_Results) is created for each results frame


* {{PropertyData|Split Input Writer}}:
* {{PropertyData|Split Input Writer}}:
Line 77: Line 121:
** true - split solver inputs into more *.inp files, that can clarify hand editing
** true - split solver inputs into more *.inp files, that can clarify hand editing


* {{PropertyData|Thermo Mechanical Steady State}}:
* {{PropertyData|Thermo Mech Steady State}}:
** true - steady state thermo mechanical analysis
** true - steady state thermo-mechanical analysis
** false - transient thermo mechanical analysis
** false - transient thermo-mechanical analysis


* {{PropertyData|Thermo Mech Type}} - {{Version|1.0}}:
* {{PropertyData|Time End}}: time period of the step, used when parameter "Iterations User Defined Incrementations" or "Iterations User Defined Time Step Length" is true
** coupled - coupled thermo-mechanical analysis
** uncoupled - uncoupled thermo-mechanical analysis
** pure heat transfer - purely thermal analysis (''*HEAT TRANSFER'')


* {{PropertyData|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
* {{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''

* {{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''

* {{PropertyData|Time Maximum Step}} - {{Version|1.0}}: maximum time increment of the step, used when parameter {{PropertyData|Iterations User Defined Incrementations}} or {{PropertyData|Iterations User Defined Time Step Length}} is ''true''

* {{PropertyData|Time Minimum Step}} - {{Version|1.0}}: minimum time increment of the step, used when parameter {{PropertyData|Iterations User Defined Incrementations}} or {{PropertyData|Iterations User Defined Time Step Length}} is ''true''


* {{PropertyData|Working Dir}}: path to the working directory which will be used for CalculiX analysis files.
* {{PropertyData|Working Dir}}: path to the working directory which will be used for CalculiX analysis files.


==Limitations==
<span id="Limitations"></span>
==Ограничения==


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:
==Notes==
# reduce the number of mesh nodes, preferably by omitting geometry that is not absolutely necessary for your analysis
# buy more RAM for your PC

<span id="Notes"></span>
==Примечания==


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




<div class="mw-translate-fuzzy">
{{Docnav|[[FEM_FemMesh2Mesh|FEM mesh to mesh]]|[[FEM_SolverCalculiX|Solver CalculiX]]|[[FEM_Module|FEM]]|IconL=FEM_FemMesh2Mesh.png|IconC=Workbench_FEM.svg|IconR=Fem-solver.svg}}
{{Docnav/ru

|[[FEM_FemMesh2Mesh/ru|FEM mesh to mesh]]
{{FEM Tools navi}}
|[[FEM_SolverCalculiX/ru|Solver CalculiX]]
|[[FEM_Workbench/ru|FEM]]
|IconL=FEM_FemMesh2Mesh.svg
|IconR=FEM_SolverCalculiX.svg
|IconC=Workbench_FEM.svg
}}
</div>


{{FEM Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 09:54, 21 April 2024

Other languages:

FEM Solver

Системное название
FEM SolverCalculixCxxtools
Расположение в меню
Solve → Solver CalculiX Standard
Верстаки
FEM
Быстрые клавиши
S X
Представлено в версии
-
См. также
FEM tutorial

Описание

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

Применение

  1. A CalculiXcxxTools solver object is created automatically with the creation of an Analysis container.
    To create it manually, use one of the following alternatives:
    • Press the Solver CalculiX Standard button.
    • Select Solve → Solver CalculiX Standard from the menu.
    • Press the S then X shortcut keys.
  2. Optionally change the properties of the CalculiXcxxTools solver object in the Property editor.
  3. Double click the CalculiXcxxTools solver object.
  4. Select the Analysis type.
  5. Click the Write .inp file button.
  6. Click the Run CalculiX button.

Опции

Click the Edit .inp file button to display and edit the CalculiX input file manually before running the analysis. In that case it can be useful to set the ДанныеSplit Input Writer property to true.

Свойства

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

  • ДанныеAnalysis Type:
    • static - static stress analysis
    • frequency - modal (natural frequency) analysis
    • thermomech - thermo-mechanical analysis
    • check - no calculation, performs input deck checks
    • buckling - linear buckling analysis introduced in version 0.20
  • ДанныеBeam Reduced Integration - introduced in version 1.0:
    • true - uses beam elements with reduced integration (B31R or B32R), required when pipe beam section is used, can also make it possible to obtain accurate results with plasticity
    • false - uses regular (fully-integrated) beam elements
  • ДанныеBeam Shell Result Output 3D: note that CalculiX internally expands 1D and 2D elements into 3D elements to accomplish FE analysis
    • true - resulting mesh will contain 1D and 2D elements expanded to 3D elements
    • 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)
  • Данные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
  • ДанныеEigenmode Low Limit: Eigenvalues below this limit will not be calculated
  • ДанныеEigenmodes Count: number of lowest eigenmodes to be calculated
  • ДанныеGeometric Nonlinearity:
    • linear - linear analysis will be performed if the model does not contain nonlinear material
    • nonlinear - nonlinear analysis will be performed
  • ДанныеIterations Control Parameter Time Use
    • true - activates ДанныеIterations Control parameter Cutb and ДанныеIterations Control Parameter Iter
    • false
  • ДанныеIterations Maximum: maximum number of increments after which the job will be stopped.
  • ДанныеIterations User Defined Incrementations:
    • true - automatic incrementation control will be switched off by DIRECT parameter
    • false - incrementation control will be automatic
  • ДанныеIterations User Defined Time Step Length:
    • true - activates ДанныеTime End and ДанныеTime Initial Step parameters
    • false
  • Данные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
  • Данные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 the available solvers (typically it is Spooles)
    • introduced in version 1.0: pastix - one of the fastest solvers (along with Pardiso), available (and default) in official builds since ccx 2.18, may still cause occasional issues
    • introduced in version 1.0: pardiso - one of the fastest solvers (along with PaStiX) but not open-source, requires a different build of CalculiX (ccx_dynamic) and additional libraries not provided with FreeCAD, more reliable than PaStiX
    • spooles - direct solver with the support of multiple CPUs. The number of CPUs needs to be set in the preferences at Solver defaults → Number of CPU's to use.
    • iterativescaling - iterative solver with the lowest memory demands, suitable if the model contains mostly 3D elements
    • iterativecholesky - iterative solver with preconditioning with and with low memory demands, suitable if the model contains mostly 3D elements
  • ДанныеModel Space - introduced in version 1.0: switches between 3D and 2D analyses, the latter require surface geometry on the XY plane (on the right of the Y axis in the axisymmetric case) with thickness definition (value ignored in the axisymmetric case) and proper boundary conditions (displacement boundary condition with degrees of freedom X and Y has to be used instead of fixed boundary condition) and in-plane loads applied to edges
    • 3D - three-dimensional solid/shell/beam elements are used
    • plane stress - plane stress 2D solid elements are used
    • plane strain - plane strain 2D solid elements are used
    • axisymmetric - axisymmetric 2D solid elements are used
  • ДанныеOutput Frequency - introduced in version 1.0: defines the frequency of results writing in increments (the default setting of 1 means that the results are written every increment, setting 2 would save the results every 2 increments and so on), particularly useful for nonlinear and transient simulations, helps reduce the clutter in the tree since currently a pair of results objects (CCX_Results and Pipeline_CCX_Results) is created for each results frame
  • Данные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
  • ДанныеThermo Mech Steady State:
    • true - steady state thermo-mechanical analysis
    • false - transient thermo-mechanical analysis
  • ДанныеThermo Mech Type - introduced in version 1.0:
    • coupled - coupled thermo-mechanical analysis
    • uncoupled - uncoupled thermo-mechanical analysis
    • pure heat transfer - purely thermal analysis (*HEAT TRANSFER)
  • ДанныеTime End: time period of the step, used when parameter ДанныеIterations User Defined Incrementations or ДанныеIterations User Defined Time Step Length is true
  • Данные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
  • ДанныеTime Maximum Step - introduced in version 1.0: maximum time increment of the step, used when parameter ДанныеIterations User Defined Incrementations or ДанныеIterations User Defined Time Step Length is true
  • ДанныеTime Minimum Step - introduced in version 1.0: minimum time increment of the step, used when parameter ДанныеIterations User Defined Incrementations or ДанныеIterations User Defined Time Step Length is true
  • ДанныеWorking Dir: path to the working directory which will be used for CalculiX analysis files.

Ограничения

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

Примечания

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

Scripting