Validation Carreau Yasuda Model #1207
Conversation
|
For validation cases we want to have the following structure:
So you just need to create this additional example file and figure out an error bound for the validation to get to that structure. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1207 +/- ##
=======================================
Coverage 90.04% 90.04%
=======================================
Files 136 136
Lines 10595 10595
=======================================
Hits 9540 9540
Misses 1055 1055
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
028501c to
0ec9cb8
Compare
|
@svchb examples/fluid/poiseuille_carreau_2d.jl as the example file I hope this follows the expected structure now. Please let me know if any further changes or corrections are needed. Thanks for the guidance! |
modified: validation/poiseuille_carreau_2d/plot_carreau_comparison.jl modified: validation/poiseuille_carreau_2d/validation_poiseuille_carreau_2d.jl
Please note that this is more of a steady-profile preservation check than a full convergence-from-rest validation, because the default and high-resolution runs use analytical initial conditions. . For a stronger transient validation, we need to use initial_condition_mode = zero or newtonian and verify convergence of the velocity profile toward the analytical solution.
The relative L2 velocity-profile error remains below 3% for all tested Carreau-Yasuda indices at ny = 200. The largest error occurs for n = 0.25, the strongest shear-thinning case, while the Newtonian limit n = 1 is recovered with about 1.4% relative L2 error.
The reference Poiseuille validation from Section 3.1 of Coclite et al. (2020) is shown below for comparison.