[Ticket #4617] Virtual elements

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Virtual elements

Post by Pauvres_honteux »

MKraska seams to have some knowledge in how to create virtual elements:
Virtual elements
and
possible virtual element example of internal code example
Last edited by Pauvres_honteux on Thu Apr 08, 2021 5:05 am, edited 2 times in total.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Virtual elements

Post by Pauvres_honteux »

Request: issue #4617
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Virtual elements

Post by Pauvres_honteux »

Hi bernd and joha2.
joha2 wrote:
bernd wrote:
Could Fem mesh: Create mesh groups in python be helpful in making "Virtual elements" come true?
joha2
Posts: 303
Joined: Tue Oct 11, 2016 9:48 pm

Re: Virtual elements

Post by joha2 »

Pauvres_honteux wrote: Fri Apr 23, 2021 4:30 pm Hi bernd and joha2.
Could Fem mesh: Create mesh groups in python be helpful in making "Virtual elements" come true?
bernd wrote:
Hi, sorry for my late response! The mesh groups in Python (and those in the GUI) may be used to collect certain elements and put them together to groups. You may also collect nodes in the groups, although - as far as I know -, there is no GUI function for that, yet. If those nodes are within one group, you may use this group to implement some constraint equations in your favorite FEM solver, e.g. Calculix. Because I have no experience with Calculix itself, I don't know how to do that. So, in principle the basic organizational stuff is there, but it still needs to be implemented. What do you think @bernd?

Best wishes
Johannes
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Virtual elements

Post by Pauvres_honteux »

joha2 wrote: Wed Jun 02, 2021 10:13 am ... there is no GUI function for that, yet ...
Perhaps it's "just" a matter of creating that GUI then?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Virtual elements

Post by bernd »

Pauvres_honteux wrote: Fri Jun 04, 2021 1:30 pm
joha2 wrote: Wed Jun 02, 2021 10:13 am ... there is no GUI function for that, yet ...
Perhaps it's "just" a matter of creating that GUI then?
Yes and some more tweaks here and there. Wit this commit a new constraint is added. It is not much just the right code at the right places ...

https://github.com/berndhahnebach/FreeC ... ac9fdf0968

it adds:
- a new FreeCAD GUI command
- a new FreeCAD FEM object
- a icon for it
- a tool to collect the FEM nodes and elements
- the methods for the solver writer to write it to the input file
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Virtual elements

Post by bernd »

joha2 wrote: Wed Jun 02, 2021 10:13 am
Pauvres_honteux wrote: Fri Apr 23, 2021 4:30 pm Hi bernd and joha2.
Could Fem mesh: Create mesh groups in python be helpful in making "Virtual elements" come true?
bernd wrote:
Hi, sorry for my late response! The mesh groups in Python (and those in the GUI) may be used to collect certain elements and put them together to groups. You may also collect nodes in the groups, although - as far as I know -, there is no GUI function for that, yet. If those nodes are within one group, you may use this group to implement some constraint equations in your favorite FEM solver, e.g. Calculix. Because I have no experience with Calculix itself, I don't know how to do that. So, in principle the basic organizational stuff is there, but it still needs to be implemented. What do you think @bernd?
totally correct, With this one could implement it without creating a real FEM object and all the needed tweaks for a real FEM object like linked in the last post.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Virtual elements

Post by Pauvres_honteux »

bernd wrote: Wed Jun 09, 2021 1:24 pm With this commit, a new constraint is added.

It adds:
- a new FreeCAD GUI command
- a new FreeCAD FEM object
- an icon for it
- a tool to collect the FEM nodes and elements
- methods for the solver to write it to the input file
Wohoo! (doing my happy dance) :D
Last edited by Pauvres_honteux on Tue Aug 24, 2021 4:24 pm, edited 1 time in total.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [Ticket #4617] Virtual elements

Post by bernd »

But these are not the virtual elements. These just shows how they would have to be implemented.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: [Ticket #4617] Virtual elements

Post by Pauvres_honteux »

bernd wrote: Thu Jun 10, 2021 9:31 am But these are not the virtual elements. These just shows how they would have to be implemented.
Oohh... =O/
Well, name the happiness that lasts forever ...
Post Reply