How to run Calculix tests

Just stumbled at, for example, beamdy1.inp.

ccx beamdy1

Job finished

cgx -v beamdy1.frd

I manage to
prnt se
1 all stat:o n:261 e:32 f:72 p:0 l:0 c:0 s:0 b:0 L:0 S:0 se:0 sh:0 v:0
plus all f
plus: set:f does not exist
plus f all green
plus e all
plot n all
plot n CN7 blue
plot: set:CN7 does not exist

while beamdy1.inp contains
*NSET, NSET=CN7
97, 96, 95, 94, 93, 20, 19, 18, 17, 16, 15,
14, 13, 12, 11, 10, 9, 4, 3, 2, 1
*BOUNDARY
CN7, 1
*BOUNDARY
CN7, 2
*BOUNDARY
CN7, 3
I want to see some load of the beam and reaction of the beam also. The animation would be good as well, and whatever staff, possible, to be obtained. There is no dataset in the menu, this is strange to me but I have no idea what to do.

I’m not really familiar with cgx commands so usually I just use the options from the menu:

In what form do you want to see the loads and reactions ?

You see I do not have dataset on the menu

The sets are defined in the input file.

So after opening the frd file, you also have to read the inp file to have access to the sets. To view things, I like to write an fbd file for it.
This is my template to view stress:

# Define the view.
rot y
rot r 135
rot u 30

# Read result data
read job.frd
# Read input data (sets)
read job.inp
frame

# First line of text below the window.
capt FEA result of ...
# Second line of text.
ulin Worst principal stress

# Stress
# Use the “turbo” colormap.
cmap turbo
# ds 4 is zzstr. e23 is worstPS
ds 4 e 23
# View the deformed state.
view disp
# Don't use shading.
view sh off
# Show the element borders
view elem
# Scale the deformation by a factor 10.
scal d 10

This means I only have to sort out the view orientation et cetera once.

I usually name this file view-stress.fbd.
So viewing the stress results is as simple as:

cgx -b view-stress.fbd

Thank you. I will try it later.