I added a fixed constraint at the end of the tube. That was easy, although not intuitive. I had to click on the face twice. Not sure why that is. My next step was to add a pressure constraint, rather than force. Only the bottom of the cylinder and the 3mm walls see the 30 MPa. I was able to add just the bottom face of the pressure constraint. If I added the sidewalls, it appears that the direction of force is backwards. The pressure is always outwards. I solved this problem by having only one face under pressure and making a second pressure constraint.
Double clicking on MaterialSolid lead to a traceback:
Code: Select all
Traceback (most recent call last):
File "/home/bruce/Apps/freecad-build/Mod/Fem/femviewprovider/view_material_common.py", line 58, in setEdit
view_base_femconstraint.VPBaseFemConstraint.setEdit(
File "/home/bruce/Apps/freecad-build/Mod/Fem/femviewprovider/view_base_femobject.py", line 93, in setEdit
task = TaskPanel(vobj.Object)
File "/home/bruce/Apps/freecad-build/Mod/Fem/femtaskpanels/task_material_common.py", line 201, in __init__
self.selectionWidget.has_equal_references_shape_types()
File "/home/bruce/Apps/freecad-build/Mod/Fem/femguiutils/selection_widgets.py", line 576, in has_equal_references_shape_types
r = geomtools.get_element(ref[0], ref[1])
File "/home/bruce/Apps/freecad-build/Mod/Fem/femtools/geomtools.py", line 189, in get_element
return part.Shape.getElement(element) # Face, Edge, Vertex
<class 'Part.OCCError'>: Index out of bound
Code: Select all
OS: Pop!_OS 22.04 LTS (pop:GNOME/pop)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32959 (Git)
Build type: Unknown
Branch: master
Hash: bfb3efbc72a2b562a5ed7a0696e4a72f563bfd2b
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* fasteners 0.4.56
* kicadStepUpMod.backup1663010049.9382765
* Render 2023.2.3
* Help 1.0.3
* A2plus 0.4.60k
* fcgear 1.0.0
* lattice2 1.0.0
* kicadStepUpMod 10.18.8