Search found 27 matches

by Helios113
Tue Sep 07, 2021 2:29 pm
Forum: FEM
Topic: Multi VTK viewing/support (MoFEM)
Replies: 7
Views: 2080

Re: Multi VTK viewing/support (MoFEM)

Hello, I think you misunderstood what I am trying to achieve, or more probably I just explained it very poorly :( . I am exactly trying to implement multiple datasets in one result object (Option 1). I just wanted to do this without disturbing the code too much, because I am unsure what the (main) F...
by Helios113
Fri Sep 03, 2021 9:24 am
Forum: FEM
Topic: Multi VTK viewing/support (MoFEM)
Replies: 7
Views: 2080

Re: Multi VTK viewing/support (MoFEM)

So I have this working very crudely at the moment. Here is a screen shot of how it looks: Screenshot from 2021-09-03 10-15-14.png I can change between the 6 frames in this example and render displacements. Filters don't work properly yet, but I will tackle than soon. This was done modifying the exis...
by Helios113
Thu Sep 02, 2021 10:05 pm
Forum: FEM
Topic: Multi VTK viewing/support (MoFEM)
Replies: 7
Views: 2080

Re: Multi VTK viewing/support (MoFEM)

Ok, so from a day of testing I figured out that modifying the existing framework will lead to a lot of head aches. I think there are still ways to do it and it is a good learning experience, because even if it is ultimately a bad idea, I can use the knowledge to create the new objects in a jiffy. I ...
by Helios113
Thu Sep 02, 2021 2:21 pm
Forum: Pull Requests
Topic: #4982 Adding a spring boundary condition
Replies: 8
Views: 8640

Re: #4982 Adding a spring boundary condition

You can have a look at the UI here: https://github.com/Helios113/FreeCAD/tr ... l_boundary
You can either get the new ui file or just build this. It's not fully baked because I need to compile MoFEM with static binaries but it's more difficult than I thought, so I disabled some features.
by Helios113
Thu Sep 02, 2021 11:09 am
Forum: Pull Requests
Topic: #4982 Adding a spring boundary condition
Replies: 8
Views: 8640

Re: #4982 Adding a spring boundary condition

Hi, So the reason I said only surfaces was because this spring BC is intended to be used by MoFEM, the FEM solver I am implementing. My team said that they don't really like applying springs to vertices or lines, so I disabled those options. If someone needs to add springs BCs to other elements, the...
by Helios113
Thu Sep 02, 2021 10:57 am
Forum: FEM
Topic: Multi VTK viewing/support (MoFEM)
Replies: 7
Views: 2080

Multi VTK viewing/support (MoFEM)

Hello, I wanted to ask about multi VTK support in FreeCAD. I looked through a few examples and I saw that the way this is handled now is by creating multiple FemPostPipeLine objects. Then to those one can apply different filters. If I make changes to this pipeline to support multiple VTKs in one obj...
by Helios113
Wed Sep 01, 2021 6:58 am
Forum: Pull Requests
Topic: #4982 Adding a spring boundary condition
Replies: 8
Views: 8640

Re: #4982 Adding a spring boundary condition

Hi,

You can apply the condition only to surfaces. So you can do it on any surface you like :D .
by Helios113
Fri Aug 20, 2021 9:57 am
Forum: Pull Requests
Topic: #4982 Adding a spring boundary condition
Replies: 8
Views: 8640

#4982 Adding a spring boundary condition

Hello, This PR implements a spring boundary condition which will be used by MoFEM for dynamic problems. It can also be used by other solvers that deal with dynamic problems. There is also one addition to stiffness units which is needed as well. Here is link to the PR: https://github.com/FreeCAD/Free...
by Helios113
Fri Aug 20, 2021 9:53 am
Forum: Developers corner
Topic: Saving choices from UI
Replies: 5
Views: 1703

Re: Saving choices from UI

Hello,

How can use that file?

Regards
by Helios113
Thu Aug 19, 2021 3:04 pm
Forum: Developers corner
Topic: Can I connect GUI::FileChooser to a python function
Replies: 3
Views: 872

Re: Can I connect GUI::FileChooser to a python function

Hello,

I figured this one out too. fileNameChange throws the file name as a parameter.