FreeCAD-Doc/localwiki/FEM_Install-ru.html
2018-07-19 18:47:02 -05:00

123 lines
12 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><title>FEM Install/ru</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 Install/ru</h1></div>
<div id="mw-content-text" lang="ru" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="#Introduction"><span class="tocnumber">1</span> <span class="toctext">Introduction</span></a>
<ul>
<li class="toclevel-2 tocsection-2"><a href="#FEM_Solver"><span class="tocnumber">1.1</span> <span class="toctext">FEM Solver</span></a></li>
<li class="toclevel-2 tocsection-3"><a href="#FEM_Mesh_Generator"><span class="tocnumber">1.2</span> <span class="toctext">FEM Mesh Generator</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-4"><a href="#Installation_of_external_FEM_Module_Software"><span class="tocnumber">2</span> <span class="toctext">Installation of external FEM Module Software</span></a>
<ul>
<li class="toclevel-2 tocsection-5"><a href="#Windows"><span class="tocnumber">2.1</span> <span class="toctext">Windows</span></a></li>
<li class="toclevel-2 tocsection-6"><a href="#Linux"><span class="tocnumber">2.2</span> <span class="toctext">Linux</span></a>
<ul>
<li class="toclevel-3 tocsection-7"><a href="#Ubuntu_PPA"><span class="tocnumber">2.2.1</span> <span class="toctext">Ubuntu PPA</span></a></li>
<li class="toclevel-3 tocsection-8"><a href="#Other"><span class="tocnumber">2.2.2</span> <span class="toctext">Other</span></a></li>
<li class="toclevel-3 tocsection-9"><a href="#CalculiX"><span class="tocnumber">2.2.3</span> <span class="toctext">CalculiX</span></a>
<ul>
<li class="toclevel-4 tocsection-10"><a href="#Install_CalculiX_Binary"><span class="tocnumber">2.2.3.1</span> <span class="toctext">Install CalculiX Binary</span></a></li>
<li class="toclevel-4 tocsection-11"><a href="#Compile_CalculiX"><span class="tocnumber">2.2.3.2</span> <span class="toctext">Compile CalculiX</span></a></li>
</ul>
</li>
<li class="toclevel-3 tocsection-12"><a href="#Netgen"><span class="tocnumber">2.2.4</span> <span class="toctext">Netgen</span></a></li>
<li class="toclevel-3 tocsection-13"><a href="#Further_Informations"><span class="tocnumber">2.2.5</span> <span class="toctext">Further Informations</span></a></li>
</ul>
</li>
<li class="toclevel-2 tocsection-14"><a href="#OSX"><span class="tocnumber">2.3</span> <span class="toctext">OSX</span></a>
<ul>
<li class="toclevel-3 tocsection-15"><a href="#CalculiX_2"><span class="tocnumber">2.3.1</span> <span class="toctext">CalculiX</span></a></li>
<li class="toclevel-3 tocsection-16"><a href="#Netgen_2"><span class="tocnumber">2.3.2</span> <span class="toctext">Netgen</span></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h3><span class="mw-headline" id="Introduction">Introduction</span></h3>
<p>To be able to do a Finite Element Analysis (FEA) using the <a href="Fem_Workbench.html" class="mw-redirect" title="Fem Workbench"> FEM Worbench</a> FreeCAD makes use of two external programms. One is used for generating the FEM-Mesh and the other for solving the system of equations. If your FreeCAD is set up to do mechanical Finite Element Analysiss could be checked easily by loading and analyzing an example file. See <a href="FEM_CalculiX_Cantilever_3D.html" title="FEM CalculiX Cantilever 3D">FEM_CalculiX_Cantilever_3D</a>
</p>
<h6><span class="mw-headline" id="FEM_Solver">FEM Solver</span></h6>
<p>For solving the system of equations CalculiX is used. See <a rel="nofollow" class="external free" href="http://www.calculix.de/">http://www.calculix.de/</a> FreeCAD writes an CalculiX input file starts CalculiX and reads the output of CalculiX. It means CalculiX binary is standalone and independent from FreeCAD. Because of this and since there are more possibilities to get a valid FEM-Mesh it is recommended to install the Solver first. Up To date (mid 2015) CalculiX is the only supported Solver of the FEM module.
</p>
<h6><span class="mw-headline" id="FEM_Mesh_Generator">FEM Mesh Generator</span></h6>
<p>As meshing tool to create a FEM-Mesh netgen is used. See <a rel="nofollow" class="external free" href="https://sourceforge.net/projects/netgen-mesher/">https://sourceforge.net/projects/netgen-mesher/</a> To use Netgen in FEM module FreeCAD needs to be compiled against netgen libraries. Apart from Netgen a common way to create a FEM Mesh is the use off <a href="Macro_GMSH.html" title="Macro GMSH"> GMSHMacro</a>. Check out <a href="FEM_Mesh.html" title="FEM Mesh">FEM_Mesh#Create_a_FEM_Mesh</a> for the various possibilities to create an FEM Mesh in FreeCAD.
</p>
<h3><span class="mw-headline" id="Installation_of_external_FEM_Module_Software">Installation of external FEM Module Software</span></h3>
<h4><span class="mw-headline" id="Windows">Windows</span></h4>
<p>If either a stable or development version from <a href="Download.html" title="Download">Download</a> is used no further software needs to be installed. Netgen and CalculiX are included in the FreeCAD download package.
</p>
<h4><span class="mw-headline" id="Linux">Linux</span></h4>
<h5><span class="mw-headline" id="Ubuntu_PPA">Ubuntu PPA</span></h5>
<p>The easiest possibility to get an working FEM Workbench on Linux is the use of the Ubuntu PPA Version. Check out <a href="/wiki/Download#Ubuntu_PPA_packages" title="Download">Download#Ubuntu_PPA_packages</a>. The netgen FEM Mesh Generator is allready included in the ppa version. CalculiX is an extra package provided by the Ubuntu PPA Version as well. If the Ubuntu PPA repository is allready added to your package manager install CalculiX by
</p>
<pre>apt-get install ccx
</pre>
<p>The following FreeCAD Ubuntu PPA packages have Netgen and CalculiX:
</p>
<ul><li> Ubuntu 14.04 (Trusty Tahr)</li>
<li> Ubuntu 14.10 (Utopic Unicorn)</li>
<li> Ubuntu 15.04 (Vivid Vervet)</li></ul>
<p>For Developers: There is a huge <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10393">forum thread</a> in which the creation of the Ubuntu PPA packages was disscussed. It may be usefull if the Ubuntu PPA packages needs to be updated. On Launchpad there are more than one CalculiX packages. Only one CalculiX package should be installed and any of them should work. There is a simple reason for not taking the one which was allready on Launchpad. We did not know about it (see <a rel="nofollow" class="external free" href="http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10393&amp;start=90#p85498">http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10393&amp;start=90#p85498</a>)
</p>
<h5><span class="mw-headline" id="Other">Other</span></h5>
<p>On other Linux distributions you need to make sure to get the appropriate software and libraries installed yourself before using FEM workbench.
</p>
<h5><span class="mw-headline" id="CalculiX">CalculiX</span></h5>
<p>Since CalculiX is a standalone software you either can install a CalculiX binary or compile CalculiX yourself. Any CalculiX version from 2.7.X works with FreeCAD. Since there hasn't been much changes in CalculiX resently lower versions than 2.7.X might work as well.
</p>
<h6><span class="mw-headline" id="Install_CalculiX_Binary">Install CalculiX Binary</span></h6>
<p>There are only a few Linux Distributions which are known to have CalculiX Packages in their Repositories. Following a list:
</p>
<ul><li> Arch Linux --&gt; <a rel="nofollow" class="external free" href="https://aur.archlinux.org/packages/calculix/">https://aur.archlinux.org/packages/calculix/</a></li>
<li> Debian Stretch --&gt; <a rel="nofollow" class="external free" href="https://packages.debian.org/stretch/calculix-ccx">https://packages.debian.org/stretch/calculix-ccx</a></li>
<li> Debian Jessie --&gt; The packages of Debian Stretch can be installed by dpkg see <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=4&amp;t=5975&amp;p=110597#p110597">FreeCAD forum</a></li></ul>
<p>On the CalculiX Website it is possible to download a generic Linux binary of CalculiX. Check out <a rel="nofollow" class="external free" href="http://www.dhondt.de/">http://www.dhondt.de/</a> Since any Linux Distribution could have different library paths it is likely possible this binary will not work out of the box at your linux distribution. Check out the following FreeCAD forum threads for more infomation:
</p>
<ul><li> Fedora 21 --&gt; <a rel="nofollow" class="external free" href="http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10140">http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10140</a></li>
<li> Some bash commands that may help --&gt; <a rel="nofollow" class="external free" href="http://forum.freecadweb.org/viewtopic.php?f=3&amp;t=11830&amp;start=20#p95741">http://forum.freecadweb.org/viewtopic.php?f=3&amp;t=11830&amp;start=20#p95741</a></li></ul>
<h6><span class="mw-headline" id="Compile_CalculiX">Compile CalculiX</span></h6>
<p>Compiling CalculiX is not as easy as it is with many OpenSource software. There are many different resources at FreeCAD forum and the internet. Check out the following:
</p>
<ul><li> Debian --&gt; <a rel="nofollow" class="external free" href="http://forum.freecadweb.org/viewtopic.php?f=4&amp;t=5975&amp;start=10">http://forum.freecadweb.org/viewtopic.php?f=4&amp;t=5975&amp;start=10</a></li>
<li> There is a CMake Repository on github, but at FreeCAD forum noone has reported if this one works
<ul><li> <a rel="nofollow" class="external free" href="https://github.com/ricortiz/CalculiX-cmake">https://github.com/ricortiz/CalculiX-cmake</a></li></ul></li></ul>
<h5><span class="mw-headline" id="Netgen">Netgen</span></h5>
<p>There have been mixed results with the Netgen mesher and the compilation of FreeCAD with Netgen support.
</p>
<ul><li> ToDo</li></ul>
<h5><span class="mw-headline" id="Further_Informations">Further Informations</span></h5>
<p>The <a rel="nofollow" class="external text" href="http://www.forum.freecadweb.org/">FreeCAD forum</a> is a very good resource for informations in this regard. Check out google search on FreeCAD forum page by&#160;:
</p>
<ul><li> <a rel="nofollow" class="external text" href="https://www.google.ch/search?q=sys.append.path+site%3Aforum.freecadweb.org#q=calculix+site:forum.freecadweb.org">calculix site:forum.freecadweb.org</a></li>
<li> <a rel="nofollow" class="external text" href="https://www.google.ch/search?q=sys.append.path+site%3Aforum.freecadweb.org#q=netgen+site:forum.freecadweb.org">netgen site:forum.freecadweb.org</a></li></ul>
<h4><span class="mw-headline" id="OSX">OSX</span></h4>
<p>Neither Netgen nor CalculiX are included in FreeCAD download packages which can be downloaded from <a href="Download.html" title="Download">Download</a>
</p>
<h5><span class="mw-headline" id="CalculiX_2">CalculiX</span></h5>
<p>Check out the following two forum threads:
</p>
<ul><li> <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=18&amp;t=10979">forum</a></li>
<li> <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=8&amp;t=14497">forum</a></li></ul>
<h5><span class="mw-headline" id="Netgen_2">Netgen</span></h5>
<p>There is no known documantion source for FreeCAD and netgen on OSX. As stated before use <a href="Macro_GMSH.html" title="Macro GMSH"> GMSHMacro</a> and check <a href="FEM_Mesh.html" title="FEM Mesh">FEM_Mesh#Create_a_FEM_Mesh</a> for the various possibilities to create an FEM Mesh in FreeCAD. There has been some development in the regard of Netgensupport in FreeCAD on OSX recently (<a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=27&amp;t=14346">Pull Request</a>).
</p><p><br />
</p>
<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_Install/ru&amp;oldid=229417">http://www.freecadweb.org/wiki/index.php?title=FEM_Install/ru&amp;oldid=229417</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>