FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

About the development of the FEM module/workbench.

Moderator: bernd

thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by thschrader »

Seems to be a bug. Same error happens here...
Just updatet FrontISTR-wb and solver.
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: German/Germany (de_DE)
User avatar
Eneen
Posts: 61
Joined: Wed Aug 12, 2015 9:06 pm

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by Eneen »

Looks like it's working in 19.3 so most likely plugin needs an update.
And it's so extremely fast: besides super fast calculations exporting input file takes couple of seconds.
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by thschrader »

Just updated FEMFronstISTR-wb and solvers:
error-message when writing inp-file

Code: Select all

11:16:40  Traceback (most recent call last):
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\task_solver_fistrtools.py", line 326, in write_input_file_handler
11:16:40      if self.check_prerequisites_helper():
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\task_solver_fistrtools.py", line 366, in check_prerequisites_helper
11:16:40      message = self.fea.check_prerequisites()
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\fistrtools.py", line 260, in check_prerequisites
11:16:40      from femtools.checksanalysis import check_analysismember
11:16:40  ImportError: cannot import name 'check_analysismember' from 'femtools.checksanalysis' (C:\GA-NT\Anwendungen\TS_513538\FreeCAD\FreeCAD_0.20.27428_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femtools\checksanalysis.py)
Done with:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.27428 (Git)
Build type: Release
Branch: master
Hash: 27460358508a2057e0ec57a418641435f12628dd
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: German/Germany (de_DE)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by Kunda1 »

Heads up: FEM_FrontISTR also needs a package.xml file
https://github.com/FrontISTR/FEM_FrontISTR/issues/3
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
samudge
Posts: 16
Joined: Fri Nov 19, 2021 11:45 am

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by samudge »

thschrader wrote: Sun Mar 20, 2022 10:22 am Just updated FEMFronstISTR-wb and solvers:
error-message when writing inp-file

Code: Select all

11:16:40  Traceback (most recent call last):
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\task_solver_fistrtools.py", line 326, in write_input_file_handler
11:16:40      if self.check_prerequisites_helper():
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\task_solver_fistrtools.py", line 366, in check_prerequisites_helper
11:16:40      message = self.fea.check_prerequisites()
11:16:40    File "C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod\FEM_FrontISTR\fistrtools.py", line 260, in check_prerequisites
11:16:40      from femtools.checksanalysis import check_analysismember
11:16:40  ImportError: cannot import name 'check_analysismember' from 'femtools.checksanalysis' (C:\GA-NT\Anwendungen\TS_513538\FreeCAD\FreeCAD_0.20.27428_Win-LPv12.5.4_vc17.x-x86-64\Mod\Fem\femtools\checksanalysis.py)
I fixed this issue (at least it now works for me, after experiencing this same issue) with this PR:

https://github.com/FrontISTR/FEM_FrontISTR/pull/11

It has not been merged as of right now, so you can clone or checkout my fork if you want to use FrontISTR with FreeCAD 0.20
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by thschrader »

samudge wrote: Sun Jul 31, 2022 1:25 am ... or checkout my fork if you want to use FrontISTR with FreeCAD 0.20
Sorry for the late reply, heavy workload in the office...
I updated the FEM_FrontISTR-wb (workbench + solver, latest MSMPI) via
https://github.com/FrontISTR/FEM_FrontISTR
https://www.frontistr.com/download/

Writing input file, editing, running solver works.
But our Symantec Endpoint Protection kills the hecmw_part1.exe file.
The solver stopps with error. When looking into "Mod/FEM_FrontISTR/bin" folder, the file is deleted after solver run.
It seems I have to call our IT... :roll:
Our is there a workaround?

Solver "error":

Code: Select all

0.0: Check dependencies...
2.4: Writing .inp file and partitioning completed.
0.0: FrontISTR binary: C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod/FEM_FrontISTR/bin/fistr1.exe
0.0: Run FrontISTR...
0.0: Starting FrontISTR...
0.0: FrontISTR is running...
1.4: FrontISTR stopped.
1.4: FrontISTR stdout: 
job aborted:
[ranks] message
[0] application aborted
aborting (comm=0x84000000), error 40958680, comm rank 0
[1] application aborted
aborting (comm=0x84000000), error 40958680, comm rank 1
[2] application aborted
aborting (comm=0x84000000), error 40958680, comm rank 2
[3] application aborted
aborting (comm=0x84000000), error 40958680, comm rank 3
---- error analysis -----
[0-3] on ANDEGF001NB1032
C:\Users\thomas.schrader\AppData\Roaming\FreeCAD\Mod/FEM_FrontISTR/bin/fistr1.exe aborted the job. abort code 40958680
---- error analysis -----
1.4: FrontISTR execute error: 
1.5: Loading result sets... 

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * BIM
  * CfdOF 1.17.6
  * Curves 0.3.0
  * Defeaturing_WB
  * dodo
  * Fasteners
  * FEM_FrontISTR 0.1.0
  * Manipulator 1.4.3
  * Plot
  * Reinforcement
  * WorkFeature
deleted_exe.JPG
deleted_exe.JPG (111.1 KiB) Viewed 1051 times
psg.lgd.fy
Posts: 12
Joined: Thu Mar 10, 2022 7:45 am

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by psg.lgd.fy »

Kunda1 wrote: Sun Mar 20, 2022 3:25 pm Heads up: FEM_FrontISTR also needs a package.xml file
https://github.com/FrontISTR/FEM_FrontISTR/issues/3
Hello, how to use this xml file. I have put the solver in the bin directory of frontlstr.
windows10
freecad0.21
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FEM_FrontISTR: A parallel nonlinear finite element analysis workbench for FreeCAD

Post by Kunda1 »

xml lives in the top level directory per Package_Metadata specs
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply