# Problem with mixing and nudging

**URL:** <https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837>\
**Category:** dynamics-numerics-params\
**Created:** [September 26, 2024, 4:57am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837 "2024-09-26T04:57:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Roy](https://forum.croco-ocean.org/u/Roy)\
**Post date:** [September 26, 2024, 4:57am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/1 "2024-09-26T04:57:06Z")

</div>

Dear all,

I am trying to compile a fully 3D model. However, I am receiving the following error:

I chose to output the momentum diagnostic file, but the vertical mixing and nupting term in the momentum diagnostic file is particularly large, tens or even hundreds of times larger than the other terms.

Thank you in advance for your time,  
Roy

---

<div class="post-metadata">

**Author:** ![smaishal](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/smaishal/32/667_2.png) [@smaishal](https://forum.croco-ocean.org/u/smaishal)\
**Post date:** [September 26, 2024, 7:39am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/2 "2024-09-26T07:39:48Z")

</div>

@Roy  
Its great that you diagnosis 3D. what cppkeys you used for “vertical mixing and nupting” ? 😃

---

<div class="post-metadata">

**Author:** ![Roy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Roy](https://forum.croco-ocean.org/u/Roy)\
**Post date:** [September 26, 2024, 7:54am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/3 "2024-09-26T07:54:06Z")

</div>

Thank you for your reply.  
The KPP scheme is used for vertical mixing, but I’m not very familiar with nudging; it might be the default setting.

---

<div class="post-metadata">

**Author:** ![smaishal](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/smaishal/32/667_2.png) [@smaishal](https://forum.croco-ocean.org/u/smaishal)\
**Post date:** [September 26, 2024, 6:54pm UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/4 "2024-09-26T18:54:37Z")

</div>

@Roy  
after profiling what it will do? Idea 🙂

---

<div class="post-metadata">

**Author:** ![Roy](https://forum.croco-ocean.org/letter_avatar_proxy/v4/letter/r/4da419/32.png) [@Roy](https://forum.croco-ocean.org/u/Roy)\
**Post date:** [September 27, 2024, 1:38am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/5 "2024-09-27T01:38:16Z")

</div>

It will make the momentum equation primarily balanced by vertical mixing and nudging.

---

<div class="post-metadata">

**Author:** ![smaishal](https://forum.croco-ocean.org/user_avatar/forum.croco-ocean.org/smaishal/32/667_2.png) [@smaishal](https://forum.croco-ocean.org/u/smaishal)\
**Post date:** [September 27, 2024, 3:28am UTC](https://forum.croco-ocean.org/t/problem-with-mixing-and-nudging/837/6 "2024-09-27T03:28:06Z")

</div>

@Roy  
with nudging it is a bit complex, but I hope it’s not intricate for you.  
[https://croco-ocean.gitlabpages.inria.fr/croco\_doc/model/model.parametrizations.vmix.html](https://croco-ocean.gitlabpages.inria.fr/croco_doc/model/model.parametrizations.vmix.html)  
when you do that, do it for me please (please send me in my email). my study region is the Indian ocean. Ekman pumping is seasonally reverse.  
Best,  
Subhadeep
