Skip to content
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 verbosity to interface thickness in Cahn-Hilliard (and CHNS) solver #1291

Merged
merged 10 commits into from
Sep 26, 2024

Conversation

PierreLaurentinCS
Copy link
Collaborator

@PierreLaurentinCS PierreLaurentinCS commented Sep 25, 2024

Description

It is often useful for the user to know the exact value of the interface thickness when it is determined automatically. Hence a verbosity parameter was added to the interface thickness parameter to display it at every iteration and make sure it remains coherent with the problem under study.

Testing

An application test was added to make sure any future change to the code do not break the interface thickness computation (whether in deal.ii or lethe)

Documentation

This pull requests adds a new parameter in the Cahn-Hilliard subsection of the .prm file. The documentation was modified accordingly and also made clearer.

Code related list:

  • All in-code documentation related to this PR is up to date (Doxygen format)
  • Lethe documentation is up to date
  • New feature has unit test(s) (preferred) or application test(s), and restart files are in the generator folder
  • The branch is rebased onto master
  • Changelog (CHANGELOG.md) is up to date
  • Code is indented with indent-all and .prm files (examples and tests) with prm-indent

Pull request related list:

  • Labels are applied
  • There are at least 2 reviewers (or 1 if small feature) excluding the responsible for the merge
  • The PR description is cleaned and ready for merge

Copy link
Collaborator

@AmishgaAlphonius AmishgaAlphonius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I have a few comments! :)

CHANGELOG.md Outdated Show resolved Hide resolved
doc/source/parameters/cfd/cahn_hilliard.rst Outdated Show resolved Hide resolved
doc/source/parameters/cfd/cahn_hilliard.rst Outdated Show resolved Hide resolved
include/core/parameters_multiphysics.h Outdated Show resolved Hide resolved
source/core/parameters_multiphysics.cc Outdated Show resolved Hide resolved
source/solvers/cahn_hilliard.cc Show resolved Hide resolved
Copy link
Collaborator

@AmishgaAlphonius AmishgaAlphonius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 last minor comments/suggestions

CHANGELOG.md Show resolved Hide resolved
doc/source/parameters/cfd/cahn_hilliard.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@blaisb blaisb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small comments to address

doc/source/parameters/cfd/cahn_hilliard.rst Outdated Show resolved Hide resolved
source/core/parameters_multiphysics.cc Outdated Show resolved Hide resolved
@blaisb blaisb merged commit 9d43a28 into master Sep 26, 2024
11 checks passed
@blaisb blaisb deleted the chns_epsilon_verbosity branch September 26, 2024 23:12
blaisb pushed a commit that referenced this pull request Sep 27, 2024
…er (#1291)

Description
It is often useful for the user to know the exact value of the interface thickness when it is determined automatically. Hence a verbosity parameter was added to the interface thickness parameter to display it at every iteration and make sure it remains coherent with the problem under study.

Testing
An application test was added to make sure any future change to the code do not break the interface thickness computation (whether in deal.ii or lethe)

Co-authored-by: Amishga Alphonius <[email protected]>
Former-commit-id: 9d43a28
blaisb pushed a commit that referenced this pull request Sep 30, 2024
…er (#1291)

Description
It is often useful for the user to know the exact value of the interface thickness when it is determined automatically. Hence a verbosity parameter was added to the interface thickness parameter to display it at every iteration and make sure it remains coherent with the problem under study.

Testing
An application test was added to make sure any future change to the code do not break the interface thickness computation (whether in deal.ii or lethe)

Co-authored-by: Amishga Alphonius <[email protected]>
Former-commit-id: 9d43a28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants