# Assistance Needed with CalculiX Input File Warnings and Errors

**URL:** <https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965>\
**Category:** Uncategorized\
**Created:** [December 12, 2023, 10:05am UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965 "2023-12-12T10:05:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavita](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@Bhavita](https://calculix.discourse.group/u/Bhavita)\
**Post date:** [December 12, 2023, 10:05am UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/1 "2023-12-12T10:05:45Z")

</div>

When attempting to run the attached abaqus inp file in calculiX, I encounter warnings and errors, as shown in the attached image. Can someone help in resolving these issues?  
\*Heading  
\*Preprint, echo=NO, model=NO, history=NO, contact=NO  
\*\*PARTS  
\*Part, name=Part-1  
\*Node  
1, 0, 0, 0  
2, 3, 0, 0  
3, 6, 0, 0  
4, 9, 0, 0  
5, 12, 0, 0  
6, 15, 0, 0  
7, 0, 3, 0  
8, 3, 3, 0  
9, 6, 3, 0  
10, 9, 3, 0  
11, 12, 3, 0  
12, 15, 3, 0  
13, 0, 6, 0  
14, 3, 6, 0  
16, 9, 6, 0  
17, 12, 6, 0  
18, 15, 6, 0  
19, 0, 9, 0  
20, 3, 9, 0  
21, 6, 9, 0  
22, 9, 9, 0  
23, 12, 9, 0  
24, 15, 9, 0  
25, 0, 12, 0  
26, 3, 12, 0  
27, 6, 12, 0  
28, 9, 12, 0  
29, 12, 12, 0  
30, 15, 12, 0  
31, 0, 15, 0  
32, 3, 15, 0  
33, 6, 15, 0  
34, 9, 15, 0  
35, 12, 15, 0  
37, 0, 0, 3  
38, 3, 0, 3  
39, 6, 0, 3  
40, 9, 0, 3  
41, 12, 0, 3  
42, 15, 0, 3  
43, 0, 3, 3  
44, 3, 3, 3  
45, 6, 3, 3  
46, 9, 3, 3  
47, 12, 3, 3  
48, 15, 3, 3  
49, 0, 6, 3  
50, 3, 6, 3  
52, 9, 6, 3  
53, 12, 6, 3  
54, 15, 6, 3  
55, 0, 9, 3  
56, 3, 9, 3  
57, 6, 9, 3  
58, 9, 9, 3  
59, 12, 9, 3  
60, 15, 9, 3  
61, 0, 12, 3  
62, 3, 12, 3  
63, 6, 12, 3  
64, 9, 12, 3  
65, 12, 12, 3  
66, 15, 12, 3  
67, 0, 15, 3  
68, 3, 15, 3  
69, 6, 15, 3  
70, 9, 15, 3  
71, 12, 15, 3  
73, 0, 0, 6  
74, 3, 0, 6  
75, 6, 0, 6  
76, 9, 0, 6  
77, 12, 0, 6  
78, 15, 0, 6  
79, 0, 3, 6  
80, 3, 3, 6  
81, 6, 3, 6  
82, 9, 3, 6  
83, 12, 3, 6  
84, 15, 3, 6  
85, 0, 6, 6  
86, 3, 6, 6  
87, 9, 6, 6  
88, 12, 6, 6  
89, 15, 6, 6  
90, 0, 9, 6  
91, 3, 9, 6  
92, 6, 9, 6  
93, 9, 9, 6  
94, 12, 9, 6  
95, 15, 9, 6  
96, 0, 12, 6  
97, 3, 12, 6  
98, 6, 12, 6  
99, 9, 12, 6  
100, 12, 12, 6  
101, 15, 12, 6  
102, 0, 15, 6  
103, 3, 15, 6  
104, 6, 15, 6  
105, 9, 15, 6  
106, 12, 15, 6  
107, 0, 0, 9  
108, 3, 0, 9  
109, 6, 0, 9  
110, 9, 0, 9  
111, 12, 0, 9  
112, 15, 0, 9  
113, 0, 3, 9  
114, 3, 3, 9  
115, 6, 3, 9  
116, 9, 3, 9  
117, 12, 3, 9  
118, 15, 3, 9  
119, 0, 6, 9  
120, 3, 6, 9  
121, 9, 6, 9  
122, 12, 6, 9  
123, 15, 6, 9  
124, 0, 9, 9  
125, 3, 9, 9  
126, 6, 9, 9  
127, 9, 9, 9  
128, 12, 9, 9  
129, 15, 9, 9  
130, 0, 12, 9  
131, 3, 12, 9  
132, 6, 12, 9  
133, 9, 12, 9  
134, 12, 12, 9  
135, 15, 12, 9  
136, 0, 15, 9  
137, 3, 15, 9  
138, 6, 15, 9  
139, 9, 15, 9  
140, 12, 15, 9

\*Element, type=C3D8, elset=Set-all  
24,28,29,35,34,64,65,71,70  
19,22,23,29,28,58,59,65,64  
23,27,28,34,33,63,64,70,69  
18,21,22,28,27,57,58,64,63  
22,26,27,33,32,62,63,69,68  
17,20,21,27,26,56,57,63,62  
21,25,26,32,31,61,62,68,67  
16,19,20,26,25,55,56,62,61  
11,13,14,20,19,49,50,56,55  
6,7,8,14,13,43,44,50,49  
1,1,2,8,7,37,38,44,43  
2,2,3,9,8,38,39,45,44  
3,3,4,10,9,39,40,46,45  
4,4,5,11,10,40,41,47,46  
5,5,6,12,11,41,42,48,47  
10,11,12,18,17,47,48,54,53  
9,10,11,17,16,46,47,53,52  
15,17,18,24,23,53,54,60,59  
14,16,17,23,22,52,53,59,58  
20,23,24,30,29,59,60,66,65  
49,64,65,71,70,100,101,107,106  
44,58,59,65,64,94,95,101,100  
48,63,64,70,69,99,100,106,105  
43,57,58,64,63,93,94,100,99  
47,62,63,69,68,98,99,105,104  
42,56,57,63,62,92,93,99,98  
46,61,62,68,67,97,98,104,103  
41,55,56,62,61,91,92,98,97  
36,49,50,56,55,85,86,92,91  
31,43,44,50,49,79,80,86,85  
26,37,38,44,43,73,74,80,79  
27,38,39,45,44,74,75,81,80  
28,39,40,46,45,75,76,82,81  
29,40,41,47,46,76,77,83,82  
30,41,42,48,47,77,78,84,83  
35,47,48,54,53,83,84,90,89  
34,46,47,53,52,82,83,89,88  
40,53,54,60,59,89,90,96,95  
39,52,53,59,58,88,89,95,94  
45,59,60,66,65,95,96,102,101  
74,100,101,107,106,136,137,143,142  
69,94,95,101,100,130,131,137,136  
73,99,100,106,105,135,136,142,141  
68,93,94,100,99,129,130,136,135  
72,98,99,105,104,134,135,141,140  
67,92,93,99,98,128,129,135,134  
71,97,98,104,103,133,134,140,139  
66,91,92,98,97,127,128,134,133  
61,85,86,92,91,121,122,128,127  
56,79,80,86,85,115,116,122,121  
51,73,74,80,79,109,110,116,115  
52,74,75,81,80,110,111,117,116  
53,75,76,82,81,111,112,118,117  
54,76,77,83,82,112,113,119,118  
55,77,78,84,83,113,114,120,119  
60,83,84,90,89,119,120,126,125  
59,82,83,89,88,118,119,125,124  
65,89,90,96,95,125,126,132,131  
64,88,89,95,94,124,125,131,130  
70,95,96,102,101,131,132,138,137

\*Nset, nset=Set-Ground  
1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,  
18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,  
34,35

\*Nset, nset=Part-1  
28,29,35,34,64,65,71,70,  
22,23,29,28,58,59,65,64,  
27,28,34,33,63,64,70,69,  
21,22,28,27,57,58,64,63,  
26,27,33,32,62,63,69,68,  
20,21,27,26,56,57,63,62,  
25,26,32,31,61,62,68,67,  
19,20,26,25,55,56,62,61,  
13,14,20,19,49,50,56,55,  
7,8,14,13,43,44,50,49,  
1,2,8,7,37,38,44,43,  
2,3,9,8,38,39,45,44,  
3,4,10,9,39,40,46,45,  
4,5,11,10,40,41,47,46,  
5,6,12,11,41,42,48,47,  
11,12,18,17,47,48,54,53,  
10,11,17,16,46,47,53,52,  
17,18,24,23,53,54,60,59,  
16,17,23,22,52,53,59,58,  
23,24,30,29,59,60,66,65,  
64,65,71,70,100,101,107,106

\*Nset, nset=Part-2  
64,65,71,70,100,101,107,106,  
58,59,65,64,94,95,101,100,  
63,64,70,69,99,100,106,105,  
57,58,64,63,93,94,100,99,  
62,63,69,68,98,99,105,104,  
56,57,63,62,92,93,99,98,  
61,62,68,67,97,98,104,103,  
55,56,62,61,91,92,98,97,  
49,50,56,55,85,86,92,91,  
43,44,50,49,79,80,86,85,  
37,38,44,43,73,74,80,79,  
38,39,45,44,74,75,81,80,  
39,40,46,45,75,76,82,81,  
40,41,47,46,76,77,83,82,  
41,42,48,47,77,78,84,83,  
47,48,54,53,83,84,90,89,  
46,47,53,52,82,83,89,88,  
53,54,60,59,89,90,96,95,  
52,53,59,58,88,89,95,94,  
59,60,66,65,95,96,102,101,  
100,101,107,106,136,137,143,142

\*Nset, nset=Part-3  
100,101,107,106,136,137,143,142,  
94,95,101,100,130,131,137,136,  
99,100,106,105,135,136,142,141,  
93,94,100,99,129,130,136,135,  
98,99,105,104,134,135,141,140,  
92,93,99,98,128,129,135,134,  
97,98,104,103,133,134,140,139,  
91,92,98,97,127,128,134,133,  
85,86,92,91,121,122,128,127,  
79,80,86,85,115,116,122,121,  
73,74,80,79,109,110,116,115,  
74,75,81,80,110,111,117,116,  
75,76,82,81,111,112,118,117,  
76,77,83,82,112,113,119,118,  
77,78,84,83,113,114,120,119,  
83,84,90,89,119,120,126,125,  
82,83,89,88,118,119,125,124,  
89,90,96,95,125,126,132,131,  
88,89,95,94,124,125,131,130

\*Elset, elset=Part-1  
24,19,23,18,22,17,21,16,11,6,1,2,3,4,5,  
10,9,15,14,20

\*Elset, elset=Part-2  
49,44,48,43,47,42,46,41,36,31,26,27,28,29,30,  
35,34,40,39,45

\*Elset, elset=Part-3  
74,69,73,68,72,67,71,66,61,56,51,52,53,54,55,  
60,59,65,64,70

\*Solid Section, elset=Set-all, material=Concrete  
,  
\*End Part  
\*\*ASSEMBLY  
\*Assembly, name=Assembly  
\*Instance, name=Model, part=Part-1  
\*End Instance  
\*End Assembly  
\*Amplitude, name=Amp-1, time=TOTAL TIME  
0, 0., 3, 3.  
\*Amplitude, name=Amp-2, time=TOTAL TIME  
1, 0., 4, 3.  
\*Amplitude, name=Amp-3, time=TOTAL TIME  
2, 0., 5, 3.

\*\*MATERIALS  
\*Material, name=Concrete  
\*Density  
2E-09, 0.  
2E-09, 1.  
2E-09, 2.  
2E-09, 3.  
\*Elastic  
0.0780, 0.24, 0.  
0.07801, 0.24, 1.  
0.07802, 0.24, 2.  
0.07803, 0.24, 3.  
\*Mohr Coulomb  
20, 13, 0.  
20, 13, 1.  
20, 13, 2.  
20, 13, 3.  
\*Mohr Coulomb Hardening  
0.00305, 0., 0.  
0.00305042, 0., 1.  
0.00305085, 0., 2.  
0.00305127, 0., 3.

\*\*BOUNDARY CONDITIONS  
\*\*Name: BC-1 Type: Displacement/Rotation  
\*Boundary  
Model.Set-Ground, 1, 1  
Model.Set-Ground, 2, 2  
Model.Set-Ground, 3, 3

\*\*------------------------------------------------------------  
\*Step, name=Step-1, nlgeom=YES, inc=300  
\*Static, stabilize  
0.05, 1., 1e-25, 1.  
\*Dload  
,GRAV, 9810., 0., 0., -1.  
\*Temperature, amplitude=Amp-1  
Model.Part-1, 1.  
\*Model Change, remove  
Model.Part-2  
Model.Part-3  
\*Restart, write, frequency=0  
\*Output, field  
\*Node Output  
U,  
\*Element Output, directions=YES  
PE, PEEQ, S, TEMP  
\*Output, history  
\*Energy Output  
ETOTAL,  
\*End Step

\*\*----------------------------------------------------  
\*Step, name=Step-2, nlgeom=YES, inc=300  
\*Static, stabilize  
0.05, 1., 1e-25, 1.  
\*Dload  
,GRAV, 9810., 0., 0., -1.  
\*Temperature, amplitude=Amp-2  
Model.Part-2, 1.  
\*Model Change, add=WITH STRAIN  
Model.Part-2  
\*Restart, write, frequency=0  
\*Output, field  
\*Node Output  
U,  
\*Element Output, directions=YES  
PE, PEEQ, S, TEMP  
\*Output, history  
\*Energy Output  
ETOTAL,  
\*End Step

\*\*----------------------------------------------------  
\*Step, name=Step-3, nlgeom=YES, inc=300  
\*Static, stabilize  
0.05, 1., 1e-25, 1.  
\*Dload  
,GRAV, 9810., 0., 0., -1.  
\*Temperature, amplitude=Amp-3  
Model.Part-3, 1.  
\*Model Change, add=WITH STRAIN  
Model.Part-3  
\*Restart, write, frequency=0  
\*Output, field  
\*Node Output  
U,  
\*Element Output, directions=YES  
PE, PEEQ, S, TEMP  
\*Output, history  
\*Energy Output  
ETOTAL,  
\*End Step

Thanks,  
Bhavita

 ![Screenshot 2023-12-12 153141](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/7/7fd4edbbe503c9b408cac17555cedaf5ac6db9d6.jpeg)

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [December 12, 2023, 12:31pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/2 "2023-12-12T12:31:27Z")

</div>

Please use the code tags (Ctrl+e) to make this input syntax more readable. Then read this: [A Guide to Modifying Abaqus Input Files for Use in CalculiX](https://calculix.discourse.group/t/a-guide-to-modifying-abaqus-input-files-for-use-in-calculix/1430)

---

<div class="post-metadata">

**Author:** ![Bhavita](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@Bhavita](https://calculix.discourse.group/u/Bhavita)\
**Post date:** [December 12, 2023, 4:27pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/3 "2023-12-12T16:27:27Z")

</div>

Thanks, @Calc_em for sharing this.

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [December 12, 2023, 5:50pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/4 "2023-12-12T17:50:45Z")

</div>

Sure. Go through this guide, try to modify your input file accordingly and let me know if you encounter any syntax issues that are not covered there.

---

<div class="post-metadata">

**Author:** ![Bhavita](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@Bhavita](https://calculix.discourse.group/u/Bhavita)\
**Post date:** [December 13, 2023, 2:21pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/5 "2023-12-13T14:21:51Z")

</div>

Hello @Calc_em ,

I have a simulation constraint defined as follows:

1.The bottom face is fixed.  
2.The temperature of the bottom face is set to 353K.  
3.The initial temperature for all faces is 323K.  
4.Heat flux and ambient temperature are specified as 20W/m^2K and 323K, respectively.  
5.The thermal expansion coefficients are given as -0.0032204, -0.0014441, -0.0134487.  
6.The material being used is steel with a Young’s Modulus of 200 GPa and a Poisson’s ratio of 0.3.

Below is the input format I have written for the mentioned constraints. Is it correct?

\*\* MaterialSolid  
\*MATERIAL, NAME=MaterialSolid  
\*ELASTIC  
200000, 0.3

\*EXPANSION  
-0.0032204, -0.0014441, -0.0134487

\*Initial conditions, Type=Temperature  
ConstraintFixed, 79.85

\*\* Sections  
\*SOLID SECTION, ELSET=MaterialSolidSolid, MATERIAL=MaterialSolid

\*\* At least one step is needed to run an CalculiX analysis of FreeCAD  
\*STEP, NLGEOM  
\*STATIC

\*\* Fixed Constraints  
\*\* ConstraintFixed  
\*BOUNDARY  
ConstraintFixed,1  
ConstraintFixed,2  
ConstraintFixed,3

\*TEMPERATURE  
NALL, 49.85

\*FILM  
Evolumes, F1, 49.85, 20

\*\* Outputs → frd file  
\*NODE FILE  
U  
\*EL FILE  
S, E, PEEQ  
\*\* outputs → dat file  
\*\* reaction forces for Constraint fixed  
\*NODE PRINT, NSET=ConstraintFixed, TOTALS=ONLY  
RF  
\*END STEP

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [December 13, 2023, 2:30pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/6 "2023-12-13T14:30:37Z")

</div>

Be careful with values and units. For example, you have Young’s modulus in MPa but the film coefficient is in W/m^2\*K. Check the conversions from K to degC too. The initial temperature seems incorrect.

---

<div class="post-metadata">

**Author:** ![Bhavita](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@Bhavita](https://calculix.discourse.group/u/Bhavita)\
**Post date:** [December 13, 2023, 2:47pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/7 "2023-12-13T14:47:28Z")

</div>

@Calc_em could you please tell what would be the correct conditions for initial temperature, I’m not able to understand that

---

<div class="post-metadata">

**Author:** ![Calc\_em](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Calc\_em](https://calculix.discourse.group/u/Calc_em)\
**Post date:** [December 13, 2023, 2:51pm UTC](https://calculix.discourse.group/t/assistance-needed-with-calculix-input-file-warnings-and-errors/1965/8 "2023-12-13T14:51:34Z")

</div>

323 K = 49.85 °C, not 79.85 °C:

> [@Bhavita](#):
>
> \*Initial conditions, Type=Temperature  
> ConstraintFixed, 79.85

Also, you shouldn’t use the `*TEMPERATURE` keyword if you just want to apply a temperature boundary condition. Use `*BOUNDARY` with 11th DOF for that. `*TEMPERATURE` is meant for analyses without thermal DOFs (purely mechanical) were you prescribe the value of temperature to be used by thermal expansion and other material properties.
