# Navier Stokes and Convection Diffusion

**URL:** <https://fenicsproject.discourse.group/t/navier-stokes-and-convection-diffusion/7170>\
**Category:** variational formulation\
**Created:** [November 26, 2021, 4:22pm UTC](https://fenicsproject.discourse.group/t/navier-stokes-and-convection-diffusion/7170 "2021-11-26T16:22:44Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![JoelTomasek](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/joeltomasek/32/2302_2.png) [@JoelTomasek](https://fenicsproject.discourse.group/u/JoelTomasek)\
**Post date:** [November 27, 2021, 8:12pm UTC](https://fenicsproject.discourse.group/t/navier-stokes-and-convection-diffusion/7170/7 "2021-11-27T20:12:23Z")

</div>

Actually, with a higher mesh density and a finer timestep I got a working code.  
Thank you so much for your help.

The reason I was undertaking this exercise, is to obtain a MWE for my previous post ([Strain history in Newtonian flow](https://fenicsproject.discourse.group/t/strain-history-in-newtonian-flow/7169)). My aim is to implement the frobenius norm of the strain as a source term in the convection diffusion equation.

In the previous post I referred to the Oasis solver without a MWE, so it would be difficult for anyone to answer my questions or to figure out the problem myself.  
I will give this implementation another attempt and maybe resubmit my question regarding “Strain history in convection diffusion equation” if I do not succeed.

---

_[View the full topic](https://fenicsproject.discourse.group/t/navier-stokes-and-convection-diffusion/7170)._
