FEM ConstraintSelfWeight/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav/ru
|[[FEM_ConstraintPressure|Constraint pressure]]
|[[FEM_ConstraintBearing|Constraint bearing]]
|[[FEM_ConstraintCentrif/ru|Constraint centrif]]
|[[FEM_ConstraintInitialTemperature/ru|Constraint initial temperature]]
|[[FEM_Module|FEM]]
|[[FEM_Workbench/ru|FEM]]
|IconL=FEM_ConstraintPressure.png
|IconL=FEM_ConstraintCentrif.svg
|IconR=FEM_ConstraintInitialTemperature.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintBearing.png
}}
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru|Name=FEM ConstraintSelfWeight|Name/ru=FEM ConstraintSelfWeight|MenuLocation=FEM → Constraint self weight||Workbenches=[[FEM Module/ru|FEM]]|Shortcut=C,W|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]}}
|Name=FEM ConstraintSelfWeight
|Name/ru=FEM ConstraintSelfWeight
|MenuLocation=FEM → Constraint self weight
|Workbenches=[[FEM_Workbench/ru|FEM]]
|Shortcut=C,W
|SeeAlso=[[FEM_tutorial/ru|FEM tutorial]]
}}
</div>
</div>


==Description==
<span id="Description"></span>
==Описание==


Constraint self weight defines gravity acceleration 9,81 m/s^2 acting on the whole model in the prescribed direction.
Defines a gravity acceleration acting on the whole model in the prescribed direction.


{{VersionMinus|0.21}}: The acceleration has a fixed value of 9.81 m/s^2.
==Usage==


<span id="Usage"></span>
# To invoke command either:
==Применение==
#* Press on the [[Image:FEM ConstraintSelfWeight.png|24px]] button
#* Choose {{KEY|Model}} → '''Mechanical Constraints''' → {{KEY|[[Image:FEM ConstraintSelfWeight.png|24px]] Constraint self weight}} from the top menu
#* Use the keyboard shortcut: {{KEY|C}} then {{KEY|W}} keys.
#You can modify the direction of gravitation by changing its vector coordinates in the property bar of newly created ConstraintSelfWeight object.


# There are several ways to invoke the command:
==Scripting==
#* Press the {{Button|[[Image:FEM_ConstraintSelfWeight.svg|16px]] [[FEM_ConstraintSelfWeight|Gravity load]]}} button.
#* Select the {{MenuCommand|Model → Mechanical boundary conditions and loads → [[Image:FEM_ConstraintSelfWeight.svg|16px]] Gravity load}} option from the menu.
# A ConstraintSelfWeight object is created.
# {{Version|1.0}}: Optionally change its {{PropertyData|Gravity Acceleration}} property.
# Optionally change its {{PropertyData|Gravity Direction}} property.

<span id="Scripting"></span>
==Программирование==

New object:


'''New object'''
{{Code|code=
{{Code|code=
import ObjectsFem
import ObjectsFem
ObjectsFem.makeConstraintSelfWeight( name )
ObjectsFem.makeConstraintSelfWeight(name)
}}
}}


'''Add object to the analysis named Analysis'''
Add object to the analysis named Analysis:

{{Code|code=
{{Code|code=
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [ (object) ]
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [(object)]
}}
}}


Пример:
'''Example:'''

{{Code|code=
{{Code|code=
import ObjectsFem
import ObjectsFem
selfweight_obj = ObjectsFem.makeConstraintSelfWeight( 'MySelfWeightObject' )
selfweight_obj = ObjectsFem.makeConstraintSelfWeight("MySelfWeightObject")
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [selfweight_obj]
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [selfweight_obj]

}}
}}


<span id="Solver_CalculiX"></span>
== Solver CalculiX ==
== Решатель CalculiX ==

===Limitations===
===Limitations===

*You need to modify .inp file to edit gravity acceleration.
*{{VersionMinus|0.21}}: You need to modify the .inp file to edit gravity acceleration.
*Self weight is applied to the element set Eall means to the whole model.
*Self-weight is applied to the element set Eall which includes the whole model.


===Editing CalculiX input file===
===Editing CalculiX input file===
Acceleration constant can be edited by hand modification after generating CalculiX input file.


The acceleration constant can be manually edited after generating the CalculiX input file.
Example of lines in .inp file:

Example of lines in the .inp file:

{{Code|code=
{{Code|code=
*DLOAD
*DLOAD
Eall,GRAV,9810,0.0,0.0,-1.0
Eall,GRAV,9810,0.0,0.0,-1.0
}}
}}
where 9810 is gravity acceleration in [mm/s^2]


where 9810 is a gravity acceleration magnitude in [mm/s^2], and 0,0,-1 is the direction vector. The value can be set as a multiple of standard gravity acceleration to simulate loading of e.g. 4g.
== Solver Z88 ==

* not implemented in Z88 solver (March 2017)
<span id="Solver_Z88"></span>
== Решатель Z88 ==

* Currently, not implemented in the Z88 solver.



{{Docnav
{{Docnav/ru
|[[FEM_ConstraintPressure|Constraint pressure]]
|[[FEM_ConstraintCentrif/ru|Constraint centrif]]
|[[FEM_ConstraintBearing|Constraint bearing]]
|[[FEM_ConstraintInitialTemperature/ru|Constraint initial temperature]]
|[[FEM_Module|FEM]]
|[[FEM_Workbench/ru|FEM]]
|IconL=FEM_ConstraintPressure.png
|IconL=FEM_ConstraintCentrif.svg
|IconR=FEM_ConstraintInitialTemperature.svg
|IconC=Workbench_FEM.svg
|IconC=Workbench_FEM.svg
|IconR=FEM_ConstraintBearing.png
}}
}}


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

Latest revision as of 09:56, 21 April 2024

Other languages:

FEM ConstraintSelfWeight

Системное название
FEM ConstraintSelfWeight
Расположение в меню
FEM → Constraint self weight
Верстаки
FEM
Быстрые клавиши
C,W
Представлено в версии
-
См. также
FEM tutorial

Описание

Defines a gravity acceleration acting on the whole model in the prescribed direction.

version 0.21 and below: The acceleration has a fixed value of 9.81 m/s^2.

Применение

  1. There are several ways to invoke the command:
    • Press the Gravity load button.
    • Select the Model → Mechanical boundary conditions and loads → Gravity load option from the menu.
  2. A ConstraintSelfWeight object is created.
  3. introduced in version 1.0: Optionally change its ДанныеGravity Acceleration property.
  4. Optionally change its ДанныеGravity Direction property.

Программирование

New object:

import ObjectsFem
ObjectsFem.makeConstraintSelfWeight(name)

Add object to the analysis named Analysis:

App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [(object)]

Пример:

import ObjectsFem
selfweight_obj = ObjectsFem.makeConstraintSelfWeight("MySelfWeightObject")
App.ActiveDocument.Analysis.Member = App.ActiveDocument.Analysis.Member + [selfweight_obj]

Решатель CalculiX

Limitations

  • version 0.21 and below: You need to modify the .inp file to edit gravity acceleration.
  • Self-weight is applied to the element set Eall which includes the whole model.

Editing CalculiX input file

The acceleration constant can be manually edited after generating the CalculiX input file.

Example of lines in the .inp file:

*DLOAD
Eall,GRAV,9810,0.0,0.0,-1.0

where 9810 is a gravity acceleration magnitude in [mm/s^2], and 0,0,-1 is the direction vector. The value can be set as a multiple of standard gravity acceleration to simulate loading of e.g. 4g.

Решатель Z88

  • Currently, not implemented in the Z88 solver.