FEM_FrontISTR Workbench

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: FEM_FrontISTR Workbench

Post by johnwang »

Love the samples. Please add more! The contact ones?

I opened one sample, In FEM wb, use Gmsh to mesh. Sometimes the result node is added to the same level as Analysis. Then the solver can't find that mesh.

But this is a problem of FEM wb. It should add under Analysis in the tree.
mesh.jpg
mesh.jpg (18.26 KiB) Viewed 3128 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
UR_
Veteran
Posts: 1355
Joined: Tue Jan 03, 2017 8:42 pm

Re: FEM_FrontISTR Workbench

Post by UR_ »

my testcase:
https://forum.freecadweb.org/viewtopic. ... 1&p=504665
(Number of quadratic tetrahedrons: 248750)

Profile_stripped.FCStd
(123.61 KiB) Downloaded 60 times




Could only get frontistr AMG/CG to finish :(

myComparison.png
myComparison.png (21 KiB) Viewed 3061 times

Where is the beaf? :shock:
User avatar
MisterMaker
Posts: 744
Joined: Mon Sep 21, 2020 7:41 am
Contact:

Re: FEM_FrontISTR Workbench

Post by MisterMaker »

I btw also tried it and it is a keeper!
Mseh was medium size but calcu had issues with it, and FrontlSTR was way quicker!
https://twitter.com/MvdH74169613/status ... 59969?s=20
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM_FrontISTR Workbench

Post by bernd »

johnwang wrote: Wed Jun 02, 2021 12:16 pm Love the samples. Please add more! The contact ones?

I opened one sample, In FEM wb, use Gmsh to mesh. Sometimes the result node is added to the same level as Analysis. Then the solver can't find that mesh.

But this is a problem of FEM wb. It should add under Analysis in the tree.

mesh.jpg
if the analysis is active the mesh should go into the analysis! If not we should investigate. Would you write the steps to repeate to not get the mesh into the analysis.

bernd
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: FEM_FrontISTR Workbench

Post by johnwang »

bernd wrote: Thu Jun 03, 2021 4:04 pm if the analysis is active the mesh should go into the analysis!
After open one FCstd file, in FEM WB, the A icon is in yellow and if choose the object, the Gmsh G icon is in color, So I could do meshing.

Seems I still need to choose the Analysis node in the tree and active it.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: FEM_FrontISTR Workbench

Post by uwestoehr »

kinagaki wrote: Thu Apr 22, 2021 2:03 pm I hope you find this add-on and FrontISTR of interest.
Hi kinagaki,

many thanks for this great addon!

Since others in the forum could sucessfully use it, I gave it a try as well but failed:

Here is my test file: http://ftp.lyx.de/FreeCAD/Simulation-2- ... ISTR.FCStd

When I write the input file, it says everything worked fine:

Code: Select all

2.6: Writing .inp file and partitioning completed.
I use the option to check the mesh, but I cannot see any different output compared to the analisys type "Static".

When I now run the solver I get

Code: Select all

0.0: FrontISTR binary: C:\Users\USti\AppData\Roaming\FreeCAD\Mod/FEM_FrontISTR/bin/fistr1.exe
0.0: Run FrontISTR...
0.0: Starting FrontISTR...
0.0: FrontISTR is running...
0.3: FrontISTR stopped.
0.3: 
job aborted:
[ranks] message

[0] application aborted
aborting (comm=0x84000000), error 41024216, comm rank 0

[1-3] terminated

---- error analysis -----

[0] on USER-PC
C:\Users\USti\AppData\Roaming\FreeCAD\Mod/FEM_FrontISTR/bin/fistr1.exe aborted the job. abort code 41024216

---- error analysis -----

0.3: FrontISTR execute error: 
0.3: Loading result sets... 
In the report view window of FC I see this error:

Code: Select all

23:07:33  run FrontISTR at: G:/FreeCAD-Simu/FrontISTR/Simulation-2-Cuts-FrontISTR/SolverFISTRTools, n_process =4
23:07:34  Error() 
23:07:34  OutputFileFormat: AVS
23:07:34  We will load the fistr visualized file.
23:07:34  loading results failed: list index out of range
So it seems to be a bug in the workbench. Could you please have a look?

There is another issue:
As you mentioned ISTR can also run thermal analyses but the dialog do not offer the other analysis types:
FreeCAD_Nm6L9Dmik1.png
FreeCAD_Nm6L9Dmik1.png (12.56 KiB) Viewed 2779 times
(They are only available using the solver properties.)
User avatar
kinagaki
Posts: 12
Joined: Sun Apr 18, 2021 12:39 pm
Location: Kanagawa, Japan

Re: FEM_FrontISTR Workbench

Post by kinagaki »

Thanks all for your comments and trials.

@johnwang
FEM_FrontISTR does not support contact analysis at the moment, but the solver does.
I'm working on it in order to provide the contact analysis functionality.

@uwestoehr
Thanks for your report! I could reproduce the same error and it seems to be due to assigning multiple materials in the model.
Honestly, I didn't know that such an analysis is possible on FreeCAD FEM workbench, and failed to take it into account.
I'll work hard to fix this issue since I'm one of the people who would like to do this kind of analysis.

FEM_FrontISTR support for thermal analysis is currently under preparation.
So It is inappropriate to have unsupported functions available in Analysis type...I'm going to fix it.

Sorry for not replying individually, but all your comments are very encouraging. Thanks a lot.
FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: FEM_FrontISTR Workbench

Post by uwestoehr »

kinagaki wrote: Mon Jun 07, 2021 12:00 pm I could reproduce the same error and it seems to be due to assigning multiple materials in the model.
OK. I will add a note to the Wiki page https://wiki.freecadweb.org/FEM_FrontISTR_Workbench for the meantime.
Please don't feel under pressure to fix this soon. We all spend our spare time and there is summer -> many other things to to :)
FEM_FrontISTR support for thermal analysis is currently under preparation.
Good to know. I will add a not to the Wiki page too.

many thanks for all your good work and regards
Uwe
User avatar
kinagaki
Posts: 12
Joined: Sun Apr 18, 2021 12:39 pm
Location: Kanagawa, Japan

Re: FEM_FrontISTR Workbench

Post by kinagaki »

@uwestoehr
Thank you for your kindness. I will update this wb at my own pace :)
FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM_FrontISTR Workbench

Post by bernd »

since this is no longer a anouncement topic, how about move it to FEM part of the forum. It may get even more attraction over there?
Post Reply