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

Make stasis constraint compatible with restart and adaptive mesh refi… #1072

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

AmishgaAlphonius
Copy link
Collaborator

Description of the problem

Description of the solution

  • The apply_phase_filter() function was added to post_mesh_adaptation() and read_checkpoint() functions.

How Has This Been Tested?

  • The stasis constraint was tested using the 2D LPBF benchmark :
    • with restart and mesh adaptation;
    • without restart and with mesh adaptation, and;
    • with restart and without mesh adaptation.

@blaisb blaisb merged commit bb7cea3 into master Mar 18, 2024
8 checks passed
@blaisb blaisb deleted the fix-stasis-contraint-bug branch March 18, 2024 13:28
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
chaos-polymtl#1072)

Description of the problem
The recently implemented vof stasis constraint (Implement temperature-dependant solid domain contraints in VOF chaos-polymtl#1048) was not compatible with adaptive mesh refinements and checkpointing system. When refining the mesh or when restarting a simulation, the filtered phase fraction was reinitialized, but not filled with the appropriate values.

Description of the solution
The apply_phase_filter() function was added to post_mesh_adaptation() and read_checkpoint() functions.

How Has This Been Tested?
The stasis constraint was tested using the 2D LPBF benchmark :
with restart and mesh adaptation;
without restart and with mesh adaptation, and;
with restart and without mesh adaptation.

Former-commit-id: bb7cea3
blaisb pushed a commit that referenced this pull request Sep 30, 2024
#1072)

Description of the problem
The recently implemented vof stasis constraint (Implement temperature-dependant solid domain contraints in VOF #1048) was not compatible with adaptive mesh refinements and checkpointing system. When refining the mesh or when restarting a simulation, the filtered phase fraction was reinitialized, but not filled with the appropriate values.

Description of the solution
The apply_phase_filter() function was added to post_mesh_adaptation() and read_checkpoint() functions.

How Has This Been Tested?
The stasis constraint was tested using the 2D LPBF benchmark :
with restart and mesh adaptation;
without restart and with mesh adaptation, and;
with restart and without mesh adaptation.

Former-commit-id: bb7cea3
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