# CalculiX not reading PROPS

**URL:** <https://calculix.discourse.group/t/calculix-not-reading-props/791>\
**Category:** Uncategorized\
**Created:** [November 19, 2021, 10:55pm UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791 "2021-11-19T22:55:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 19, 2021, 10:55pm UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/1 "2021-11-19T22:55:04Z")

</div>

Hi

I am implementing an isotropic J2 plasticity UMAT in CalculiX.  
When I print the PROPS matrix on command window using write(_,_) command of FORTRAN, it shows only ZEROS (image attached).

I checked my .inp file also, and data is entered correctly (image attached).  
I also tried changing the case of PROPS to props but still the same.  
I explicitly defined EMOD, ENU, SYIELD in UMAT preamble part, but still the same.

Don’t know what is it that I am missing.  
Can someone please help?

Thanks  
Bhanu

![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/45cc6856693a0534045b116caf0407c5610bf04a.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/9ae779cea68c413a2d2d0a4151e01d73a1be711b.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/c1bd468a6f3622de58c6e29f595ed91f1bf382e7.png)

---

<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:** [November 20, 2021, 12:55am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/2 "2021-11-20T00:55:46Z")

</div>

Could you share your UMAT? Just to see what may be going on… Everything you show here looks correct (if I remember correctly the notation).

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 20, 2021, 10:39am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/4 "2021-11-20T10:39:44Z")

</div>

Here’s the UMAT code:

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/8c31c429f568c12c207ddeb7eeb4e32dd515b41c.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/d12690358d836c0b152c8dbd77b167e5d547c1f6.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/a78c538c2bf598ca056afa08fdf6589c32fde43f.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/e50a707755befa42f6f23feb715c8ac409a2e1f3.png)  
 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/2653a80dfb91c134a8cff4c40d3fcf987f35e77b.png)

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 20, 2021, 11:22pm UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/5 "2021-11-20T23:22:39Z")

</div>

Hi

Can you share your comments if you’ve seen the code I posted?  
Is it alright or am I missing something?

Thanks  
Bhanu

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 22, 2021, 8:56pm UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/6 "2021-11-22T20:56:42Z")

</div>

Can someone please help me with this?

Thanks  
Bhanu

---

<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:** [November 23, 2021, 5:57am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/7 "2021-11-23T05:57:40Z")

</div>

Does it change at all after the 1st pass? It may be that it is the initialized value before computations.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 23, 2021, 7:08am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/8 "2021-11-23T07:08:33Z")

</div>

No, it remains the same.  
Actually the example problem has 32 C3D20R elements. So the cmd output (image shared earlier) gets printed 32\*8 integration points only ONCE and then ccx stops.

---

<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:** [November 24, 2021, 2:30am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/9 "2021-11-24T02:30:04Z")

</div>

Everything that I can see here looks good. Did you change the lines 550 - 557 in `umat_abaqusnl.f`? Also, could you print the values of the variable `elconloc` in this file? This may give us an idea of what’s going on.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [November 24, 2021, 10:53am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/10 "2021-11-24T10:53:52Z")

</div>

> [@jbr](#):
>
> Did you change the lines 550 - 557 in `umat_abaqusnl.f` ?

I forgot to mention “elconloc” while calling the umat. I didn’t know about it.  
I have added it now and also defined props in the umat\_abaqusnl.f file (see image):

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/4cb036637e8ca5740ec3caf7336f4234696709fa.png)

Thanks for this.  
Now the PROPS are read correctly but its showing very large values of computed disp:

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/5651db6eef5863a52b5caa2542e2e06ec39122f2.png)

Is there a problem with the strain transformation from logarithmic to lagrangian? Or something like that.  
(Actually, the program got stuck after iteration 5. I had to manual terminate it.)

---

<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:** [November 26, 2021, 8:16pm UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/11 "2021-11-26T20:16:48Z")

</div>

I would have to take a closer look at the `J2PLAS` subroutine but I would start by having a simple unit test and continue to debug it in the way you are doing, step by step. Maybe use `gdb` to debug as it runs - this way may be faster than printing statements.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [December 10, 2021, 5:31am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/12 "2021-12-10T05:31:17Z")

</div>

> [@jbr](#):
>
> I would have to take a closer look at the `J2PLAS` subroutine

Have you found anything?

---

<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:** [December 10, 2021, 8:19am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/13 "2021-12-10T08:19:49Z")

</div>

> [@bhanups1991](#):
>
> Have you found anything?

Hey @bhanups1991, I’ve had a couple of strict deadlines over the last few weeks - I may take a look over the holidays. Unfortunately, nothing jumped at me when I was going thru it.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [January 21, 2022, 10:30am UTC](https://calculix.discourse.group/t/calculix-not-reading-props/791/14 "2022-01-21T10:30:36Z")

</div>

Hi

Can anyone please tell help me out with this?  
Why is DSTRAN value so high?

PS: I checked the UMAT code several times and everything seems okay. THe UMAT code is already posted above.

 ![image](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/00c4b939792f1bc5a11d6a294476da1219f6834f.png)

Thanks
