Ion viscosity permissions - #628
Conversation
We need AA when bounce_frequency is enabled.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #628 +/- ##
==========================================
- Coverage 57.51% 57.44% -0.08%
==========================================
Files 98 98
Lines 10239 10262 +23
Branches 1469 1478 +9
==========================================
+ Hits 5889 5895 +6
- Misses 3758 3772 +14
- Partials 592 595 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| eta.applyBoundary("neumann"); | ||
|
|
||
| // Note: We need parallel boundary conditions on eta | ||
| if (eta.hasParallelSlices()) { |
There was a problem hiding this comment.
I don't understand parallel slices well, but Claude tells me that this if statement is always going to be true since eta.getMesh()->communicate(eta) always calculates the parallel slices.
A similar BC in braginskii_conduction has a simpler implementation:
hermes-3/src/braginskii_conduction.cxx
Lines 276 to 289 in a1c3ba3
|
Hi @malamast! Thanks for this. I'm not an expert on viscosity but found a possible issue and left a comment. I have two other suggestions:
hermes-3/src/braginskii_conduction.cxx Lines 294 to 295 in a1c3ba3 |
| {{"time_dimension", "t"}, | ||
| {"units", "Pa s"}, | ||
| {"conversion", Pnorm / Omega_ci}, | ||
| {"long_name", std::string("Ion viscosity coefficient") + species_name}, |
There was a problem hiding this comment.
For consistency with conduction:
| {"long_name", std::string("Ion viscosity coefficient") + species_name}, | |
| {"long_name", species_name + std::string(" ion viscosity coefficient")}, |
WIP