Issue #6093 - FEM constraints not on object when using placement (part design workbench)
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Issue #6093 - FEM constraints not on object when using placement (part design workbench)
Not sure if this is a bug or limitation or I'm just not doing this correctly. Let say I make a 1x1x1in cube using the part design workbench, create a FEM analysis using the FEM workbench, and then add a fixed and force constraint to the cube. In this scenario, everything works/looks as expected.
Thanks,
Lars
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21857 (Git)
Build type: Release
Branch: master
Hash: 750c169a6cb999f084915494f2fbec7c07297aae
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
However, if before you add the constraints you move the cube 1in in the y-direction using the placement property and then add the constraints to the same locations on the cube as in the previous case, they aren't attached to the location you specified.
Is this a bug or limitation? It doesn't appear to matter if you move the cube before or after applying the constrains, the result is the same and in that the constraint graphics only show as if the part were still at the global origin. Running the FEM analysis confirms that the constrains are in fact not on the object.Thanks,
Lars
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21857 (Git)
Build type: Release
Branch: master
Hash: 750c169a6cb999f084915494f2fbec7c07297aae
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Last edited by Kunda1 on Tue Apr 19, 2022 4:05 pm, edited 3 times in total.
Reason: Added GH ticket number to thread title
Reason: Added GH ticket number to thread title
Re: FEM constraints not on object when using placement
Hi and welcome to FreeCAD.
I have no idea if it will effect you or not but there is an update available for OSX, its now 0.19.21938, so 81 commits more, like I said though I have no idea if it effect you.
I have no idea if it will effect you or not but there is an update available for OSX, its now 0.19.21938, so 81 commits more, like I said though I have no idea if it effect you.
Re: FEM constraints not on object when using placement
Tried the newest build (0.19.21938) but the problem still exists.
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21938 (Git)
Build type: Release
Branch: master
Hash: 5666598a6be219830a992610243fe23144a61453
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21938 (Git)
Build type: Release
Branch: master
Hash: 5666598a6be219830a992610243fe23144a61453
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Re: FEM constraints not on object when using placement
OK, I will move this topic to the FEM development forum to help bring it to the attention of one of the FEM experts/developers.LSoltmann wrote: ↑Sun Jul 19, 2020 7:34 pm Tried the newest build (0.19.21938) but the problem still exists.
OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21938 (Git)
Build type: Release
Branch: master
Hash: 5666598a6be219830a992610243fe23144a61453
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Thanks for testing in the update first.
Jim
-
- Veteran
- Posts: 2827
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: FEM constraints not on object when using placement
Confirmed. When using part-design the fixing/load/mesh does not move after moving the body.
Use the sketcher/part-wb to create the body, that works.
(thats why I like the part-wb) done with:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21937 (Git)
Build type: Release
Branch: master
Hash: 0de5a290113800dc5779a76d7e216bd882e0ed1e
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Re: FEM constraints not on object when using placement
It is a known problem PartDesign and FEM may work or may not work together properly. I do not use PartDesign. I even do not know how to use PartDesign. I only use Arch, Draft and Part to make geometry. Furthermore most of this kind of problems need to be fixed in FEMs C++ code. Thus I do not fix most problems in this regard.
Best is to make a bug report and clearly state it is about FEM not working with PartDesign. Latelly we had similar problems, see https://forum.freecadweb.org/viewtopic. ... 79#p415042
Best is to make a bug report and clearly state it is about FEM not working with PartDesign. Latelly we had similar problems, see https://forum.freecadweb.org/viewtopic. ... 79#p415042
Re: FEM constraints not on object when using placement
@LSoltermann:
would be good if you could change the topic subject to something which contains PartDesign, as this only is a problem if PartDesign body is used?
would be good if you could change the topic subject to something which contains PartDesign, as this only is a problem if PartDesign body is used?
Re: FEM constraints not on object when using placement
Thanks for the confirmation. I'll make sure to use the part workbench when using FEM.
Re: FEM constraints not on object when using placement (part design workbench)
I found a workaround for this issue until it can be fixed. Export the part design object to a STEP file, import the STEP file, apply the constraints to the newly imported object. Now the constraints follow the object as it's moved using placement.