FEM Analysis: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
Renatorivo (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<translate> |
<translate> |
||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand|Name=FEM Analysis|MenuLocation=FEM → Analysis container||Workbenches=[[ |
{{GuiCommand|Name=FEM Analysis|MenuLocation=FEM → Analysis container||Workbenches=[[FEM Workbench|FEM]]|Shortcut=N,A|SeeAlso=[[FEM_tutorial|FEM tutorial]]}} |
||
==Description== <!--T:5--> |
==Description== <!--T:5--> |
||
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: |
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: |
||
* [[ |
* [[FEM_MaterialSolid| material]] |
||
* [[ |
* [[FEM_ConstraintFixed| fixed constraint]] |
||
* [[ |
* [[FEM_ConstraintForce| force constraint]] or [[FEM_ConstraintPressure| pressure constraint]] |
||
Revision as of 20:36, 9 April 2017
FEM Analysis |
Menu location |
---|
FEM → Analysis container |
Workbenches |
FEM |
Default shortcut |
N,A |
Introduced in version |
- |
See also |
FEM tutorial |
Description
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:
How to use
- Press the Analysis container button, or press N then A keys. A new Analysis is created and set to active.
- Other objects could be added or removed to the analysis container by drag and drop.
- To add new FEM Objects to the document the analysis has to be active. Double click on the analysis does activate the analysis.
Options
- Up to date there is no option to choose.
- A frequency analysis in in development. See [1] for more informations.
Properties
- DataOutpuDir: Specifies the working directory of the analysis
Scripting
most code here is depreciated in 0.17.
- new analysis
MechanicalAnalysis.makeMechanicalAnalysis( name )
- add object to the analysis
App.ActiveDocument.MechanicalAnalysis.Member = App.ActiveDocument.MechanicalAnalysis.Member + [ (object) ]
- remove object from the analysis
member = App.ActiveDocument.MechanicalAnalysis.Member
member.remove( documentobject )
App.ActiveDocument.MechanicalAnalysis.Member = member
Examples:
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