# What is my simulation problem?

**URL:** <https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755>\
**Category:** General Questions\
**Tags:** results, dynamic\
**Created:** [May 20, 2024, 3:16am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755 "2024-05-20T03:16:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 3:16am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/1 "2024-05-20T03:16:04Z")

</div>

Hello everyone,

I am doing a compaction simulation using PrePoMax. I have some problems with my simulation.  
I have defined surface-to-surface contact between “Box-Particle” and “Punch-Particle”. I have applied a displacement to the reference point of the punch. When the punch moves downward, the upper part of the sphere (Particle) is deformed, but the bottom part of it remains without deformation. (Please see the attached images.) Why is it so? What would be the problem?

 ![Capture5](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/6/65a080a70422ff10cc6f2b8c899c3000e4e257ac.png)  
 ![Capture](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/f/f10aea00c49ca0e390abcad18229fde871b8a780.png)  
 ![Capture1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/d/d9b1a390f4603ada078effc347f6aad972f651a4.png)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 7:01am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/2 "2024-05-20T07:01:21Z")

</div>

Can you share the .pmx file ? It’s hard to say based only on the screenshots. The surfaces should be rigid and meshed with more elements.

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 7:58am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/3 "2024-05-20T07:58:59Z")

</div>

Dear @FEAnalyst , Thank you for your reply. I have attached the .pmx file here. I have defined rigid body constraints for the box and the punch. I would really appreciate it if you could help me in this regard.

[single.pmx](https://prepomax.discourse.group/uploads/short-url/i5vzSekEhkfj74C8S9iYVK2EzqR.pmx) (7.8 MB)

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 8:08am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/4 "2024-05-20T08:08:55Z")

</div>

The box and punch parts ar solids. You should model them as shells (surfaces). And use many more elements for them, as I said. Apart from that, it looks good. Assuming that you want the punch to move by 0.09 mm in total. But you could also reduce the model by utilizing symmetry.

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 8:20am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/5 "2024-05-20T08:20:52Z")

</div>

Dear @FEAnalyst , I had already considered the punch and box as a shell part but you told me they should be solid if you want to define a rigid body for them. Then, I modified them.  
Maybe I misunderstood your explanation. How can I define a rigid body for a shell part?

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 8:32am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/6 "2024-05-20T08:32:59Z")

</div>

Dear @FEAnalyst , could you please tell me why there is no information in the .dat and .sta files once I run my simulation while the simulation has been successfully done?

 ![Capture3](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/c/c5acc09c3c2e7fc39a2907c11de12d72f18f6e0b.png)  
 ![Capture4](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/1/14e2b265364b56a44a4c192c335fb7ad5faf7fde.png)

Also, what does it mean by the following error?

 ![Capture2](https://global.discourse-cdn.com/free1/uploads/prepomax/original/2X/9/90001c216f5095d1d91895f844d7a0501bdb2015.png)

Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 8:39am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/7 "2024-05-20T08:39:14Z")

</div>

Such very thin parts shouldn’t be modeled using solid elements. You should use shells instead. The only problem is that shells don’t work with rigid body constraints in explicit dynamics and may not work with Nlgeom in other analysis types. So there are several options:

- set very high Young’s modulus for the shell parts instead of using rigid body constraints (this will reduce the stable time increment in explicit dynamics though)
- keep them modeled as solids but use hexa elements (one in the thickness direction, more in the plane)
- don’t use explicit dynamics

> [@Majid](#):
>
> while the simulation has been successfully done?

I don’t think it has been successfully completed. Those messages don’t indicate that. It just spitted some nonsense results instead of failing with errors (quite common in CalculiX, especially with explicit dynamics).

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 8:53am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/8 "2024-05-20T08:53:45Z")

</div>

Dear @FEAnalyst ,  
The last picture is related to another simulation. I just want to know why this kind of error appeared, and how I can fix it.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 9:00am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/9 "2024-05-20T09:00:36Z")

</div>

I’ve noticed it in this file as well. Explicit dynamics analyses are tricky in CalculiX and you have to make sure that your setup is correct (tips for this case above). Then it should work without such errors. If it still doesn’t, it might be a bug and in such cases the model should be gradually simplified to find the cause of the issue. Unless it’s already known: [Issues · Dhondtguido/CalculiX · GitHub](https://github.com/Dhondtguido/CalculiX/issues?q=is%3Aissue+is%3Aopen+explicit)

You should also add energy output in explicit dynamics analyses to see their progress: [Status file output in explicit dynamics · Issue #58 · Dhondtguido/CalculiX · GitHub](https://github.com/Dhondtguido/CalculiX/issues/58#issuecomment-1809976264)

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 9:18am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/10 "2024-05-20T09:18:28Z")

</div>

Dear @FEAnalyst ,  
In my simulation, I have to apply a displacement to the reference point of the punch. if I consider the punch as a shell part, I cannot define a rigid body for the punch. I want to know if it is possible to define a coupling constraint in this software. If not? Do you have any suggestions? How can I define a reference point and allocate a displacement to it?

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 9:23am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/11 "2024-05-20T09:23:41Z")

</div>

Coupling constraints are supported by CalculiX but not yet available in PrePoMax. They can be added via the Keyword Editor though: [RBE3 integration in PrepoMax (Kinematic & Distributing Coupling)](https://prepomax.discourse.group/t/rbe3-integration-in-prepomax-kinematic-distributing-coupling/44)

However, I wouldn’t use them here. Try one of the workarounds proposed above. You can even apply a displacement boundary condition to the whole surface of a plate but this may interfere with contact. So maybe you could add a small extrusion to push the plate. Or push it by its edge. But most importantly, make sure that it’s stiff enough (ideally or almost ideally rigid) and meshed with enough elements.

---

<div class="post-metadata">

**Author:** ![Majid](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Majid](https://prepomax.discourse.group/u/Majid)\
**Post date:** [May 20, 2024, 9:27am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/12 "2024-05-20T09:27:13Z")

</div>

Dear @FEAnalyst ,

I need to obtain the reaction force of the punch displacement. That’s why, I need to define a reference point and and get the amount of the RF.

---

<div class="post-metadata">

**Author:** ![FEAnalyst](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/feanalyst/32/688_2.png) [@FEAnalyst](https://prepomax.discourse.group/u/FEAnalyst)\
**Post date:** [May 20, 2024, 9:31am UTC](https://prepomax.discourse.group/t/what-is-my-simulation-problem/1755/13 "2024-05-20T09:31:15Z")

</div>

You can get a reaction force directly from a surface as well - just create a history output for all the nodes involved in a boundary condition and select Totals → Only to get the sum.
