*SECTION PRINT implemented for volume elements

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

bernd wrote: Wed Apr 22, 2020 7:00 am due to some changes in ccx writer lately, I hat do change some lines to get the section print rebased ...

new code looks like this:
https://github.com/berndhahnebach/FreeC ... d55d091251
once again ... https://github.com/berndhahnebach/FreeC ... d55d091251
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

bernd wrote: Fri Apr 24, 2020 7:54 am
bernd wrote: Wed Apr 22, 2020 7:00 am due to some changes in ccx writer lately, I hat do change some lines to get the section print rebased ...

new code looks like this:
https://github.com/berndhahnebach/FreeC ... d55d091251
once again ... https://github.com/berndhahnebach/FreeC ... d55d091251
All good things come in threes https://github.com/berndhahnebach/FreeC ... d55d091251
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

bernd wrote: Fri Apr 24, 2020 3:09 pm
bernd wrote: Fri Apr 24, 2020 7:54 am
bernd wrote: Wed Apr 22, 2020 7:00 am due to some changes in ccx writer lately, I hat do change some lines to get the section print rebased ...

new code looks like this:
https://github.com/berndhahnebach/FreeC ... d55d091251
once again ... https://github.com/berndhahnebach/FreeC ... d55d091251
All good things come in threes https://github.com/berndhahnebach/FreeC ... d55d091251
hopefully finished writer improvements with this https://github.com/berndhahnebach/FreeC ... d55d091251
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: *SECTION PRINT implemented for volume elements

Post by HoWil »

bernd wrote: Wed Mar 11, 2020 11:36 am great

check view provider of result mechanical how to collect childs. Than do not add the dat obj to the analysis. It would be twice in tree.
A bit off-topic but related:
Is this the same reason why the SolverElmerOutput is not shown and incorporated into the analysis :?:
BTW: The SolverElmerResult is only added after the second run of the solver.
Screenshot from 2020-04-26 21-46-48.png
Screenshot from 2020-04-26 21-46-48.png (193.42 KiB) Viewed 914 times
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

yes, but on a different abstraction layer. I try to have a look on both. bernd

eventually no! Somehow elmer tasks uses a non existant attribut of the output object.
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: *SECTION PRINT implemented for volume elements

Post by HoWil »

User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

rebased onece again to the new FEM module structure and added the example. https://github.com/berndhahnebach/FreeC ... ctionprint


Setup the example with:

Code: Select all

from femexamples.constraint_section_print import setup
setup()
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

UR_ wrote: :bell:
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: *SECTION PRINT implemented for volume elements

Post by bernd »

merged, but any testing is highly appreciated.

https://github.com/FreeCAD/FreeCAD/comp ... fc9471ab49

TODO: The unit test is missing. I will add this later on today.
Post Reply