115 lines
6.3 KiB
HTML
115 lines
6.3 KiB
HTML
<html><head><title>FEM Analysis/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 Analysis/ru</h1></div>
|
||
|
||
<div id="mw-content-text" lang="ru" dir="ltr" class="mw-content-ltr"><hr/>
|
||
<div class="mw-parser-output"><div class="mw-translate-fuzzy">
|
||
<table class="fcinfobox wikitable ct" >
|
||
<tr>
|
||
<td class="ctTitle">
|
||
<h3><span class="mw-headline" id="FEM_Analysis"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FEM_Analysis.png" class="image"><img alt="FEM Analysis.png" src="32px-FEM_Analysis.png" width="32" height="32" srcset="/wiki/images/thumb/5/57/FEM_Analysis.png/48px-FEM_Analysis.png 1.5x, /wiki/images/5/57/FEM_Analysis.png 2x" /></a> FEM Analysis</span></h3>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Расположение в меню
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">FEM → Analysis container
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Верстаки
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=FEM_Module/ru" title="FEM Module/ru">FEM</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Быстрые клавиши
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">N,A
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">См. также
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=FEM_tutorial/ru" title="FEM tutorial/ru">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_Analysis.html"><span class="tocnumber">1</span> <span class="toctext">FEM Analysis</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="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
</td></tr></table>
|
||
<p><br />
|
||
</p>
|
||
</div>
|
||
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
||
<p>The FEM Analysis could be seen as a Container that holds all objects of a Finite Element Analysis. It is mandatory to have a analysis container which holds all the needed objects. At least one of the following objects is needed for a mechanical analysis:
|
||
</p>
|
||
<ul><li> <a href="FEM_MaterialSolid.html" title="FEM MaterialSolid"> material</a></li>
|
||
<li> <a href="FEM_ConstraintFixed.html" title="FEM ConstraintFixed"> fixed constraint</a></li>
|
||
<li> <a href="FEM_ConstraintForce.html" title="FEM ConstraintForce"> force constraint</a> or <a href="FEM_ConstraintPressure.html" title="FEM ConstraintPressure"> pressure constraint</a></li></ul>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
||
<ol><li> Press 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_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> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">N</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">A</span> keys. A new Analysis is created and set to active.</li>
|
||
<li> Other objects could be added or removed to the analysis container by drag and drop.</li>
|
||
<li> To add new FEM Objects to the document the analysis has to be active. Double click on the analysis does activate the analysis.</li></ol>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
||
<ul><li> Up to date there is no option to choose. </li>
|
||
<li> A frequency analysis in in development. See <a rel="nofollow" class="external autonumber" href="http://forum.freecadweb.org/viewtopic.php?f=18&t=12189">[1]</a> for more informations.</li></ul>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
|
||
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>OutpuDir</b>: Specifies the working directory of the analysis</li></ul>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
||
<p>most code here is depreciated in 0.17.
|
||
</p>
|
||
<ul><li> new analysis</li></ul>
|
||
<pre>MechanicalAnalysis.makeMechanicalAnalysis( name ) </pre>
|
||
<ul><li> add object to the analysis</li></ul>
|
||
<pre>App.ActiveDocument.MechanicalAnalysis.Member = App.ActiveDocument.MechanicalAnalysis.Member + [ (object) ] </pre>
|
||
<ul><li> remove object from the analysis</li></ul>
|
||
<pre>member = App.ActiveDocument.MechanicalAnalysis.Member
|
||
member.remove( documentobject )
|
||
App.ActiveDocument.MechanicalAnalysis.Member = member </pre>
|
||
<p><br />
|
||
Examples:
|
||
</p>
|
||
<pre>import MechanicalAnalysis
|
||
analysis = MechanicalAnalysis.makeMechanicalAnalysis("MechanicalAnalysis")
|
||
FemGui.setActiveAnalysis(analysis)
|
||
|
||
addobj = App.ActiveDocument.getObject("MechanicalMaterial")
|
||
App.ActiveDocument.MechanicalAnalysis.Member = App.ActiveDocument.MechanicalAnalysis.Member + [addobj]
|
||
|
||
removeobj = App.ActiveDocument.getObject("MechanicalMaterial")
|
||
member = App.ActiveDocument.MechanicalAnalysis.Member
|
||
member.remove(removeobj)
|
||
App.ActiveDocument.MechanicalAnalysis.Member = member </pre>
|
||
<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_Analysis/ru&oldid=257622">http://www.freecadweb.org/wiki/index.php?title=FEM_Analysis/ru&oldid=257622</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> |