# An idea for a modified iteration acceleration method

**URL:** <https://precice.discourse.group/t/an-idea-for-a-modified-iteration-acceleration-method/1680>\
**Category:** Using preCICE\
**Tags:** openfoam, adapters, fsi\
**Created:** [November 24, 2023, 8:15am UTC](https://precice.discourse.group/t/an-idea-for-a-modified-iteration-acceleration-method/1680 "2023-11-24T08:15:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cj1823149636](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/cj1823149636/32/1928_2.png) [@cj1823149636](https://precice.discourse.group/u/cj1823149636)\
**Post date:** [November 24, 2023, 8:15am UTC](https://precice.discourse.group/t/an-idea-for-a-modified-iteration-acceleration-method/1680/1 "2023-11-24T08:15:58Z")

</div>

Hi everyone, I recently wanted to write my own new coupled iterative algorithm based on IQN-ILS based on precice, how do I get started and insert my own code into precice? is there a tutorial or something on the official precice website or elsewhere?Looking forward to your reply…

---

<div class="post-metadata">

**Author:** ![Makis](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/makis/32/25_2.png) [@Makis](https://precice.discourse.group/u/Makis)\
**Post date:** [November 28, 2023, 10:17am UTC](https://precice.discourse.group/t/an-idea-for-a-modified-iteration-acceleration-method/1680/2 "2023-11-28T10:17:45Z")

</div>

Hi @cj1823149636,

unfortunately, no, we don’t yet have any tutorials on adding new methods into preCICE itself. The codebase is anyway rapidly changing lately.

We do have contributing guidelines: [https://github.com/precice/precice/blob/develop/docs/CONTRIBUTING.md](https://github.com/precice/precice/blob/develop/docs/CONTRIBUTING.md)

You may be able to find something in @uekerman’s dissertation as well.

---

<div class="post-metadata">

**Author:** ![uekerman](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/uekerman/32/2199_2.png) [@uekerman](https://precice.discourse.group/u/uekerman)\
**Post date:** [December 18, 2023, 12:33pm UTC](https://precice.discourse.group/t/an-idea-for-a-modified-iteration-acceleration-method/1680/3 "2023-12-18T12:33:33Z")

</div>

The relevant part of the code is this one:

> <https://github.com/precice/precice/tree/develop/src/acceleration>
>
> //github.com/precice/precice/tree/develop/src/acceleration

In principle, it should not be overly complicated to add new methods here. Especially, if you only run in serial, which could be enough if you only quickly want to test new variants.
