Manual create FEM result when use ccx and gmsh

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Manual create FEM result when use ccx and gmsh

Post by felixlee868 »

you guys

Can someone write article for introduction how to use gmsh and ccx and e,g tools to product FEM result?

I use MacOS, and The recently version of FreeCAD crash when I use FEM. I hope I can got some information about how to manual create FEM result when use ccx and gosh.

Thanks
Last edited by felixlee868 on Thu Jul 08, 2021 9:04 am, edited 2 times in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Manual create FEM result when use ccx and gosh

Post by Kunda1 »

What is gosh?
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
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: Manual create FEM result when use ccx and gosh

Post by felixlee868 »

I post two screen capture result:
截屏2021-07-08 10.21.37.png
截屏2021-07-08 10.21.37.png (201.37 KiB) Viewed 1415 times
When I click "Run CalculiX" button. I got next screen capture result:

截屏2021-07-08 10.20.32.png
截屏2021-07-08 10.20.32.png (427.81 KiB) Viewed 1415 times
I don't know why the ccx can't been run on MacOS?


I use IMac Late 2013 , 21.5-inch

OS : macOS Catalina
version 10.15.7
CPU: 2.9 GHz 4-cores Intel Core i5
Memory: 8G DDR3


the next list are freeCAD env installed packages:


aiosmtplib 1.1.6 pyhd8ed1ab_0 conda-forge
appdirs 1.4.4 pyh9f0ad1d_0 conda-forge
appnope 0.1.2 py39h6e9494a_1 conda-forge
argon2-cffi 20.1.0 py39hcbf5805_2 conda-forge
arpack 3.7.0 hefb7bc6_2 conda-forge
async_generator 1.10 py_0 conda-forge
attrs 21.2.0 pyhd8ed1ab_0 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 py_2 conda-forge
backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge
blas 2.109 openblas conda-forge
blas-devel 3.9.0 9_openblas conda-forge
bleach 3.3.0 pyh44b312d_0 conda-forge
blinker 1.4 py_1 conda-forge
boost 1.74.0 py39ha641261_3 conda-forge
boost-cpp 1.74.0 hff03dee_4 conda-forge
brotlipy 0.7.0 py39h89e85a6_1001 conda-forge
bzip2 1.0.8 h0d85af4_4 conda-forge
c-ares 1.17.1 h0d85af4_1 conda-forge
ca-certificates 2021.5.30 h033912b_0 conda-forge
cached-property 1.5.2 hd8ed1ab_1 conda-forge
cached_property 1.5.2 pyha770c72_1 conda-forge
cairo 1.16.0 he43a7df_1008 conda-forge
calculix 2.17 h5f84323_2 conda-forge
certifi 2021.5.30 py39h6e9494a_0 conda-forge
cffi 1.14.5 py39hb71fe58_0 conda-forge
cftime 1.5.0 py39hc89836e_0 conda-forge
chardet 4.0.0 py39h6e9494a_1 conda-forge
cmake 3.20.5 hdbd2f3e_0 conda-forge
coin3d 4.0.0 hf16527e_1011 conda-forge
cryptography 3.4.7 py39ha2c9959_0 conda-forge
curl 7.77.0 hb861fe1_0 conda-forge
cycler 0.10.0 py_2 conda-forge
debugpy 1.3.0 py39h9fcab8e_0 conda-forge
decorator 5.0.9 pyhd8ed1ab_0 conda-forge
defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge
docutils 0.17.1 py39h6e9494a_0 conda-forge
double-conversion 3.1.5 he49afe7_2 conda-forge
doxygen 1.9.1 haade3ac_1 conda-forge
eigen 3.3.9 h926bf3e_1 conda-forge
entrypoints 0.3 pyhd8ed1ab_1003 conda-forge
expat 2.4.1 he49afe7_0 conda-forge
ezdxf 0.16.4 py39hf018cea_0 conda-forge
ffmpeg 4.3.1 hb787a4c_2 conda-forge
flann 1.9.1 h4541d04_1008 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.13.1 h10f422b_1005 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
freecad 0.20.pre py39h7ecd997_23 freecad/label/dev
freecad.asm3 0.10.2 pyhf0f75e1_17 freecad/label/dev
freeimage 3.18.0 h7d96ac2_7 conda-forge
freetype 2.10.4 h4cff582_1 conda-forge
gettext 0.19.8.1 h7937167_1005 conda-forge
git 2.30.2 pl5320h2551975_1 conda-forge
gitdb 4.0.7 pyhd8ed1ab_0 conda-forge
gitpython 3.1.18 pyhd8ed1ab_0 conda-forge
gl2ps 1.4.2 h4cff582_0 conda-forge
glew 2.1.0 h046ec9c_2 conda-forge
gmp 6.2.1 h2e338ed_0 conda-forge
gmpy2 2.1.0b5 py39hab8a6df_0 conda-forge
gmsh 4.8.4 h2770bf5_0 conda-forge
gnutls 3.6.13 h756fd2b_1 conda-forge
graphite2 1.3.13 h2e338ed_1001 conda-forge
h5py 3.3.0 nompi_py39h1bb8402_100 conda-forge
harfbuzz 2.8.1 h159f659_0 conda-forge
hdf4 4.2.15 hefd3b78_3 conda-forge
hdf5 1.10.6 nompi_hc5d9132_1114 conda-forge
homebrew-pypi-poet 0.10.0 pyhd8ed1ab_1 conda-forge
icu 68.1 h74dc148_0 conda-forge
idna 2.10 pyh9f0ad1d_0 conda-forge
ifcopenshell v0.6.0 py39h08985a6_5 conda-forge
ilmbase 2.5.5 hfab91a5_0 conda-forge
importlib-metadata 4.6.1 py39h6e9494a_0 conda-forge
importlib_metadata 4.6.1 hd8ed1ab_0 conda-forge
ipydatawidgets 4.2.0 pyhd3deb0d_0 conda-forge
ipykernel 6.0.1 py39h71a6800_0 conda-forge
ipymesh 0.1.7 py_0 conda-forge
ipypivot 0.2.7 pyhd8ed1ab_0 conda-forge
ipython 7.25.0 py39h71a6800_1 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 7.6.3 pyhd3deb0d_0 conda-forge
jasper 1.900.1 h636a363_1006 conda-forge
jbig 2.1 h0d85af4_2003 conda-forge
jedi 0.18.0 py39h6e9494a_2 conda-forge
jinja2 3.0.1 pyhd8ed1ab_0 conda-forge
jpeg 9d hbcb3906_0 conda-forge
json-c 0.15 hcb556a6_0 conda-forge
jsoncpp 1.9.4 h940c156_2 conda-forge
jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge
jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge
jupyter_core 4.7.1 py39h6e9494a_0 conda-forge
jupyterlab_pygments 0.1.2 pyh9f0ad1d_0 conda-forge
jupyterlab_widgets 1.0.0 pyhd8ed1ab_1 conda-forge
jxrlib 1.1 h35c211d_2 conda-forge
kiwisolver 1.3.1 py39hf018cea_1 conda-forge
krb5 1.19.1 hcfbf3a7_0 conda-forge
lame 3.100 h35c211d_1001 conda-forge
lcms2 2.12 h577c468_0 conda-forge
lerc 2.2.1 h046ec9c_0 conda-forge
libblas 3.9.0 9_openblas conda-forge
libcblas 3.9.0 9_openblas conda-forge
libclang 11.1.0 default_he082bbe_1 conda-forge
libcurl 7.77.0 hf45b732_0 conda-forge
libcxx 11.1.0 habf9029_0 conda-forge
libdeflate 1.7 h35c211d_5 conda-forge
libedit 3.1.20191231 h0678c8f_2 conda-forge
libev 4.33 haf1e3a3_1 conda-forge
libffi 3.3 h046ec9c_2 conda-forge
libgfortran 5.0.0 9_3_0_h6c81a4c_22 conda-forge
libgfortran5 9.3.0 h6c81a4c_22 conda-forge
libglib 2.68.3 hd556434_0 conda-forge
libiconv 1.16 haf1e3a3_0 conda-forge
liblapack 3.9.0 9_openblas conda-forge
liblapacke 3.9.0 9_openblas conda-forge
libllvm11 11.1.0 hd011deb_2 conda-forge
libnetcdf 4.8.0 nompi_hb4d10b0_103 conda-forge
libnghttp2 1.43.0 h07e645a_0 conda-forge
libogg 1.3.4 h35c211d_1 conda-forge
libopenblas 0.3.15 openmp_h5e1b9a4_1 conda-forge
libopencv 4.5.2 py39h852ad08_1 conda-forge
libpng 1.6.37 h7cec526_2 conda-forge
libpq 13.3 hea3049e_0 conda-forge
libprotobuf 3.16.0 hcf210ce_0 conda-forge
libraw 0.20.2 hefd3b78_1 conda-forge
libredwg 0.11.3876 py39hf41e7f8_0 conda-forge
libsodium 1.0.18 hbcb3906_1 conda-forge
libspnav 0.2.3 h01d97ff_1 conda-forge
libssh2 1.9.0 h52ee1ee_6 conda-forge
libtheora 1.1.1 h0d85af4_1005 conda-forge
libtiff 4.3.0 h1167814_1 conda-forge
libuv 1.41.1 h0d85af4_0 conda-forge
libvorbis 1.3.7 h046ec9c_0 conda-forge
libwebp-base 1.2.0 h0d85af4_2 conda-forge
libxcb 1.13 h35c211d_1003 conda-forge
libxml2 2.9.12 h93ec3fd_0 conda-forge
libxslt 1.1.33 h5739fc3_2 conda-forge
libzip 1.8.0 h8b0c345_0 conda-forge
llvm-openmp 11.1.0 hda6cdc1_1 conda-forge
loguru 0.5.3 py39h6e9494a_2 conda-forge
lxml 4.6.3 py39hf41e7f8_0 conda-forge
lz4-c 1.9.3 h046ec9c_0 conda-forge
markdown 3.3.4 pyhd8ed1ab_0 conda-forge
markupsafe 2.0.1 py39h89e85a6_0 conda-forge
matplotlib 3.4.2 py39h6e9494a_0 conda-forge
matplotlib-base 3.4.2 py39hb07454d_0 conda-forge
matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge
meshcat-python 0.1.1 pyhd8ed1ab_0 conda-forge
meshio 4.4.6 pyhd8ed1ab_0 conda-forge
meshplex 0.15.14 pyhd8ed1ab_0 conda-forge
meshplot 0.4.0 pyhd3deb0d_2 conda-forge
meshpy 2020.1 py39h089d6f7_0 conda-forge
mistune 0.8.4 py39h89e85a6_1004 conda-forge
mpc 1.1.0 ha57cd0f_1009 conda-forge
mpfr 4.0.2 h72d8aaf_1 conda-forge
mpmath 1.2.1 pyhd8ed1ab_0 conda-forge
mysql-common 8.0.25 h694c41f_2 conda-forge
mysql-libs 8.0.25 h115446f_2 conda-forge
nbclient 0.5.3 pyhd8ed1ab_0 conda-forge
nbconvert 6.1.0 py39h6e9494a_0 conda-forge
nbformat 5.1.3 pyhd8ed1ab_0 conda-forge
ncurses 6.2 h2e338ed_4 conda-forge
nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge
netcdf4 1.5.7 nompi_py39hfa5ec60_100 conda-forge
netgen 6.2.2006 py39h060e841_3 conda-forge
nettle 3.6 hedd7734_0 conda-forge
nine 1.1.0 py_0 conda-forge
ninja 1.10.2 h9a9d8cb_0 conda-forge
notebook 6.4.0 pyha770c72_0 conda-forge
nspr 4.30 hcd9eead_0 conda-forge
nss 3.67 h31e2bf1_0 conda-forge
numpy 1.21.0 py39h7eed0ac_0 conda-forge
occt 7.5.2 h23a7684_0 conda-forge
oce 0.17.2 1 oce
olefile 0.46 pyh9f0ad1d_1 conda-forge
openblas 0.3.15 openmp_h1efccf2_1 conda-forge
opencamlib 2019.07 py39h810c607_3 conda-forge
opencv 4.5.2 py39h6e9494a_1 conda-forge
openexr 2.5.5 h7fa7ffa_0 conda-forge
openglider 0.06 pyh9f0ad1d_0 conda-forge
openh264 2.1.1 hfd3ada9_0 conda-forge
openjpeg 2.4.0 h6e7aa92_1 conda-forge
openmesh 8.0 h6de7cb9_0 conda-forge
openssl 1.1.1k h0d85af4_0 conda-forge
packaging 21.0 pyhd8ed1ab_0 conda-forge
pandas 1.3.0 py39h4d6be9b_0 conda-forge
pandoc 2.14.0.3 h0d85af4_0 conda-forge
pandocfilters 1.4.2 py_1 conda-forge
parabem 0.3.0 py39hedf5dff_0 conda-forge
parso 0.8.2 pyhd8ed1ab_0 conda-forge
pcl 1.11.1 h720e7f9_4 conda-forge
pcre 8.45 he49afe7_0 conda-forge
perl 5.32.1 0_h0d85af4_perl5 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 8.3.1 py39he9bb72f_0 conda-forge
pip 21.1.3 pyhd8ed1ab_0 conda-forge
pivy 0.6.6 py39hbf07d3a_0 conda-forge
pixman 0.40.0 hbcb3906_0 conda-forge
ply 3.11 py_1 conda-forge
proj 7.2.0 h78d1473_2 conda-forge
prometheus_client 0.11.0 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.19 pyha770c72_0 conda-forge
pthread-stubs 0.4 hc929b4f_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pugixml 1.11.4 he49afe7_0 conda-forge
py-opencv 4.5.2 py39h71a6800_1 conda-forge
pybind11 2.6.2 py39hf018cea_0 conda-forge
pybind11-global 2.6.2 py39hf018cea_0 conda-forge
pycollada 0.7.1 py_0 conda-forge
pycparser 2.20 pyh9f0ad1d_2 conda-forge
pyexcel-ezodf 0.3.4 py_0 conda-forge
pygalmesh 0.9.4 py39h58493d4_0 conda-forge
pygments 2.9.0 pyhd8ed1ab_0 conda-forge
pyngrok 5.0.5 pyhd8ed1ab_0 conda-forge
pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge
pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge
pyrsistent 0.17.3 py39h89e85a6_2 conda-forge
pyside2 5.13.2 py39hbcf2127_4 conda-forge
pysocks 1.7.1 py39h6e9494a_3 conda-forge
python 3.9.6 hd187cdc_0_cpython conda-forge
python-dateutil 2.8.1 py_0 conda-forge
python_abi 3.9 2_cp39 conda-forge
pythonocc-core 7.5.1 py39h874730c_0 conda-forge
pythreejs 2.3.0 pyhd8ed1ab_0 conda-forge
pytools 2021.2.7 pyhd8ed1ab_0 conda-forge
pytz 2021.1 pyhd8ed1ab_0 conda-forge
pyyaml 5.4.1 py39hcbf5805_0 conda-forge
pyzmq 22.1.0 py39h7fec2f1_0 conda-forge
qhull 2020.2 h940c156_1 conda-forge
qt 5.12.9 h126340a_4 conda-forge
qt.py 1.2.2 py_0 conda-forge
quantized-mesh-encoder 0.3.1 py39hc89836e_3 conda-forge
rapidjson 1.1.0 hb1e8313_1002 conda-forge
readline 8.1 h05e3726_0 conda-forge
requests 2.25.1 pyhd3deb0d_0 conda-forge
rhash 1.4.1 h35c211d_0 conda-forge
scipy 1.7.0 py39h056f1c0_0 conda-forge
send2trash 1.7.1 pyhd8ed1ab_0 conda-forge
setuptools 49.6.0 py39h6e9494a_3 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
smesh 9.6.0.2 he6777af_0 conda-forge
smmap 3.0.5 pyh44b312d_0 conda-forge
solvespace 2.4.1 py39ha7aba71_2 freecad/label/dev
soqt 1.6.0 hbcdcefd_2 conda-forge
sqlite 3.36.0 h23a322b_0 conda-forge
svgwrite 1.4.1 pyhd8ed1ab_0 conda-forge
swig 4.0.2 hce5123c_2 conda-forge
sympy 1.8 py39h6e9494a_0 conda-forge
tbb 2020.2 h940c156_4 conda-forge
tbb-devel 2020.2 h940c156_4 conda-forge
terminado 0.10.1 py39h6e9494a_0 conda-forge
testpath 0.5.0 pyhd8ed1ab_0 conda-forge
tk 8.6.10 h0419947_1 conda-forge
tornado 6.1 py39h89e85a6_1 conda-forge
traitlets 5.0.5 py_0 conda-forge
traittypes 0.2.1 pyh9f0ad1d_2 conda-forge
trimesh 3.9.20 pyh6c4a22f_0 conda-forge
typing_extensions 3.10.0.0 pyha770c72_0 conda-forge
tzdata 2021a he74cb21_1 conda-forge
u-msgpack-python 2.7.1 pyh9f0ad1d_0 conda-forge
urllib3 1.26.6 pyhd8ed1ab_0 conda-forge
utfcpp 3.2.1 h694c41f_0 conda-forge
vtk 9.0.1 no_osmesa_py39h9af63fb_109 conda-forge
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
webencodings 0.5.1 py_1 conda-forge
wheel 0.36.2 pyhd3deb0d_0 conda-forge
widgetsnbextension 3.5.1 py39h6e9494a_4 conda-forge
wildmeshing 0.3.0.2 py39h29ee25b_1 conda-forge
x264 1!161.3030 h0d85af4_1 conda-forge
xerces-c 3.2.3 h379762d_2 conda-forge
xlrd 2.0.1 pyhd8ed1ab_3 conda-forge
xlutils 2.0.0 py_0 freecad/label/dev
xlwt 1.3.0 py_1 conda-forge
xorg-fixesproto 5.0 h0d85af4_1002 conda-forge
xorg-inputproto 2.3.2 h35c211d_1002 conda-forge
xorg-kbproto 1.0.7 h35c211d_1002 conda-forge
xorg-libice 1.0.10 h0d85af4_0 conda-forge
xorg-libsm 1.2.3 h0d85af4_1000 conda-forge
xorg-libx11 1.7.2 h0d85af4_0 conda-forge
xorg-libxau 1.0.9 h35c211d_0 conda-forge
xorg-libxdmcp 1.1.3 h35c211d_0 conda-forge
xorg-libxext 1.3.4 h0d85af4_1 conda-forge
xorg-libxfixes 5.0.3 h0d85af4_1004 conda-forge
xorg-libxi 1.7.10 h0d85af4_0 conda-forge
xorg-libxmu 1.1.3 h0d85af4_0 conda-forge
xorg-libxt 1.2.1 h0d85af4_2 conda-forge
xorg-xextproto 7.3.0 h35c211d_1002 conda-forge
xorg-xproto 7.0.31 h35c211d_1007 conda-forge
xz 5.2.5 haf1e3a3_1 conda-forge
yaml 0.2.5 haf1e3a3_0 conda-forge
zeromq 4.3.4 h1c7c35f_0 conda-forge
zipp 3.5.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.11 h7795811_1010 conda-forge
zstd 1.5.0 h582d3a0_0 conda-forge
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: Manual create FEM result when use ccx and gosh

Post by felixlee868 »

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

Re: Manual create FEM result when use ccx and gosh

Post by bernd »

Does it mean you do not get ccx to run on OSX?

See this post if this is your problem. https://forum.freecadweb.org/viewtopic. ... 90#p508724
felixlee868
Posts: 126
Joined: Wed Jul 03, 2019 8:15 am

Re: Manual create FEM result when use ccx and gosh

Post by felixlee868 »

I am using Intel arch MacOS do testing for FreeCAD.
I found there some issues involved the FEM crash.

A) Can't setup Material Density value. ( default is : 0.0000kg/mm^3 )
B) Can't create mesh ( neither gmsh or netgen ), When create mesh for object, The freecad will crash.
C) spooles package not build library used for MacOS.
Post Reply