# Some attempts at engineering problems with Prepromax!

**URL:** <https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303>\
**Category:** General Questions\
**Created:** [July 19, 2022, 1:12am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303 "2022-07-19T01:12:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 19, 2022, 1:12am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/1 "2022-07-19T01:12:06Z")

</div>

Recently I was using prepromax to deal with an engineering problem in the auto parts industry. The problem is very simple, but the model is very complex, with many bad surfaces, and it is difficult to directly mesh. I used ansys scdm and hypermesh to deal with it for 2 days to get prepromax available However, I can finally draw the mesh (ansys workbench cannot directly draw the mesh, it can be seen that the meshing ability of prepromax is still good)  
I encountered a problem, because my pipe wall is very thin, I used a single-layer second-order tetrahedron for mesh division (in order to prevent the number of meshes from being too large), and turned on the large deformation switch at the same time, considering the plasticity of the material, calculated The deformation value is 26mm, while abaqus calculates it to be about 33mm. The difference is a bit big. I guess it is because the number of meshes in the thickness direction is too small, which causes the model to be excessively stiffened, resulting in a smaller deformation calculation result than abaqus.  
Therefore, I encrypted the mesh. Since the thickness direction is not easy to be locally encrypted, I can only use the overall encryption method to ensure that there are two layers of second-order tetrahedral meshes in the thickness direction, so that the number of my meshes is about 1.5 million. , about 2.5 million nodes, but there is a problem, calculix seems to be unable to solve the problem of this scale, and there is always an inexplicable termination.  
The solvers I use are:

> **[PrePoMax](http://www.tu.kielce.pl/~rokach/instr/ppm_main.htm)**
>
> CAE,PrePoMax,CalculiX,metoda elementów skończonych,MES,finite element method

Downloaded the solver, tried PasTiX and Pardiso, in the process of using Pardiso, it seems that some library files are missing.  
So I’m still trying, trying to solve this problem, if there is a good solution, I will reply, and you can also make suggestions.

 ![1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/25115604165f630a07961c328a6839a50c3ca35c.png)  
 ![2](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/25d5c2b94d6523f53767d78b3a41c983c3f7b890.png)  
 ![3](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/8e34a6f1306f654c06f0320d563e956ab453079b.png)

---

<div class="post-metadata">

**Author:** ![lucas\_bueno](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/lucas_bueno/32/1168_2.png) [@lucas\_bueno](https://prepomax.discourse.group/u/lucas_bueno)\
**Post date:** [July 19, 2022, 3:25am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/2 "2022-07-19T03:25:35Z")

</div>

I tried to install the Pardiso solver in the past on PrePoMax but achieve no success. I’m also interested in the solution to large models using this solver.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 19, 2022, 5:23am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/3 "2022-07-19T05:23:49Z")

</div>

Yes, I tried many times, the solver under windows can’t calculate meshes with millions of meshes

---

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [July 19, 2022, 1:28pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/4 "2022-07-19T13:28:32Z")

</div>

Hi, from my experience, for this case and to get displacements as results, I would use second order shell elements in both CalculiX and others (even more, structured quad mesh, even for the bellows). I have made some comparations, and CalculiX shell elements are good enouhg, at least in overal displacement against comercial solvers. You should not have such a big difference in displacement results, and going to tet elements doesn´t seems to me a good choice.

I have worked in automotive industrie for years, feel free to send me the model in case you need some help.

---

<div class="post-metadata">

**Author:** ![MES\_fan](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@MES\_fan](https://prepomax.discourse.group/u/MES_fan)\
**Post date:** [July 19, 2022, 4:43pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/5 "2022-07-19T16:43:12Z")

</div>

Which file from Igor’s site do you have? I downoladed some time ago version with date 8.01.2022, (file size 45 mb), and pardiso is working well (tested on Prepomax 1.3.2, and 1.3.3)

---

<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:** [July 19, 2022, 5:46pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/6 "2022-07-19T17:46:25Z")

</div>

I’ve also downloaded the package containing Pardiso solver from Ihor’s site and it works well. The solver executable is named ccx\_dynamic.exe and I set the default solver to Pardiso. Here’s the content of the Solver folder:

![package](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/84dd171a0f53a8421bc7e47aedae73a14a92e346.jpeg)

Maybe some of these libraries are missing in your case or your OS is different than mine (Windows 10).

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 20, 2022, 11:34am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/7 "2022-07-20T11:34:19Z")

</div>

You’re right, the shell model is a better choice, but his model is not good enough to extract the mid-surface, so I didn’t use the shell model, which also focuses on stress. So the final use is the entity unit.  
[simply2.zip](https://prepomax.discourse.group/uploads/short-url/Toza3GiweFiYW9qnZm84lFEl2Q.zip) (6.0 MB)

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 20, 2022, 11:36am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/8 "2022-07-20T11:36:27Z")

</div>

If you are using the Pardiso solver in win10, do you need to install it on your computer: oneAPI HPC Toolkit？

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 20, 2022, 11:38am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/9 "2022-07-20T11:38:28Z")

</div>

Yes, all of these libraries are available, and I have downloaded the libraries that don’t exist, but it seems that the Pardiso solver doesn’t work. I submitted the solution directly using prepomax. Submitting a solution always fails!

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 20, 2022, 11:41am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/10 "2022-07-20T11:41:52Z")

</div>

07/20/2022 19:40:53

######## Starting run step number: 1 Increment number: 1 ########

Running command: E:\zj\ccx\_219\calculix\ccx\_win10.cmd Analysis-1

E:\zj\test\>rem Batch file for ccx with PaSTiX/SPOOLES/Pardiso

E:\zj\test\>rem @echo off

E:\zj\test\>rem ==== Set path to CalculiX executable here ====

E:\zj\test\>set CCX\_PATH=E:\zj\ccx\_219\calculix

E:\zj\test\>rem ==== CalculiX settings ========

E:\zj\test\>set CCX\_NPROC\_RESULTS=16

E:\zj\test\>set CCX\_NPROC\_STIFFNESS=16

E:\zj\test\>set OMP\_NUM\_THREADS=16

E:\zj\test\>rem ==== MKL (Pardiso) settings ========

E:\zj\test\>set MKL\_NUM\_THREADS=16

E:\zj\test\>rem set MKL\_DOMAIN\_NUM\_THREADS=“MKL\_BLAS=4”

E:\zj\test\>set MKL\_DYNAMIC=FALSE

E:\zj\test\>set OMP\_DYNAMIC=FALSE

E:\zj\test\>rem ==== PasTiX settings ===========

E:\zj\test\>set OPENBLAS\_NUM\_THREADS=1

E:\zj\test\>rem Must be used for this version

E:\zj\test\>set PASTIX\_MIXED\_PRECISION=1

E:\zj\test\>rem 1 - yes(\*), 0 - no

E:\zj\test\>set PASTIX\_ORDERING=0

E:\zj\test\>rem 0 - Scotch(\*), 1 - Metis

E:\zj\test\>set PASTIX\_SCHEDULER=0

E:\zj\test\>rem 0 - Static(\*), 1 - StarPU, 3 - Sequential, 2 - parsec (not working yet)

E:\zj\test\>rem === Final CCX run command ===

E:\zj\test\>E:\zj\ccx\_219\calculix\ccx\_dynamic.exe -i Analysis-1

* * *

CalculiX Version 2.19, Copyright(C) 1998-2021 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 Sat Dec 18 23:04:40 2021

The numbers below are estimated upper bounds

number of:

nodes: 109018  
elements: 74985  
one-dimensional elements: 0  
two-dimensional elements: 0  
integration points per element: 4  
degrees of freedom per node: 3  
layers per element: 1

distributed facial loads: 1420  
distributed volumetric loads: 0  
concentrated loads: 0  
single point constraints: 17526  
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: 9  
terms in all sets: 233657

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

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

STEP 1

Static analysis was selected

Job failed - no results exist.

Process elapsed time: 12.456 s

---

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [July 20, 2022, 11:50am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/11 "2022-07-20T11:50:19Z")

</div>

You could work with the external surface, and adjust the shell offset to compensate. Better to have a slighty non canonical shell model with good enough results…than no result at all. Will try to mesh the part in Salome later, doesn´t look too complicated.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [July 20, 2022, 2:33pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/12 "2022-07-20T14:33:44Z")

</div>

> [@xupeiwust](#):
>
> If you are using the Pardiso solver in win10, do you need to install it on your computer: oneAPI HPC Toolkit？

The installation of the Pardiso solver is not needed. Only files shown in the figure of the @FEAnalyst post are needed. You can get the files by installation or by downloading them from somewhere else.

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 21, 2022, 7:17am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/13 "2022-07-21T07:17:42Z")

</div>

I tested the PASTIX i8 solver on an AMD 32-core 256GB memory machine to calculate a model with 2 million nodes. It is estimated that the memory needs about 80g, which is acceptable.  
The reason why the Pardiso solver doesn’t work is because most of my computers are AMD CPUs

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 21, 2022, 7:21am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/14 "2022-07-21T07:21:02Z")

</div>

Thank you, I have tested your suggestion, the problem lies in the shell mesh drawn by prepomax, there are many problems with negative Jacobian matrix, it may be the reason why the meshing tool is not powerful enough, I use ansys to divide the mesh After that, export it as an inp file, and then read it into prepomax, but prepomax only includes all quadrilateral meshes, and triangular degenerate meshes cannot be read in, so I gave up the shell method.

---

<div class="post-metadata">

**Author:** ![Matej](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@Matej](https://prepomax.discourse.group/u/Matej)\
**Post date:** [July 21, 2022, 10:12am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/15 "2022-07-21T10:12:11Z")

</div>

I would be interested in the mesh .inp file that cannot be read by PrePoMax. If possible, I will try to fix it.

---

<div class="post-metadata">

**Author:** ![SergioP1975](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/sergiop1975/32/37_2.png) [@SergioP1975](https://prepomax.discourse.group/u/SergioP1975)\
**Post date:** [July 21, 2022, 11:55am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/16 "2022-07-21T11:55:35Z")

</div>

I try yesterday to mesh your part using shell elements, and the same as you, lot of error with the negative Jacobian element´s. I look at the bellows, and it doesn´t seems to be modeled with constant thikness, if you look in the interior side, you’ll see some radius are omitted. Also, in the exterior side, some radius are too small, they must be higher than thikness of the part. Another point is that there are some surfaces not well generated, even in the straight zones of the tube.  
I would improve the CAD modeling before meshing (lot of human time), and as free mesh will lead to  
lot of element, swithc to some structured mesh in Salome. Or as you did, use the best tet mesh with the actual part (lot of cpu time).

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [July 21, 2022, 2:46pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/17 "2022-07-21T14:46:40Z")

</div>

Hi, xupeiwust

Your stp shows the bellows in their assembly position.

¿Are the bellows supplied with that shape?.

¿Could this be the difference in displacements that you have noticed?

I’m using AMD with Pardiso MKL out of core without any problem but my models are \< 2 million nodes.

---

<div class="post-metadata">

**Author:** ![ANYS](https://yyz2.discourse-cdn.com/free1/user_avatar/prepomax.discourse.group/anys/32/7737_2.png) [@ANYS](https://prepomax.discourse.group/u/ANYS)\
**Post date:** [July 21, 2022, 6:07pm UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/18 "2022-07-21T18:07:33Z")

</div>

Gmsh delivers a pretty good mesh. Density .5mm.  
Your bellows inside seems too sharp as Sergio said.  
¿Do you have some additional BC data to give a try?

 ![screenshot.3](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/9d2f668087ff6a465211c033ffbefe7191568daa.png)  
 ![screenshot.2](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/a301c1bd0267146eab65ac973d32274883173302.png)

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 22, 2022, 8:38am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/19 "2022-07-22T08:38:49Z")

</div>

I am very grateful to many people who are interested in trying it out. I will upload the material parameters and boundary conditions below. During the calculation process, the large deformation switch needs to be turned on and the material plasticity is considered.  
The calculation of burst pressure is actually to add internal pressure, knowing that the stress of the structure is close to the failure stress  
This is the result calculated by others using abaqus. The stress calculated by me using prepomax is close, but the displacement is 10mm smaller. My displacement result is close to the calculation result of ansys, but the stress result is different. Ansys shows the average stress and my result. The difference is very large, but when the ansys results do not do stress averaging, they are close to my results。

Also is there a value for logarithmic strain in prepomax?

 ![新建 Microsoft Word 文档_wrapper_Page1](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/8610b88a05921e0bbef8706a9cc867f71d1b60fc.png)  
 ![新建 Microsoft Word 文档_wrapper_Page2](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/2ab2210639953b9f298f240033a0044d8e570d3d.png)  
 ![新建 Microsoft Word 文档_wrapper_Page3](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/facf9bf1cc3c69ec7b5910d0f498fc330ba0722d.png)  
 ![新建 Microsoft Word 文档_wrapper_Page4](https://global.discourse-cdn.com/free1/uploads/prepomax/original/1X/6f8f9a3d43bcb28c3415b66a8b0822ef6d847b28.png)

---

<div class="post-metadata">

**Author:** ![xupeiwust](https://avatars.discourse-cdn.com/v4/letter/x/f0a364/32.png) [@xupeiwust](https://prepomax.discourse.group/u/xupeiwust)\
**Post date:** [July 22, 2022, 8:40am UTC](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303/20 "2022-07-22T08:40:53Z")

</div>

I don’t think you should take the inner surface, you should take the outer surface, and generally it’s better to use a quad mesh

[Next page](https://prepomax.discourse.group/t/some-attempts-at-engineering-problems-with-prepromax/303.md?page=2)
