-
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 plane to stasis constraint and remove pressure constraints #1193
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.
Good work!
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.
Other than Olivier's comment, I am fine with this Pr.
can you rebase? Then I would merge afterwards |
…d parameters to ConstrainSolidDomain<dim>
753557e
to
6989b50
Compare
I'll wait until @oguevremont and @hepap accept the PR before merging |
52ef1b4
to
653027c
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.
Looks very good to me :) Can't wait to try it!
…-polymtl#1193) Description Following the implementation of temperature-dependent solid domain constraint for both single-phase and two-phase flows, a need for an additional condition was identified. Indeed, in some simulations, splatters may happen, and with the previous implementation, splatter could freeze "mid-air" which is non-physical and therefore undesired. This PR adds a plane to divide the problem domain in two parts and only the one in the opposite direction to the normal vector is considered for stasis constraints to be applied. The plane is defined through a point and an outward pointing normal vector. During this PR, a bug regarding the pressure constraints was detected and fixed. Previously, the pressure DOFs were also constrained, but this resulted in an ill-posed problem when sources terms in the momentum equation were pressure-dependent. Therefore, as of this PR, the constraints on pressure DOFs were removed. Testing Previous tests with solid domain constraints were updated due to the pressure DOFs that are no more constrained. Additionally, two new application tests were added for the new plane restriction feature (1 for single fluid flows and one for VOF). Documentation The "Constrain Stasis" page in the parameter documentation was updated with the new features and disabled ones. Former-commit-id: c41f675
Description Following the implementation of temperature-dependent solid domain constraint for both single-phase and two-phase flows, a need for an additional condition was identified. Indeed, in some simulations, splatters may happen, and with the previous implementation, splatter could freeze "mid-air" which is non-physical and therefore undesired. This PR adds a plane to divide the problem domain in two parts and only the one in the opposite direction to the normal vector is considered for stasis constraints to be applied. The plane is defined through a point and an outward pointing normal vector. During this PR, a bug regarding the pressure constraints was detected and fixed. Previously, the pressure DOFs were also constrained, but this resulted in an ill-posed problem when sources terms in the momentum equation were pressure-dependent. Therefore, as of this PR, the constraints on pressure DOFs were removed. Testing Previous tests with solid domain constraints were updated due to the pressure DOFs that are no more constrained. Additionally, two new application tests were added for the new plane restriction feature (1 for single fluid flows and one for VOF). Documentation The "Constrain Stasis" page in the parameter documentation was updated with the new features and disabled ones. Former-commit-id: c41f675
Description
Following the implementation of temperature-dependent solid domain constraint for both single-phase and two-phase flows, a need for an additional condition was identified. Indeed, in some simulations, splatters may happen, and with the previous implementation, splatter could freeze "mid-air" which is non-physical and therefore undesired. This PR adds a plane to divide the problem domain in two parts and only the one in the opposite direction to the normal vector is considered for stasis constraints to be applied. The plane is defined through a point and an outward pointing normal vector.
During this PR, a bug regarding the pressure constraints was detected and fixed. Previously, the pressure DOFs were also constrained, but this resulted in an ill-posed problem when sources terms in the momentum equation were pressure-dependent. Therefore, as of this PR, the constraints on pressure DOFs were removed.
Testing
Previous tests with solid domain constraints were updated due to the pressure DOFs that are no more constrained.
Additionally, two new application tests were added for the new plane restriction feature (1 for single fluid flows and one for VOF).
Documentation
The "Constrain Stasis" page in the parameter documentation was updated with the new features and disabled ones.
Miscellaneous (will be removed when merged)
Checklist (will be removed when merged)
See this page for more information about the pull request process.
Code related list:
Pull request related list: