Help on installing CalculiX 2.19 on Windows

Hello everyone, I am currently using PrePoMax interface with CalculiX processor to FEA purposes. However, I need to do a steady state dynamic analysis in my structure and PrePoMax does not support it at this time, even though CalculiX does. For this, I need to modify the input file and run it on CalculiX standalone.

I managed to install CalculiX 2.16 on Linux using this tutorial, but I want to install it on my Windows laptop so I don’t need to boot the Linux OS for this. I tried to install the bconverged distribution but I’m doing something wrong and cannot spot the mistake, what happens is that when I run an analysis the resulting “Data Sets” does not appear on CGX visualization, and I don’t know why. I know it is my mistake, but I have not enough experience to track it.

If you guys have some good tutorial to install it on my machine, I appreciate. It would help me a lot!

Thanks in advance,
Lucas.

In prepomax installation folder look for /Solver subfolder and there you have the ccx exe file, just add that folder to your path or call it directly using an absolute path. Start a windows command prompt (cmd) and launch calculix: ccx -i myjob
ccx executable sometimes has extra characters in the name

3 Likes

I never install CalculiX to use it on Windows. I just:

  1. download the solver files from here: http://www.dhondt.de/calculix_2.19_4win.zip and unzip them
  2. copy the files to the folder with input file defining my analysis
  3. open command line in this folder (select address bar in file explorer, type cmd and press Enter) - PowerShell won’t work
  4. type: ccx_static input_file_name
  5. after the analysis type: cgx_glut results_file_name.frd to postprocess the simulation in GraphiX

You could also convert the .frd tile to .vtk to do the postprocessing in ParaView but there’s no official converter and the existing ones may not always work.

3 Likes

Thank you very much @JuanP74 and @Calc_em , I’ve managed to conduct my desired analysis without any software instalation. It was easier than I expected, hopefully this thread can help somebody in the future.

Best regards,
Lucas.

1 Like

Quick question regarding parallelization: how do I specify the number of CPUs to be used for the analysis if ccx is called from the cmd ?

Thanks!

with bconverged in cmdStartup.bat

Using up to 3 cpu(s) for the stress calculation.

Job finished


Total CalculiX Time: 13.081227


Exit code: 0

2 Likes

On Windows you can use this command:

setx OMP_NUM_THREADS=n

where: n - number of available CPUs.

It will work for all subsequent CalculiX analyses.

1 Like

Thanks. Just for other Users: it should read „set“ and not „setx“

1 Like

Maybe it depends on the system. I used setx and it also worked.

1 Like