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

Inconsistent thermal divergence in low-Mach formulation #587

Open
stgeke opened this issue Sep 21, 2024 Discussed in #586 · 1 comment
Open

Inconsistent thermal divergence in low-Mach formulation #587

stgeke opened this issue Sep 21, 2024 Discussed in #586 · 1 comment
Labels
bug Something isn't working

Comments

@stgeke
Copy link
Collaborator

stgeke commented Sep 21, 2024

Discussed in #586

Originally posted by bnkeeton September 18, 2024
I've been using the low-Mach formulation in nekRS v23 and found that the evaluation of the thermal divergence seems incorrect for the problem I'm working on. To test this, I've set up a very simple case in a cylindrical domain with a stagnant initial flow superimposed by a spherical hot spot. I run the case for a single small time step, and then output the thermal divergence and compare it to the identical case run with nek5000 by plotting along the line [0,0,0] to [6,0,0]. I have confirmed through separate software that the nek5000 solution is correct. A plot showing the discrepancy is attached, along with both sets of case files. The red curve represents the correct, symmetrical nek5000 thermal divergence, and the blue is nekRS.

One additional item I found interesting is that if you set the thermal conductivity k1 to be constant by changing sigma1=0 in both cases, the two codes then produce identical values for the divergence. I tried inspecting the relevant kernel qtlHex3D but I do not see anything off.

div

nek5000_jet_1.zip
nekrs_jet_1.zip

Thanks,
Ben Keeton

@stgeke stgeke added the bug Something isn't working label Sep 21, 2024
@stgeke
Copy link
Collaborator Author

stgeke commented Sep 21, 2024

There is a bug in the qtlHex3D when loading the diffusivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant