FEM on Mac OSX

About the development of the FEM module/workbench.

Moderator: bernd

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

Re: FEM on Mac OSX

Post by bernd »

Bernard wrote: Thu Nov 09, 2017 1:06 pm NetGen is included in the OsX build and works without any changes. GMSH works also fine without changes! Z88? I d'ont know yet. Any hints are welcome. I do not know on how to test this yet.
Thanks for your answer.

In the regard of z88. Z88 is only of interest if you explizit know Z88, if not use ccx (Calculix). Z88 was implemented just to have a second solver to get rid of all solverdependend code. Lot's of constraints are only supported by ccx. If you would give z88 a try you need to get the binary from https://github.com/LSCAD/Z88OS/tree/master/bin/mac (you only need the z88r binary)
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: FEM on Mac OSX

Post by sgrogan »

bernd wrote: Thu Nov 09, 2017 1:50 pm Thanks for your answer.
Hey bernd, I know that OSX uses a patched version of netgen 5.3(w/OCCT7.1), FreeCADer bblacey made the patches. The patches also work on linux, we almost had them working on the PPA, but looo got netgen 6.2 working (with patches), so the plan is to update the PPA to OCCT 7.2, then NetGen 6.2. Unfortunately this is on the FreeCAD "it's done when it's done" schedule.
"fight the good fight"
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: FEM on Mac OSX

Post by bernd »

chris, good to know. To compile FC with patched netgen 6.3 is on my ToDo too as well as Py3. YEAH, it's done when it's done 8-)
tobiask
Posts: 1
Joined: Fri Dec 15, 2017 7:13 am

Re: FEM on Mac OSX

Post by tobiask »

Thank you so much Bernard for your description! I tried for hours to compile calculiX using the installation guide provided on the calculiX website and never got it to work. With homebrew I had calculiX 2.13 running within minutes.

For the record, my Configuration is:

OS: Mac OS X (10.11.6 El Capitan)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: tag: 0.16.6706
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17

After installing calculiX 2.13 using homebrew, I only had to set the ccx binary location to /usr/local/Cellar/calculix-ccx/2.13/bin/ccx_2.13 and FEM was immediately working!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FEM on Mac OSX

Post by Kunda1 »

tobiask wrote: Fri Dec 15, 2017 7:23 am OS: Mac OS X (10.11.6 El Capitan)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: tag: 0.16.6706
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
If you're going to experiment with FEM then please install the latest dev version per https://forum.freecadweb.org/viewtopic.php?f=18&t=12212
FYI 0.16.6706 is obsolete, the stable is .6712
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
sbadamik
Posts: 2
Joined: Mon Dec 25, 2017 2:04 pm

Re: FEM on Mac OSX

Post by sbadamik »

I tried going through brew but for some reason, it says that the formula named "calculix-ccx" cannot be found. Any solutions for a beginner?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FEM on Mac OSX

Post by Kunda1 »

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
sbadamik
Posts: 2
Joined: Mon Dec 25, 2017 2:04 pm

Re: FEM on Mac OSX

Post by sbadamik »

sbadamik wrote: Mon Dec 25, 2017 2:07 pm I tried going through brew but for some reason, it says that the formula named "calculix-ccx" cannot be found. Any solutions for a beginner?
[Solved]: it was because the files weren't in home. Use "brew install Homebrew/homebrew-science/calculix-ccx" instead
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: FEM on Mac OSX

Post by chrisb »

sbadamik wrote: Tue Dec 26, 2017 7:56 am [Solved]: it was because the files weren't in home. Use "brew install Homebrew/homebrew-science/calculix-ccx" instead
Good to hear you got it sorted. If you want to mark the discussion as solved, please prepend the text "[solved]" before the subject of your first post.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
steeler_fanatic
Posts: 7
Joined: Wed Feb 21, 2018 11:33 pm

Re: FEM on Mac OSX

Post by steeler_fanatic »

Just an update on Bernard's directions...

I went through the install process for calculix today and found out that the "brew install calculix-ccx" will not work without first executing "brew tap brewsci/science". This is because the repository where the formula for installing calculix has been retired and moved to this new location.

:D
Post Reply