# A question about some limit about precice!

**URL:** <https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523>\
**Category:** Is preCICE for me?\
**Tags:** performance\
**Created:** [August 17, 2023, 6:28am UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523 "2023-08-17T06:28:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [August 17, 2023, 6:28am UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523/1 "2023-08-17T06:28:18Z")

</div>

hi，my question is:  
Are there any limitations to the commercial application of precice?  
for example:  
1 Is there a limit to the maximum grid nodes number on interface-node or all-node that can be computed?  
2 How stable is precice when performing large-scale computations?

---

<div class="post-metadata">

**Author:** ![fsimonis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fsimonis/32/6_2.png) [@fsimonis](https://precice.discourse.group/u/fsimonis)\
**Post date:** [August 18, 2023, 10:48am UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523/2 "2023-08-18T10:48:31Z")

</div>

> [@ilovenili](#):
>
> Are there any limitations to the commercial application of precice?

preCICE can be used for commercial applications. By design, the license of the preCICE library allows it to be used by closed-source codes. If you ship a modified version of the preCICE library as part of your application, then you need to publish the sources.  
This allows commercial use of preCICE, but no commercial extension of it.

> [@ilovenili](#):
>
> Is there a limit to the maximum grid nodes number on interface-node or all-node that can be computed?

preCICE has been tested with synthetic cases of multiple million mesh nodes. Real-world cases should not reach any limits of preCICE.

> [@ilovenili](#):
>
> How stable is precice when performing large-scale computations?

There are no known stability issues of preCICE itself.

However, you may hit limitations of some methods.  
Examples are:

- global-iterative radial-basis-function mappings, whose systems quickly explode in terms of size
- poorly configured acceleration methods, which can easily fill up your memory

I recommend having a look at [our reference paper (section 3.2.3 Numerical and runtime performance)](https://open-research-europe.ec.europa.eu/articles/2-51) for a better understanding on how data mapping schemes scale.

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [August 18, 2023, 11:36pm UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523/3 "2023-08-18T23:36:17Z")

</div>

oh, you are welcome,very thanks!

---

<div class="post-metadata">

**Author:** ![ilovenili](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/ilovenili/32/1663_2.png) [@ilovenili](https://precice.discourse.group/u/ilovenili)\
**Post date:** [August 18, 2023, 11:51pm UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523/4 "2023-08-18T23:51:33Z")

</div>

> [@fsimonis](#):
>
> preCICE has been tested with synthetic cases of multiple million mesh nodes. Real-world cases should not reach any limits of preCICE.

1 about " multiple million mesh nodes" is refer to interface or global?  
2 for us,global mesh element maybe hundreds of millions，and have five millions element on interface.

---

<div class="post-metadata">

**Author:** ![fsimonis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/fsimonis/32/6_2.png) [@fsimonis](https://precice.discourse.group/u/fsimonis)\
**Post date:** [August 19, 2023, 7:49am UTC](https://precice.discourse.group/t/a-question-about-some-limit-about-precice/1523/5 "2023-08-19T07:49:55Z")

</div>

> [@ilovenili](#):
>
> about " multiple million mesh nodes" is refer to interface or global?

It refers to the amount of nodes passed to preCICE. For interface coupling, this would be your interface mesh and hence shouldn’t be an issue.

Note that depending on your system, you may need to enable 2 level initialisation to prevent running out of memory on rank 0 of your parallel solvers.
