Can you post the file, so we can try to replicate the problem? What version of FreeCAD do you use?cnirbhay wrote:[..]This thermo-mechanical version is having some problem, I guess. CCX input file writer gets stuck at 50%.
Any solutions?
Can you post the file, so we can try to replicate the problem? What version of FreeCAD do you use?cnirbhay wrote:[..]This thermo-mechanical version is having some problem, I guess. CCX input file writer gets stuck at 50%.
Any solutions?
The thermo-mechanical analysis is only available in the current development version, except you have a special patched version.cnirbhay wrote:Above are the version details. But today I downloaded similar version with thermo-mechanical attributes in which I'm facing the problem.
Hi,cnirbhay wrote:OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Above are the version details. But today I downloaded similar version with thermo-mechanical attributes in which I'm facing the problem.
Here is the file.
ulrich1a is very perceptive. The 32-bit windows version comes bundled with a 32-bit cygwin build of calculix 2.6.x (I think originally compiled by jreigel) I'm working how to properly package this, but in the interim it's easy to get a more recent version yourself, and use the FEM preferences to point to it.ulrich1a wrote:The thermo-mechanical analysis is only available in the current development version, except you have a special patched version.
It could also be, that the windows version is packed with an older version of ccx or an 32-bit-version, which could suffer from a memory limit.
In the past I could calculate only small problems on a 32-bit windows-computer due to this problem.
Hi,sgrogan wrote:ulrich1a is very perceptive. The 32-bit windows version comes bundled with a 32-bit cygwin build of calculix 2.6.x (I think originally compiled by jreigel) I'm working how to properly package this, but in the interim it's easy to get a more recent version yourself, and use the FEM preferences to point to it.ulrich1a wrote:The thermo-mechanical analysis is only available in the current development version, except you have a special patched version.
It could also be, that the windows version is packed with an older version of ccx or an 32-bit-version, which could suffer from a memory limit.
In the past I could calculate only small problems on a 32-bit windows-computer due to this problem.
@bernd has kept up with the advances (search bernd+calculix) He's kept up and posted links to more advance calculix versions on both Win and Debian![]()
viewtopic.php?f=18&t=14404&start=30#p135874
Code: Select all
ccx -v
This is version version 2.8p2
Code: Select all
***********************************************************
** Fixed temperature constraint applied
** written by write_constraints_temperature function
*CFLUX
FemConstraintTemperature,11,110.0
Code: Select all
Using CalculiX binary path from FEM preferences: C:/CalculiX-GE-OSS-2.10-win-x64/bin/ccx.exe
FemTools.setup_working_dir() --> self.working_dir = c:/temp
FemTools.setup_working_dir() --> self.working_dir = c:/temp
FemInputWriterCcx --> self.dir_name --> c:/temp
FemInputWriterCcx --> self.file_name --> c:/temp/Fusion003001002_Mesh.inp
(' ReferenceShape : ', 'Solid', ', ', 'Fusion003001001_solid', ', ', u'Fusion005 (Solid)', ' --> ', '')
(' ReferenceShape : ', 'Vertex', ', ', 'Fusion003001002', ', ', u'FusionAll', ' --> ', 'Vertex3')
(' ReferenceShape : ', 'Vertex', ', ', 'Fusion003001002', ', ', u'FusionAll', ' --> ', 'Vertex17')
editCalculixInputFile c:/temp/Fusion003001002_Mesh.inp
runCalculix
run CalculiX at: C:/CalculiX-GE-OSS-2.10-win-x64/bin/ccx.exe with: c:/temp/Fusion003001002_Mesh
calculixStarted()
PySide.QtCore.QProcess.ProcessState.Running
calculixFinished() 0
PySide.QtCore.QProcess.ProcessState.NotRunning
FemTools.setup_working_dir() --> self.working_dir = c:/temp
Traceback (most recent call last):
File "C:\FreeCAD_0.17\Mod\Fem\_TaskPanelFemSolverCalculix.py", line 148, in calculixFinished
fea.load_results()
File "C:\FreeCAD_0.17\Mod\Fem\FemToolsCcx.py", line 199, in load_results
self.load_results_ccxfrd()
File "C:\FreeCAD_0.17\Mod\Fem\FemToolsCcx.py", line 210, in load_results_ccxfrd
ccxFrdReader.importFrd(frd_result_file, self.analysis, result_name_prefix)
File "C:\FreeCAD_0.17\Mod\Fem\ccxFrdReader.py", line 364, in importFrd
m = readResult(filename)
File "C:\FreeCAD_0.17\Mod\Fem\ccxFrdReader.py", line 82, in readResult
nodes_z = float(line[37:49])
ValueError: invalid literal for float(): 1-1.60000E+0
Code: Select all
CalculiX Launcher is the collection of portable software, that includes:
CalculiX CCX (finite element solver);
CalculiX CGX (preprocessor and postprocessor for CCX);
GMSH (simple parametric 3d program and mesher);
Mesh converters from UNV, MSH, Abaqus INP, VOL formats to CCX INP format.
Most of programs are statically linked or require some common libraries (OpenGL and
GTK2).
There is no special installation procedure.
May be it would be fine to update the old release of ccx for windows (ccx version 2.8p2) to this latest one in the FreeCAD dev packaging...sgrogan wrote:The 32-bit windows version comes bundled with a 32-bit cygwin build of calculix 2.6.x (I think originally compiled by jreigel) I'm working how to properly package this, but in the interim it's easy to get a more recent version yourself, and use the FEM preferences to point to it.
Thanks for the link. See also here: viewtopic.php?f=18&t=17404#p137356easyw-fc wrote:May be it would be fine to update the old release of ccx for windows (ccx version 2.8p2) to this latest one in the FreeCAD dev packaging...
Maurice
Hi @sgrogansgrogan wrote:Thanks for the link. See also here: viewtopic.php?f=18&t=17404#p137356easyw-fc wrote:May be it would be fine to update the old release of ccx for windows (ccx version 2.8p2) to this latest one in the FreeCAD dev packaging...
Maurice
I very much want to improve the situation for the users, I also want to improve respect for the license. Your link gives me another example of how to bundle softwares with different licenses.
Code: Select all
userC@CAD ~
$ git clone git://github.com/prool/ccx_prool ../prool/PROJECTS/ccx_prool
$ cd ../prool/PROJECTS/ccx_prool
Code: Select all
# Prool's makefile
all:
cd ARPACK;sh ./fixhome.sh;make lib
cd ..
cd SPOOLES.2.2;make lib
cd ..
cd CalculiX/ccx_2.11/src;make
cd ../../..
cp CalculiX/ccx_2.11/src/ccx_2.11 ccx
clean:
cd ARPACK;make clean
cd ..
cd SPOOLES.2.2;make clean
cd ..
cd CalculiX/ccx_2.11/src;make clean
cd ../../..
rm ccx
Code: Select all
userC@CAD /home/prool/PROJECTS/ccx_prool
$ make
Code: Select all
Directory of C:\Calculix-211-64
09/15/2016 12:21 PM <DIR> .
09/15/2016 12:21 PM <DIR> ..
09/15/2016 11:50 AM 6,450,816 ccx211-64.exe
06/13/2016 06:55 PM 71,187 cyggcc_s-seh-1.dll
06/13/2016 06:55 PM 1,185,299 cyggfortran-3.dll
06/13/2016 06:56 PM 107,539 cyggomp-1.dll
06/13/2016 06:56 PM 314,899 cygquadmath-0.dll
08/31/2016 02:32 PM 3,306,962 cygwin1.dll
09/15/2016 12:21 PM 0 list.txt
7 File(s) 11,436,702 bytes
2 Dir(s) 366,546,243,584 bytes free
Code: Select all
\home\prool-ok\PROJECTS\ccx_prool\ccx
Can you upload the binaries somewhere?easyw-fc wrote:tested Calculix cxx211-64bin.exe in FC 8434-64b and worked like a charm!
(and running much faster 62s vs 128s on my sample FC file)