netgen example
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Re: netgen example
How do I run this build from github on a fresh clean buster install?
Re: netgen example
FEM WB netgen mesh looks pretty good
Code: Select all
(base) C:\Users\aio>activate freecad
(freecad) C:\Users\aio>conda list netgen
# packages in environment at C:\Users\aio\Miniconda3\envs\freecad:
#
# Name Version Build Channel
netgen 6.2.1808 py36hf58a83f_0 conda-forge/label/cf201901
(freecad) C:\Users\aio>
Re: netgen example
What version of OCC does netgen link against, it must match FreeCAD.
This version does not have Netgen support, at the time of it's creation there was not a suitable Netgen for OCC 7.3
Where did you get this version from?
"fight the good fight"
Re: netgen example
I have created this build script: https://gist.github.com/reox/522922a1a6 ... edd484f48f
In line 58, you need to adjust the branch though.
as I use occ and netgen directly from debian, those should use the same version - at least in packages.debian.org, I see both 7.3
So it looks like that my FEM build is wrong? is there anything I can check?
Is it possible that the internal smesh does not work with netgen 6.2? I looked at the conda build script, which uses external smesh.
Re: netgen example
@UR_
Is your FreeCAD installed on conda or compiled on conda with the needed tools and libraries installed on conda?
Is your FreeCAD installed on conda or compiled on conda with the needed tools and libraries installed on conda?
Re: netgen example
is there some documentation around how this works?
Re: netgen example
I got this on Linux over the Terminal installing --> over FreeCad-wiki explainationThis version does not have Netgen support, at the time of it's creation there was not a suitable Netgen for OCC 7.3
PatTropos hat geschrieben: ↑
Fr Jun 07, 2019 10:33 am
Version: 0.18.14555 (Git shallow)
Where did you get this version from?
sorry for late answer
Re: netgen example
I am having the same problem on Debian Buster. I started compiling FreeCAD with the following cmake command. I figured this out, as I otherwise get problems with python 2.7 and python 3 installed in parallel.
I am using OCCT and netgen from the Debian distribution.
I remember, that there was a similar problem in the past with such symptoms. But I do not remember the solution.
The actual symptons are, that only some elements of the mesh are shown in FreeCAD. Exporting this mesh as INP-file and opening it with CGX -c mesh.inp shows all other elements, not shown by FreeCAD.
Using the netgen option in the Mesh-workbench results in a proper mesh with all surface 2D-elements.
Ulrich
Code: Select all
cmake ../FreeCAD_sf_master -DBUILD_QT5=ON -DBUILD_FEM_NETGEN=ON -DBUILD_ASSEMBLY=OFF -DBUILD_SHIP=OFF -DBUILD_ROBOT=OFF -DPYTHON_EXECUTABLE=/usr/bin/python3 -DSHIBOKEN_PATTERN=.cpython-37m-x86_64-linux-gnu
I remember, that there was a similar problem in the past with such symptoms. But I do not remember the solution.
The actual symptons are, that only some elements of the mesh are shown in FreeCAD. Exporting this mesh as INP-file and opening it with CGX -c mesh.inp shows all other elements, not shown by FreeCAD.
Using the netgen option in the Mesh-workbench results in a proper mesh with all surface 2D-elements.
Ulrich
Re: netgen example
Actually, i never tried to export the mesh... maybe i would have saw that earlier.
But right now I just get a segfault, when creating the mesh. See this other thread https://forum.freecadweb.org/viewtopic. ... 30#p345362
Apparently, smesh seems to be the culprit
But right now I just get a segfault, when creating the mesh. See this other thread https://forum.freecadweb.org/viewtopic. ... 30#p345362
Apparently, smesh seems to be the culprit