Export FEM results for a sub-mesh

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
aether
Posts: 5
Joined: Thu May 31, 2018 11:39 am

Export FEM results for a sub-mesh

Post by aether »

Hi FC,

I'm following up on https://forum.freecadweb.org/viewtopic.php?f=18&t=48882 which explains how to export the mesh coordinates/displacements before and after FEM calculation. I was able to reproduce this without trouble. The output is a list of [Vector(float, float, float)].

Is there a recommended way to similarly get the displacement data for certain surfaces in the model? For example, in the attached model, suppose I want the displacements specifically for Body002.Pad002.Face3. By design, since the mesh is conformal at this interface, the displacements are the same for Cut.Face6. Do I export the entire 3D mesh and then do some post-processing? Or is there some mesh jujitsu that will give access to the desired displacements directly?

Hope that's clear and thanks in advance for any help.

John


OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +148 (Git)
Build type: Release
Branch: Branch_0.19.4
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
Attachments
example.FCStd
(93.2 KiB) Downloaded 26 times
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Export FEM results for a sub-mesh

Post by Jee-Bee »

I don't say none FEM software calculates back from meshes to a surface, but i have to say i never saw it.
The main reason is that in most circumstances a face don't have a single displacement value but a bunch of different ones.
I add a simple model just check the result object and you see what i mean.
Example_answer.FCStd
(256.79 KiB) Downloaded 28 times
aether
Posts: 5
Joined: Thu May 31, 2018 11:39 am

Re: Export FEM results for a sub-mesh

Post by aether »

Ok, thanks for your response @Jee-Bee. I will work around.
Post Reply