Split writing of input files

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Split writing of input files

Post by bernd »

vdwalts wrote:
How about this?
https://github.com/berndhahnebach/FreeC ... /femsplit2
I tested it and it works like a charm. If everyone is happy we can maybe put in a pull request to get it into the main branch?
Have you been testing on Windows or Linux? I have tested on Linux. I have tested to move all input files to another directory and did run ccx manually with the files. It worked too. I would like to see this working on Windows too before we gone make a Pull Request.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Split writing of input files

Post by makkemal »

We don't use a windows version anymore. will try it again when we can compile netgen for windows
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Split writing of input files

Post by bernd »

makkemal wrote:We don't use a windows version anymore. will try it again when we can compile netgen for windows
Have you been able to compile FreeCAD with new smesh and netgen on Windows? Sgrogan is still trying without success AFAIK.

@sgrogan:
would it be possible to provide a FreeCAD binary of this branch:
https://github.com/berndhahnebach/FreeC ... /femsplit2

Lot of people use the latest WinDev for FEM. I'd like to test it on Windows before we gone make a PulRequest. We do not need netgen for testing this.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Split writing of input files

Post by sgrogan »

bernd wrote:@sgrogan:
would it be possible to provide a FreeCAD binary of this branch:
Will do, this evening my time.
I was finally able to get nglib to compile but I haven't got it working with FreeCAD yet.
"fight the good fight"
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Split writing of input files

Post by makkemal »

I was finally able to get nglib to compile but I haven't got it working with FreeCAD yet.
Once we have a windows daily development release the FEM user base will grow dramatically
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Split writing of input files

Post by sgrogan »

bernd wrote:would it be possible to provide a FreeCAD binary of this branch:
https://github.com/sgrogan/FreeCAD/rele ... -femsplit2
"fight the good fight"
fandaL
Posts: 440
Joined: Thu Jul 24, 2014 8:29 am

Re: Split writing of input files

Post by fandaL »

sgrogan wrote:
bernd wrote:would it be possible to provide a FreeCAD binary of this branch:
https://github.com/sgrogan/FreeCAD/rele ... -femsplit2
Thanks for the effort.
When I check on check button and click OK nothing changes. Inp file is not splitted and when opening Preferences again it is again unchecked.
preferences_split_inp.png
preferences_split_inp.png (66.76 KiB) Viewed 4200 times
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8820 (Git)
Build type: Release
Branch: femsplit2
Hash: bd734aa088a5f7637c248fd73f5b316c09bc82de
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: Split writing of input files

Post by makkemal »

I get the same you click apply but when you open preferences it is unchecked again
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Split writing of input files

Post by bernd »

fixed in https://github.com/berndhahnebach/FreeC ... /femsplit3

Moving the splited analysis to another directory and run ccx directly works as well. Seams we could go for a pull request. We should make a unit test for the splitted file writing since with just a simple change the splitted file writing could be break without noticing because there is no unit test.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Split writing of input files

Post by bernd »

Post Reply