-
Notifications
You must be signed in to change notification settings - Fork 61
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
Update flow past a backward facing step example #1389
Conversation
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.
Nice images! All clear. I added small suggestions but nothing fancy.
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
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.
Lovely!
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.
Lovely! (1)
Co-authored-by: Victor Oliveira Ferreira <voferreira@outlook.com>
- Parameter file for the base case (:math:`\mathrm{Re} = 100`): ``Reynolds100_steady.prm`` | ||
- Parameter file for the higher-Reynolds case (:math:`\mathrm{Re} = 1000`): ``Reynolds1000_steadybdf.prm`` |
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 two prm file should end with or without bfd at the end.
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.
no I think this is fine right now no?
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 reason for this is that both cases are solved differently (see simulation control section). The Reynolds 100 case is solved as a steady problem, while the second one uses steady bdf.
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Show resolved
Hide resolved
|
||
For the case where :math:`\textrm{Re}=1000`, replace the name of the parameter file by ``Reynolds1000_steadybdf.prm``. |
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.
same thing here, with or without the bfd
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.
nah I think this is ok right now. Because steadybdf is the name of the method
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.
One tiny typo, then ready for merge
- Parameter file for the base case (:math:`\mathrm{Re} = 100`): ``Reynolds100_steady.prm`` | ||
- Parameter file for the higher-Reynolds case (:math:`\mathrm{Re} = 1000`): ``Reynolds1000_steadybdf.prm`` |
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.
no I think this is fine right now no?
doc/source/examples/incompressible-flow/2d-backward-facing-step/2d-backward-facing-step.rst
Outdated
Show resolved
Hide resolved
|
||
For the case where :math:`\textrm{Re}=1000`, replace the name of the parameter file by ``Reynolds1000_steadybdf.prm``. |
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.
nah I think this is ok right now. Because steadybdf is the name of the method
Thank you for your review, I have applied all the comments and I will mark this as ready to merge :) |
Description
The post-processing scripts were not working for this example and the example was long and hard to follow. This PR refactors the example by limiting it to two Reynolds numbers: 100 and 1000. To summarize:
Checklist (will be removed when merged)
See this page for more information about the pull request process.
Code related list:
Pull request related list: