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

Fixed bug preventing particles from working in Solcx benchmark #1884

Merged
merged 1 commit into from Aug 12, 2017

Conversation

HarryRLevinson
Copy link
Contributor

@HarryRLevinson HarryRLevinson commented Aug 12, 2017

The density and viscosity values at each point were not being set to the values on their respective compositional fields in solcx_compositional_fields.h. This is because SolCxCompostionalMaterial was outdated and needed to be updated. As a result, we would always obtain the convergence results for the direct method regardless of the method being used in the Solcx parameter file.

Currently, if a compositional field carries viscosity, then the convergence results are less accurate then that of the direct methods. However, the convergence results for Solcx are exactly the same as the direct method if only density is carried on a compositional field.

@gassmoeller
Copy link
Member

Thanks for fixing this! For reference: This was likely caused by an overlap of #1539 and #1700, and never discovered afterwards. Lets see if it affects the tester.

@gassmoeller
Copy link
Member

/run-tests

@bangerth
Copy link
Contributor

There is one failing test. Does anyone have an idea what the reason is?

@gassmoeller
Copy link
Member

Yes, this test was broken on master (fixed in #1881 earlier today). Since this PR is completely unrelated to the broken test I am in favour of just merging it. A rebase would simply be unnecessary work here.

@bangerth
Copy link
Contributor

I agree.

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.

None yet

3 participants