FreeCAD-Doc/localwiki/FEM_SolverCalculixCxxtools.html
2018-07-08 12:11:49 -05:00

128 lines
13 KiB
HTML

<html><head><title>FEM SolverCalculixCxxtools</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>FEM SolverCalculixCxxtools</h1></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="FEM_Solver"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Solver.png" class="image"><img alt="FEM Solver.png" src="32px-FEM_Solver.png" width="32" height="27" srcset="/wiki/images/thumb/b/b7/FEM_Solver.png/48px-FEM_Solver.png 1.5x, /wiki/images/thumb/b/b7/FEM_Solver.png/64px-FEM_Solver.png 2x" /></a> FEM Solver</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menu location
</th></tr>
<tr>
<td class="ctEven">Solve → Solver CalculiX Standard
</td></tr>
<tr>
<th class="ctOdd">Workbenches
</th></tr>
<tr>
<td class="ctEven"><a href="FEM_Module.html" title="FEM Module">FEM</a>
</td></tr>
<tr>
<th class="ctOdd">Default shortcut
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<th class="ctOdd">See also
</th></tr>
<tr>
<td class="ctEven"><a href="FEM_tutorial.html" title="FEM tutorial">FEM tutorial</a>
</td></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#FEM_Solver"><span class="tocnumber">1</span> <span class="toctext">FEM Solver</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Limitations"><span class="tocnumber">6</span> <span class="toctext">Limitations</span></a></li>
<li class="toclevel-1 tocsection-6"><a href="#Notes"><span class="tocnumber">7</span> <span class="toctext">Notes</span></a></li>
<li class="toclevel-1 tocsection-7"><a href="#Scripting"><span class="tocnumber">8</span> <span class="toctext">Scripting</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>CalculiXccxTools enable to use <a rel="nofollow" class="external text" href="http://dhondt.de/">CalculiX</a> solver. You can use it to
</p>
<ol><li> set analysis parameters</li>
<li> select working directory</li>
<li> run the CalculiX solver.</li></ol>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Solver.png" class="image"><img alt="FEM Solver.png" src="24px-FEM_Solver.png" width="24" height="20" srcset="/wiki/images/thumb/b/b7/FEM_Solver.png/36px-FEM_Solver.png 1.5x, /wiki/images/thumb/b/b7/FEM_Solver.png/48px-FEM_Solver.png 2x" /></a> CalculiXccxTools</span> object is created automatically with creation of <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Analysis.png" class="image"><img alt="FEM Analysis.png" src="24px-FEM_Analysis.png" width="24" height="24" srcset="/wiki/images/thumb/5/57/FEM_Analysis.png/36px-FEM_Analysis.png 1.5x, /wiki/images/thumb/5/57/FEM_Analysis.png/48px-FEM_Analysis.png 2x" /></a> <a href="FEM_Analysis.html" title="FEM Analysis">Analysis container</a></span>. Otherwise use <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Solve</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Solver CalculiX Standard</span> , or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">X</span> keys</li>
<li> Optionally set data properties of the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Solver.png" class="image"><img alt="FEM Solver.png" src="24px-FEM_Solver.png" width="24" height="20" srcset="/wiki/images/thumb/b/b7/FEM_Solver.png/36px-FEM_Solver.png 1.5x, /wiki/images/thumb/b/b7/FEM_Solver.png/48px-FEM_Solver.png 2x" /></a> CalculiXccxTools</span> object</li>
<li> Double click on the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Solver.png" class="image"><img alt="FEM Solver.png" src="24px-FEM_Solver.png" width="24" height="20" srcset="/wiki/images/thumb/b/b7/FEM_Solver.png/36px-FEM_Solver.png 1.5x, /wiki/images/thumb/b/b7/FEM_Solver.png/48px-FEM_Solver.png 2x" /></a> CalculiXccxTools</span> object</li>
<li> Select type of the analysis</li>
<li> Click <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Write .inp file</span></li>
<li> Click <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Run CalculiX</span></li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<p>By using <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Edit .inp file</span> 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".
</p>
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
<p>Default values can be set in the menu <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Edit</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Preferences</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">FEM</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CalculiX</span>
</p>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Analysis Type</b>:
<ul><li> static</li>
<li> frequency</li>
<li> thermomech - for mechanical and thermal loads</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Beam Shell Result Output 3D</b>: note that CalculiX internally expands 1D and 2D elements into 3D elements to accomplish FE analysis
<ul><li> 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)</li>
<li> true - resulting mesh will contain 1D and 2D elements expanded to 3D elements</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Eigenmode High Limit</b>: Eigenvalues above this limit will not be calculated</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Eigenmode Low Limit</b>: Eigenvalues below this limit will not be calculated</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Eigenmodes Count</b>: number of lowest eigenmodes to be calculated</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Geometric Nonlinearity</b>:
<ul><li> linear - linear analysis will be performed if model does not contain nonlinear material</li>
<li> nonlinear - nonlinear analysis will be performed</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations Control parameter Cutb</b>: defines second line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations Control Parameter Iter</b>: defines first line of advanced iteration parameters under *CONTROLS card, used when "Iterations Control Parameter Time Use" is true</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations Control Parameter Time Use</b>
<ul><li> true - activates "Iterations Control Parameter Cutb" and "Iterations Control Parameter Iter"</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations Thermo Mech Maximum</b>: maximum number of increments in thermomechanical analysis after which the job will be stopped.</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations User Defined Incrementations</b>:
<ul><li> true - automatic incrementation control will be switched off by DIRECT parameter</li>
<li> false - incrementation control will be automatic</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Iterations User Defined Time Step Length</b>:
<ul><li> true - activates "Time End" and "Time Initial Step" parameters</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Material Nonlinearity</b>:
<ul><li> linear - only linear material properties will be included in the analysis</li>
<li> nonlinear - nonlinear material properties will be used from <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_MaterialMechanicalNonlinear.png" class="image"><img alt="FEM MaterialMechanicalNonlinear.png" src="24px-FEM_MaterialMechanicalNonlinear.png" width="24" height="24" srcset="/wiki/images/thumb/0/01/FEM_MaterialMechanicalNonlinear.png/36px-FEM_MaterialMechanicalNonlinear.png 1.5x, /wiki/images/thumb/0/01/FEM_MaterialMechanicalNonlinear.png/48px-FEM_MaterialMechanicalNonlinear.png 2x" /></a> <b><a href="FEM_MaterialMechanicalNonlinear.html" title="FEM MaterialMechanicalNonlinear">Nonlinear mechanical material</a></b></span> object</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Matrix Solver Type</b>: 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
<ul><li> default - automatically selects matrix solver depending on available solvers (probably it will be Spooles)</li>
<li> spooles - direct solver with support of multiple CPUs. Number of CPUs need to be set in <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Edit</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Preferences</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">FEM</span><span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CalculiX</span> → Solver defaults → Number of CPU's to use)</li>
<li> iterativescaling - iterative solver with least memory demands, suitable if model contains mostly 3D elements</li>
<li> iterativecholesky - iterative solver with preconditioning with and with low memory demands, suitable if model contains mostly 3D elements</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Split Input Writer</b>:
<ul><li> false - write whole input into one *.inp file to be used by CalculiX solver</li>
<li> true - split solver inputs into more *.inp files, that can clarify hand editing</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Thermo Mechanical Steady State</b>:
<ul><li> true - steady state thermo mechanical analysis</li>
<li> false - transient thermo mechanical analysis</li></ul></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Time End</b>: time period of the step, used when parameter "Iterations User Defined Incrementations" or "Iterations User Defined Time Step Length" is true</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Time Initial Step</b>: initial time increment of the step, used when parameter "Iterations User Defined Incrementations" or "Iterations User Defined Time Step Length" is true</li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Working Dir</b>: path to the working directory which will be used for CalculiX analysis files.</li></ul>
<h2><span class="mw-headline" id="Limitations">Limitations</span></h2>
<h2><span class="mw-headline" id="Notes">Notes</span></h2>
<p>Original CalculiX documentation can be found at <a rel="nofollow" class="external free" href="http://dhondt.de/">http://dhondt.de/</a> in the "ccx" paragraph.
</p>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=FEM_SolverCalculixCxxtools&amp;oldid=271506">http://www.freecadweb.org/wiki/index.php?title=FEM_SolverCalculixCxxtools&amp;oldid=271506</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>