# Problem in running lpbf inp in calculix

**URL:** <https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666>\
**Category:** Uncategorized\
**Created:** [April 2, 2025, 5:38pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666 "2025-04-02T17:38:51Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 2, 2025, 5:38pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/1 "2025-04-02T17:38:51Z")

</div>

I’m working on a laser powder-based simulation. I successfully ran the simulation in Abaqus and generated an .inp file. I then modified the .inp file to make it compatible with CalculiX. While I resolved all errors, my simulation still doesn’t start when I run CCX. I was solving a simple cube with a substrate. Below is the CCX log output, and I’ve also attached the .inp file. I would greatly appreciate any help in troubleshooting this issue. Looking forward to your responses!

* * *

CalculiX Version 2.12, Copyright(C) 1998-2015 Guido Dhondt  
CalculiX comes with ABSOLUTELY NO WARRANTY. This is free  
software, and you are welcome to redistribute it under  
certain conditions, see gpl.htm

* * *

You are using an executable made on Tue, Apr 04, 2017 8:38:45 PM

The numbers below are estimated upper bounds

number of:

nodes: 72  
elements: 24  
one-dimensional elements: 0  
two-dimensional elements: 0  
integration points per element: 1  
degrees of freedom per node: 3  
layers per element: 1

distributed facial loads: 0  
distributed volumetric loads: 0  
concentrated loads: 0  
single point constraints: 15  
multiple point constraints: 1  
terms in all multiple point constraints: 1  
tie constraints: 1  
dependent nodes tied by cyclic constraints: 0  
dependent nodes in pre-tension constraints: 0

sets: 11  
terms in all sets: 194

materials: 2  
constants per material and temperature: 2  
temperature points per material: 1  
plastic data points per material: 0

orientations: 0  
amplitudes: 6  
data points in all amplitudes: 6  
print requests: 0  
transformations: 0  
property cards: 0

STEP 1

Static analysis was selected

(Simulation stops after this, no further run)

---

<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:** [April 2, 2025, 5:49pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/2 "2025-04-02T17:49:22Z")

</div>

> [@maheshd](#):
>
> CalculiX Version 2.12, Copyright(C) 1998-2015 Guido Dhondt

You are using very old version of CalculiX, I would suggest switching to 2.22. I get this message from it:

```auto
 *ERROR in dsort: the number of values to be
        sorted is not positive: 0

```

Quite generic but I’ve noticed an issue in your input file (not attached here yet but it was attached in your duplicate post in another thread): `*TEMPERATURE` needs node sets while you are giving it elset names.

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 4, 2025, 11:48am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/3 "2025-04-04T11:48:11Z")

</div>

Hi Calc\_em, Thanks you very much for your insights. I have now assigned \*TEMPERATURE to node sets. I installed newer version 2.22, but i getting this message which you pointed -  
\*ERROR in dsort: the number of values to be  
sorted is not positive: 0

Could you please tell me what this means ? and how to solve it ?

---

<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:** [April 4, 2025, 12:46pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/4 "2025-04-04T12:46:13Z")

</div>

> [@maheshd](#):
>
> I have now assigned \*TEMPERATURE to node sets.

Can you share the updated input file ?

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 4, 2025, 3:00pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/5 "2025-04-04T15:00:35Z")

</div>

> **[Google Drive: Sign-in](https://accounts.google.com/v3/signin/identifier?continue=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1KFITgRZMeMePJU-gH8N5HFJzDnFhLwY4%2Fview%3Fusp%3Ddrive_link&followup=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1KFITgRZMeMePJU-gH8N5HFJzDnFhLwY4%2Fview%3Fusp%3Ddrive_link&ifkv=AXH0vVsbLKSwYOHDTeoyJgrau1WNqRmHPDt85XOQC2wAkDHvuVRK1jPI4yCJ7sPl7sCrDiRltE_h&osid=1&passive=1209600&service=wise&flowName=GlifWebSignIn&flowEntry=ServiceLogin&dsh=S1024222557%3A1743778834203967)**
>
> Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 4, 2025, 3:03pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/6 "2025-04-04T15:03:16Z")

</div>

[https://drive.google.com/file/d/1KFITgRZMeMePJU-gH8N5HFJzDnFhLwY4/view?usp=drive\_link](https://drive.google.com/file/d/1KFITgRZMeMePJU-gH8N5HFJzDnFhLwY4/view?usp=drive_link)

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 8, 2025, 6:38am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/7 "2025-04-08T06:38:00Z")

</div>

Hi Calc\_em, I hope you’re doing well. I just wanted to follow up and check if you had a chance to look into the `.inp` file I shared. I’d really appreciate any insights you might have found. Thanks again for your help!

---

<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:** [April 8, 2025, 6:56am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/8 "2025-04-08T06:56:15Z")

</div>

I can’t access that file. You have to set access to “Anyone with the link” and then copy the link and paste it here.

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 8, 2025, 8:33am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/9 "2025-04-08T08:33:45Z")

</div>

> **[New01.inp](https://drive.google.com/file/d/1KFITgRZMeMePJU-gH8N5HFJzDnFhLwY4/view?usp=sharing)**
>
> Google Drive file.

---

<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:** [April 8, 2025, 9:13am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/10 "2025-04-08T09:13:53Z")

</div>

Remove the `type=node` parameter from `*TEMPERATURE`, this keyword doesn’t have such a parameter. Also, remove the in-line comments starting with exclamation mark. Comments should be placed in new lines and start with double asterisk. But even after fixing those issues, Abaqus indicates wrong element connectivity so you should check your definition of elements (it might be better to use a preprocessor for meshing).

---

<div class="post-metadata">

**Author:** ![mahesh](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mahesh](https://calculix.discourse.group/u/mahesh)\
**Post date:** [April 9, 2025, 7:51am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/11 "2025-04-09T07:51:03Z")

</div>

I have generated a new simple cube inp of 2 layers from Abaqus now and tried to run with ccx222.exe. There is no error now thrown by ccx222.exe, but simulation is not progressing.  
I have made following changes to inp to convert to ccx format. Refer to image.

 ![abaqustoccxconversion](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/b/b053d35b97f6f159490b166597b0486469601c73.png)

Following is the log -

* * *

CalculiX Version 2.22, Copyright(C) 1998-2024 Guido Dhondt  
CalculiX comes with ABSOLUTELY NO WARRANTY. This is free  
software, and you are welcome to redistribute it under  
certain conditions, see gpl.htm

* * *

You are using an executable made on Sun Aug 4 19:39:24 2024

The numbers below are estimated upper bounds

number of:

nodes: 27  
elements: 8  
one-dimensional elements: 0  
two-dimensional elements: 0  
integration points per element: 27  
degrees of freedom per node: 3  
layers per element: 1

distributed facial loads: 0  
distributed volumetric loads: 0  
concentrated loads: 0  
single point constraints: 27  
multiple point constraints: 1  
terms in all multiple point constraints: 1  
tie constraints: 0  
dependent nodes tied by cyclic constraints: 0  
dependent nodes in pre-tension constraints: 0

sets: 18  
terms in all sets: 168

materials: 1  
constants per material and temperature: 2  
temperature points per material: 1  
plastic data points per material: 1

orientations: 1  
amplitudes: 3  
data points in all amplitudes: 3  
print requests: 0  
transformations: 0  
property cards: 0

STEP 1

\*INFO reading \*STEP: nonlinear geometric  
effects are turned on

\*INFO reading \*DYNAMIC: for implicit calculations  
the calculation of the internal energy  
is activated.

Dynamic analysis was selected

Nonlinear material laws are taken into account

Newton-Raphson iterative procedure is active

Nonlinear geometric effects are taken into account

* * *

INP is attached in this link -

> **[OnlyPartWithoutSubstrate.inp](https://drive.google.com/file/d/1vPjvJo56JrHMd2ew0_tVg5RtO518Mc8Y/view?usp=sharing)**
>
> Google Drive file.

Could you please help me understand why this issue might be occurring?  
Also, if you’re available for external consultation over an online call, I’d be happy to formally propose a session with you, if that’s something you’d consider.

---

<div class="post-metadata">

**Author:** ![mahesh](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mahesh](https://calculix.discourse.group/u/mahesh)\
**Post date:** [April 10, 2025, 7:24am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/12 "2025-04-10T07:24:52Z")

</div>

Hi Calc\_em,  
Hope you are doing well. I was able to run Abaqus inp into Calculix by making modifications mentioned in the table in previous reply and removing PickedSet6 from Step 1.

But I am getting unexpected result. Below are images for your reference.

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/3/31cd737a8626c8c8bf296cec8ff0ad316c178ca1.jpeg)

Abaqus INP link -

> **[Abaqus\_INP.inp](https://drive.google.com/file/d/1uOutAqX_FGa27PPlSg1f2zNJHkktoIxN/view?usp=sharing)**
>
> Google Drive file.

Our Calculix INP -

> **[Calculix\_INP.inp](https://drive.google.com/file/d/185WLd1tY3BJ6x9AIEUzulZ_N5gTRxfqO/view?usp=sharing)**
>
> Google Drive file.

I have attached both the abaqus and calculix `.inp` files for reference. Could you please review them and help me resolve the issue?

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [April 11, 2025, 12:23am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/13 "2025-04-11T00:23:55Z")

</div>

Is there a reason why you are running this with implicit dynamics?

---

<div class="post-metadata">

**Author:** ![mahesh](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mahesh](https://calculix.discourse.group/u/mahesh)\
**Post date:** [April 11, 2025, 9:24am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/14 "2025-04-11T09:24:59Z")

</div>

Hi, There is no specific reason, I have tried same with static, result is same.

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [April 11, 2025, 9:11pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/15 "2025-04-11T21:11:13Z")

</div>

I think this should work with latest ccx:

```auto
*Heading
 Test
*Node
  1, 0., 5., 10.
  2, 0., 5., 0.
  3, 0., 0., 0.
  4, 0., 0., 10.
  5, 10., 5., 0.
  6, 10., 0., 0.
  7, 10., 0., 10.
  8, 10., 5., 10.
  9, 10., 10., 10.
 10, 0., 10., 10.
 11, 10., 10., 0.
 12, 0., 10., 0.
 13, 0., 5., 5.
 14, 0., 0., 5.
 15, 10., 5., 5.
 16, 10., 0., 5.
 17, 5., 0., 10.
 18, 5., 5., 10.
 19, 5., 0., 0.
 20, 5., 5., 0.
 21, 5., 10., 10.
 22, 5., 10., 0.
 23, 0., 10., 5.
 24, 10., 10., 5.
 25, 5., 5., 5.
 26, 5., 0., 5.
 27, 5., 10., 5.
*Element, type=C3D8R
  1, 18, 25, 26, 17, 1, 13, 14, 4
  2, 25, 20, 19, 26, 13, 2, 3, 14
  3, 8, 15, 16, 7, 18, 25, 26, 17
  4, 15, 5, 6, 16, 25, 20, 19, 26
  5, 13, 25, 27, 23, 1, 18, 21, 10
  6, 25, 15, 24, 27, 18, 8, 9, 21
  7, 2, 20, 22, 12, 13, 25, 27, 23
  8, 20, 5, 11, 22, 25, 15, 24, 27
*NSET, NSET=nSet_All, GENERATE
  1, 27, 1
*ELSET, ELSET=elSet_All, GENERATE
 1, 8, 1
*NSET, NSET=nSet_L1
  1, 2, 3, 4, 5, 6, 7, 8, 
 13, 14, 15, 16, 17, 18, 19, 20,
 25, 26
*ELSET, ELSET=elSet_L1, GENERATE
 1, 4, 1
*NSET, NSET=nSet_L2
  1, 2, 5, 8, 9, 10, 11, 12,
 13, 15, 18, 20, 21, 22, 23, 24,
 25, 27
*ELSET, ELSET=elSet_L2, GENERATE
 5, 8, 1
*NSET, NSET=nSet_PickedSet4
  1, 2, 3, 4, 5, 6, 7, 8,
 13, 14, 15, 16, 17, 18, 19, 20,
 25, 26
*ELSET, ELSET=elSet_PickedSet4, GENERATE
 1, 4, 1
*NSET, NSET=nSet_PickedSet5
  1, 2, 5, 8, 9, 10, 11, 12,
 13, 15, 18, 20, 21, 22, 23, 24,
 25, 27
*ELSET, ELSET=elSet_PickedSet5, GENERATE
 5, 8, 1
*NSET, NSET=nSet_PickedSet6, GENERATE
  1, 27, 1
*ELSET, ELSET=elSet_PickedSet6, GENERATE
 1, 8, 1
*NSET, NSET=nSet_PickedSet7
  3, 4, 6, 7, 14, 16, 17, 19, 26
*ELSET, ELSET=elSet_PickedSet7, GENERATE
 1, 4, 1
*NSET, NSET=nSet_PickedSet8
  1, 2, 3, 4, 5, 6, 7, 8, 
 13, 14, 15, 16, 17, 18, 19, 20,
 25, 26
*ELSET, ELSET=elSet_PickedSet8, GENERATE
 1, 4, 1
*NSET, NSET=nSet_PickedSet9
  1, 2, 5, 8, 9, 10, 11, 12,
 13, 15, 18, 20, 21, 22, 23, 24,
 25, 27
*ELSET, ELSET=elSet_PickedSet9, GENERATE
 5, 8, 1
** -----------------------
*Orientation, name=Ori_1
1., 0., 0., 0., 1., 0.
 3, 0.
** -----------------------
*MATERIAL, NAME=in718
*DENSITY
 8.146E-09
*ELASTIC
 208000., 0.3
*EXPANSION, TYPE=ANISO
 -0.008, 0.018, -0.008, 0., 0., 0.
*PLASTIC
 1170.0, 0.0
 1170.5, 0.002
 1171.0, 0.1
** -----------------------
*SOLID SECTION, ELSET=elSet_PickedSet4, MATERIAL=in718, ORIENTATION=Ori_1
*SOLID SECTION, ELSET=elSet_PickedSet9, MATERIAL=in718
** -----------------------
*INITIAL CONDITIONS, TYPE=TEMPERATURE
nSet_PickedSet6, 0.0
** -----------------------Dummy Step---------------------------
*STEP, NLGEOM=YES
*STATIC, SOLVER=SPOOLES
 1.0, 1.0, 1.E-5, 1.0
*BOUNDARY
nSet_PickedSet7, 1, 3, 0.
*NODE OUTPUT, FREQUENCY=1
U, NT
*ELEMENT OUTPUT, FREQUENCY =1
S 
*NODE FILE
U
*END STEP
** -------------------STEP: Remove top + LayerAct-1 ------------
*STEP, NLGEOM=YES
*STATIC
 0.10, 1.0, 1.E-5, 0.1
*MODEL CHANGE, TYPE=ELEMENT, REMOVE
elSet_PickedSet5
*NODE OUTPUT, FREQUENCY=1
U, NT
*ELEMENT OUTPUT, FREQUENCY =1
S 
*NODE FILE
U
*END STEP
** -------------------STEP: Add Temperature on LayerAct-1 -----------
*STEP, NLGEOM=YES
*STATIC
 0.10, 1.0, 1.E-5, 0.1
*TEMPERATURE
nSet_PickedSet4, 1.
*NODE OUTPUT, FREQUENCY=1
U, NT
*ELEMENT OUTPUT, FREQUENCY =1
S 
*NODE FILE
U
*END STEP
** -------------------STEP: Add LayerAct-2 -----------
*STEP, NLGEOM=YES
*STATIC
 0.10, 1.0, 1.E-5, 0.1
*MODEL CHANGE, TYPE=ELEMENT, ADD=STRAIN FREE
elSet_PickedSet5
*NODE OUTPUT, FREQUENCY=1
U, NT
*ELEMENT OUTPUT, FREQUENCY =1
S 
*NODE FILE
U
*END STEP
** -------------------STEP: Add Temperature on LayerAct-2 -----------
*STEP, NLGEOM=YES
*STATIC
 0.10, 1.0, 1.E-5, 0.1
*TEMPERATURE
nSet_PickedSet5, 1.
*NODE OUTPUT, FREQUENCY=1
U, NT
*ELEMENT OUTPUT, FREQUENCY =1
S 
*NODE FILE
U
*END STEP

```

---

<div class="post-metadata">

**Author:** ![maheshd](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@maheshd](https://calculix.discourse.group/u/maheshd)\
**Post date:** [April 12, 2025, 9:30am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/16 "2025-04-12T09:30:12Z")

</div>

Hi jbr,  
Thank you so much! It worked perfectly! I really appreciate your help and the time you took to look into this. Your support made a big difference—thanks again!

---

<div class="post-metadata">

**Author:** ![ceanwang](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@ceanwang](https://calculix.discourse.group/u/ceanwang)\
**Post date:** [April 16, 2025, 1:04am UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/18 "2025-04-16T01:04:26Z")

</div>

```auto
 *ERROR in checktemp: no final temperature
        defined in node 18

```

---

<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:** [April 16, 2025, 12:42pm UTC](https://calculix.discourse.group/t/problem-in-running-lpbf-inp-in-calculix/2666/19 "2025-04-16T12:42:47Z")

</div>

See this: [Discrepancy in Results between ccx 2.13 and ccx 2.17 Versions - #4 by Calc\_em](https://calculix.discourse.group/t/discrepancy-in-results-between-ccx-2-13-and-ccx-2-17-versions/2186/4)
