CalculiX Component for Cubit

Hi everyone,
we made a update for the CalculiX Component for Cubit.
As always you can find the source and the binaries on Github.

So what’s new:
• reading and converting the results can now be done in parallel, the number of threads can be set in the options.
• added two new tabs in the Job Monitor. The .frd and .dat results can now be queried, ploted and exported as .csv directly in cubit

1 Like

This is definitely nice to advertise here, there is a lot of room for tooling for CalculiX!

Was the Linux support always there, or is that relatively new?

The Linux support was always there. The windows build is relative new.

You don’t necessarily have to wait for a new project to try it. You can also use the component to convert already existing results.
Here is a example based on the heat exchanger tutorial.

First lets import the mesh and also add new element sets that can be later chosen in paraview.
After that we create a job with the same name as the result file (must be .frd results). After that we change the location for the working directory to the location of the result file.
Then we can load and convert the results. The converted results can then be opened in paraview.

#!cubit
reset
import abaqus "/home/user/precice/tutorials/heat-exchanger/solid-calculix/solid.inp"

#add blocks
set duplicate block elements on
block 2 add tet all with x_coord<0
block 2 name "test1"
block 3 add tet all with x_coord > 0
block 3 name "test2"

#load and convert results
ccx create job name solid
cd "/home/user/precice/tutorials/heat-exchanger/solid-calculix/"
ccx result load job 1
ccx result convert job 1


1 Like

Hi everyone,
we made a update for the CalculiX Component for Cubit.
As always you can find the source and the binaries on Github.

So what’s new:
• save file support: the Cubit-CalculiX data will now be saved and loaded together with the cubit .cub5 file. In the options you can choose if you want to save the .frd and .dat results too. If you want to keep the file smaller uncheck the option and just reload the results after opening.
• the component will now be shipped with Paraview 5.13.1

Hi everyone,
we made a update for the CalculiX Component for Cubit.
As always you can find the source and the binaries on Github.

So what’s new:
• save file support: the Cubit-CalculiX data will now be saved and loaded together with the cubit .cub5 file. In the options you can choose if you want to save the .frd and .dat results too. If you want to keep the file smaller uncheck the option and just reload the results after opening.
• the component will now be shipped with Paraview 5.13.1

Hi everyone,
we made a update for the CalculiX Component for Cubit.
As always you can find the source and the binaries on Github.

So what’s new:
• save file support: the Cubit-CalculiX data will now be saved and loaded together with the cubit .cub5 file. In the options you can choose if you want to save the .frd and .dat results too. If you want to keep the file smaller uncheck the option and just reload the results after opening.
• the component will now be shipped with Paraview 5.13.1

Hi everyone,
a new update for the CalculiX Component for Cubit is out.
As always you can find the source and the binaries on Github.

So what is new:

We implemented a Materiallibrary. The syntax is similar to the standard cubit syntax. The modification of the library shouldn’t be too hard.

ccx create materiallibrary group name <name> 
ccx modify materiallibrary group name <name> new_name <new_name> 
ccx modify materiallibrary group name <name> description <description> 
ccx delete materiallibrary group name <name> 
ccx create materiallibrary material name <name> groupname <groupname> 
ccx modify materiallibrary material name <name> groupname <groupname> new_name <new_name> 
ccx modify materiallibrary material name <name> groupname <groupname> description <description> 
ccx modify materiallibrary material name <name> groupname <groupname> scalar_properties <scalar_properties> <value> 
ccx modify materiallibrary material name <name> groupname <groupname> matrix_property <matrix_property> <values>... 
ccx delete materiallibrary material name <name> groupname <groupname> 
ccx export materiallibrary cubit_name <cubit_name> name <name> groupname <groupname> 
ccx import materiallibrary name <name> groupname <groupname> cubit_name <cubit_name> 

The gui for the Materialmanagement was also changed to include the Materiallibrary. The materials in the library can be changed just like the materials in cubit. Also take a look at the now available Material cards, if you are missing one just write me.

We included the model keywords for damping and the physical constants.

It is now possible to also define Dynamic, Modal Dynamic, Steady State Dynamics and Complex Frequency steps.

We added support for new loads. The *Film and *Radiate keywords are now supported.
Also created a load called trajectory. It can be used to define moving heatfluxes.
The magnitude can be assigned to a radius. This way you can create a profile for the heatsource.

You can get access to the drawn faces of the trajectory through the python api.
That could for example be used for refinement along the trajectory path.

# refinement with the use of the python interface
#!python
import numpy
face_ids = ccx.loadstrajectory_get_draw_face_ids(1)
all_face_ids=[]
for node in face_ids:
 for radius in node:
  for face in radius:
   all_face_ids.append(face)

all_face_ids=list(numpy.unique(all_face_ids))

if len(all_face_ids)>0:
 status=cubit.cmd(f"refine hex all in face {' '.join(str(id) for id in all_face_ids)} numsplit 1 bias 1.0 depth 0")
print(f"refinement {status}")

moving_heatsource

@NorbertH very interesting! I think this would be a nice addition to the FEM module of FreeCAD, which uses CaluliX under the hood.

Hi everyone,
a new update for the CalculiX Component for Cubit is out.
As always you can find the source and the binaries on Github.

So what is new:

  • changing cubit version to 2025.3
  • windows history bug is now fixed
  • surface traction load is now available
  • equations can be defined
  • equations from coincident nodes group can be created
  • section print support
  • initial condition stress can be set per element or block
  • live monitor based on .sta and .cvg
    live_monitor
1 Like

Hi everyone,
a new update for the CalculiX Component for Cubit is out.
As always you can find the source and the binaries on Github.

What’s new:

  • changing cubit version to 2025.8
  • some bug fixes that caused crashing on windows
  • load: bodyheatflux
  • load: trajectory bodyheatflux sphere

example

example

1 Like

@NorbertH thanks for all the updates! It’s nice to see the fast development.

I took the liberty to merge the release topics, to keep things together and reduce duplication. This might trigger more participation from others as well, as the discussion turns from “what is this new version” to “what is this tool and what can it do”.

Please use this thread for further release announcements.

Thanks a lot!

I recently held a webinar for coreform to show the workflow for setting up a contact model.

1 Like