-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the example on turbulent taylor-couette flow #1083
Conversation
8975172
to
873a515
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool example featuring the power of matrix-free Lethe. I've put minor comments here and there but overall it's a very good job!
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
.. math:: | ||
\mathcal{E} &= \frac{1}{\Omega} \int_{\Omega} \frac{\mathbf{\omega}\cdot \mathbf{\omega}}{2} \mathrm{d}\Omega \\ | ||
E_k &= \frac{1}{\Omega} \int_{\Omega} \frac{\mathbf{u}\cdot \mathbf{u}}{2} \mathrm{d}\Omega \\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not to be picky, but it is not homogeneous to an energy per se, is it possible to clarify what energies we are talking about (if it's a specific energy created for turbulent flows for example)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I understand, it's the kinetic energy per unit of mass and volume. It's the definition we use in the regular Lethe doc which I agree is maybe not the most adequate. If we change that I'd change it in another PR however.
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
examples/incompressible-flow/3d-turbulent-taylor-couette/tc-matrix-free.prm
Outdated
Show resolved
Hide resolved
examples/incompressible-flow/3d-turbulent-taylor-couette/tc-matrix-free.prm
Outdated
Show resolved
Hide resolved
examples/incompressible-flow/3d-turbulent-taylor-couette/tc-matrix-free.prm
Outdated
Show resolved
Hide resolved
examples/incompressible-flow/3d-turbulent-taylor-couette/tc-postprocessing.py
Outdated
Show resolved
Hide resolved
examples/incompressible-flow/3d-turbulent-taylor-couette/tc-postprocessing.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great example! I found it clear and easy to read, and the video is a nice plus!
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
|
||
.. note:: | ||
|
||
The mesh resolution used in the case study consists of 20 radial elements, 80 azimuthal elements, and 64 axial elements totalling 102,400 elements. Additionally, it incorporates a mesh refinement near both walls in the radial direction. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last sentence here is not clear to me... is it referring to the local refinement near walls that we did not use? Aren't all the results here using global refinement?
Other Subsections | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
The ``non-linear solver`` and ``linear solver`` subsections use the same parameters as the `Taylor-Green Vortex <https://lethe-cfd.github.io/lethe/documentation/examples/incompressible-flow/3d-taylor-green-vortex/3d-taylor-green-vortex.html>`_ example. More details can be found in this example and a complete overview of the ``lethe-fluid-matrix-free`` linear solver can be found in the **Theory Guide** (under construction). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have this overview of the MG methods in my TODO list...
...rce/examples/incompressible-flow/3d-turbulent-taylor-couette/3d-turbulent-taylor-couette.rst
Outdated
Show resolved
Hide resolved
I applied all of your comments @PierreLaurentinCS so if you are ok with it I will merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good !
Co-authored-by: Pierre Laurentin <[email protected]>
Co-authored-by: Pierre Laurentin <[email protected]>
Co-authored-by: Laura Prieto Saavedra <[email protected]>
d0bb451
to
70f1423
Compare
Description of the problem Using the Matrix Free solver, Joel cooked up a very cool 3d Taylor-Couette example that really showcases the power of the matrix free approach Description of the solution To keep this example for the future, we add it as an example test case. Co-authored-by: Pierre Laurentin <[email protected]> Co-authored-by: Laura Prieto Saavedra <[email protected]> Former-commit-id: 95dbbc5
Description of the problem Using the Matrix Free solver, Joel cooked up a very cool 3d Taylor-Couette example that really showcases the power of the matrix free approach Description of the solution To keep this example for the future, we add it as an example test case. Co-authored-by: Pierre Laurentin <[email protected]> Co-authored-by: Laura Prieto Saavedra <[email protected]> Former-commit-id: 95dbbc5
Description of the problem
Description of the solution
How Has This Been Tested?