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 temperature extrapolation #994

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Add temperature extrapolation #994

merged 2 commits into from
Jan 24, 2024

Conversation

AmishgaAlphonius
Copy link
Collaborator

Description

  • This PR adds the extrapolation in time of temperature and temperature gradient value for source terms in the Navier-Stokes equations requiring them (Marangoni and evaporation recoil force terms).

How Has This Been Tested?

  • All tests have passed

Comment

  • Velocity extrapolation has been moved to include/solvers/vof_scratch_data.h. Solution extrapolations are now located in ScratchData to avoid constraint on assemblers order.

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.

That's a very good change. Amazing work.
I don't have any comments. Good work, seriously good work :). that was a much needed feature :)
@hepap it will be interesting to see if this changes the results for the Marangoni case. It should not.

@blaisb blaisb merged commit 6dc4461 into master Jan 24, 2024
15 checks passed
@blaisb blaisb deleted the add-temperature-extrapolation branch January 24, 2024 20:38
@AmishgaAlphonius AmishgaAlphonius mentioned this pull request Sep 18, 2024
11 tasks
blaisb pushed a commit that referenced this pull request Sep 24, 2024
Description
A bug in the VOF auxiliary physics was discovered when rerunning the gravity wave example. In the PR #994, BDF extrapolation of the velocity vector field in the VOF auxiliary physic was moved to the scratch data. However, the implementation was bypassed by an "if" condition.

Solution
This bug is fixed with this PR, and an application test was added to ensure that the feature remains intact with future implementations.

Testing
The new application test: applications_tests/lethe-fluid/vof-velocity-extrapolation.prm
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description
This PR adds the extrapolation in time of temperature and temperature gradient value for source terms in the Navier-Stokes equations requiring them (Marangoni and evaporation recoil force terms).
How Has This Been Tested?
All tests have passed
Comment
Velocity extrapolation has been moved to include/solvers/vof_scratch_data.h. Solution extrapolations are now located in ScratchData to avoid constraint on assemblers order.

Former-commit-id: 6dc4461
M-Badri pushed a commit to M-Badri/lethe that referenced this pull request Sep 29, 2024
Description
A bug in the VOF auxiliary physics was discovered when rerunning the gravity wave example. In the PR chaos-polymtl#994, BDF extrapolation of the velocity vector field in the VOF auxiliary physic was moved to the scratch data. However, the implementation was bypassed by an "if" condition.

Solution
This bug is fixed with this PR, and an application test was added to ensure that the feature remains intact with future implementations.

Testing
The new application test: applications_tests/lethe-fluid/vof-velocity-extrapolation.prm

Former-commit-id: 202fb53
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description
This PR adds the extrapolation in time of temperature and temperature gradient value for source terms in the Navier-Stokes equations requiring them (Marangoni and evaporation recoil force terms).
How Has This Been Tested?
All tests have passed
Comment
Velocity extrapolation has been moved to include/solvers/vof_scratch_data.h. Solution extrapolations are now located in ScratchData to avoid constraint on assemblers order.

Former-commit-id: 6dc4461
blaisb pushed a commit that referenced this pull request Sep 30, 2024
Description
A bug in the VOF auxiliary physics was discovered when rerunning the gravity wave example. In the PR #994, BDF extrapolation of the velocity vector field in the VOF auxiliary physic was moved to the scratch data. However, the implementation was bypassed by an "if" condition.

Solution
This bug is fixed with this PR, and an application test was added to ensure that the feature remains intact with future implementations.

Testing
The new application test: applications_tests/lethe-fluid/vof-velocity-extrapolation.prm

Former-commit-id: 202fb53
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.

2 participants