Gmsh 4 package available for testing in Community Extras PPA

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
kkremitzki
Posts: 1588
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby kkremitzki » Fri Oct 05, 2018 10:44 am

bernd wrote:
Fri Oct 05, 2018 9:36 am
wow fast ! Which one should I use best on Debian Stretch ?
Hmm, not sure, but I would hesitate to install one of the .deb files from the PPA. Normally I would recommend just cloning the package source repository (https://salsa.debian.org/kkremitzki-guest/calculix-ccx) and building it but the package is set up in a bit of a strange way that breaks if you don't use git-buildpackage which requires some dotfiles to behave correctly.

If you're feeling adventurous you could try this:

1. Create a file ~/.gbp.conf with these contents: https://wiki.debian.org/PackagingWithGi ... e_gbp.conf
2. Run sudo apt install git-buildpackage
3. Run gbp clone --all https://salsa.debian.org/kkremitzki-guest/calculix-ccx
4. Run cd calculix-ccx && gbp buildpackage -us -uc

Edit: You may also want to modify the ~/.gbp.conf I linked, particularly the postbuild line:

Code: Select all

postbuild = lintian -iIE --pedantic $GBP_CHANGES_FILE && echo "Lintian OK""" || echo "Lintian NOT OK" && true
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Posts: 7908
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby bernd » Sun Oct 07, 2018 5:24 pm

https://launchpad.net/~freecad-communit ... d/15512624 I did not hesitate and gave this a try https://launchpad.net/~freecad-communit ... d/15512624 It worked like a charm :D

I may even give your description with git-buildpackage a try too.
User avatar
bernd
Posts: 7908
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby bernd » Sun Oct 07, 2018 5:33 pm

Ahh Kurt there are another two, they work with FreeCAD FEM already but are not available neither for Debian nor for Ubuntu AFAIK.

In FEM we have another two solver Z88 and elmer are outdated in Stretch too ...

Z88
See https://packages.debian.org/stable/z88 Version 13 is years old, really years (for sure more than 5) ... Version 15 is the current one https://en.z88.de/download-z88os/


Elmer has been removed in Debian
https://packages.debian.org/search?keywords=elmer
User avatar
kkremitzki
Posts: 1588
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby kkremitzki » Sun Oct 07, 2018 6:13 pm

bernd wrote:
Sun Oct 07, 2018 5:33 pm
Ahh Kurt there are another two, they work with FreeCAD FEM already but are not available neither for Debian nor for Ubuntu AFAIK.

In FEM we have another two solver Z88 and elmer are outdated in Stretch too ...

Z88
See https://packages.debian.org/stable/z88 Version 13 is years old, really years (for sure more than 5) ... Version 15 is the current one https://en.z88.de/download-z88os/


Elmer has been removed in Debian
https://packages.debian.org/search?keywords=elmer
Yes, I knew about Elmer and have been working on it for quite some time. I'm pretty close to having an updated package available for release. I didn't know about the state of Z88 though! I'll add that to the list.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Posts: 7908
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby bernd » Sun Oct 07, 2018 6:39 pm

:D
User avatar
Kunda1
Posts: 4581
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby Kunda1 » Tue Dec 04, 2018 6:16 pm

Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 4581
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby Kunda1 » Wed Dec 12, 2018 3:23 am

Heads up, new release from the Gmsh folks:

From http://gmsh.info/CHANGELOG.txt
Gmsh 4.0.7 (December 9, 2018): fixed small memory leaks; removed unused code.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 4581
Joined: Thu Jan 05, 2017 9:03 pm

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby Kunda1 » Mon Jan 14, 2019 1:21 am

New release:
4.1.0 (January 13, 2019): improved ONELAB and Fltk support in API; improved
renumbering of mesh nodes/elements; major code refactoring.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
bernd
Posts: 7908
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby bernd » Mon Jan 14, 2019 5:46 am

wafi
Posts: 65
Joined: Sat Oct 15, 2016 8:45 am

Re: Gmsh 4 package available for testing in Community Extras PPA

Postby wafi » Mon Jan 14, 2019 10:20 am

moin

I had a small problem with my computer ... and after more or less rebuilding, nearly everything is working, except FEM and CfD with FreeCAD.
In both cases meshing is not possible, in the FEM WB: Gmsh requires OpenCASCADE to import shape
What I do not understand, Gmsh is newest version: gmsh ist schon die neueste Version (4.0.2+dfsg1-0ppa1~ubuntu18.04)
BUT if I am looking for version number with Gmsh -- version, it is said that version no is 3.0.2 ...?
In CfD WB nearly same trouble, meshing the regions with cfmesh not possible, no failure message, just nothing is going on. I pretty sure that I made a failure, but I not able to find it. Please assist.


OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15611 (Git)
Build type: Release
Branch: master
Hash: 64a94ae0f7c60fc981086fe157150a9c0dca29c6
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)