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.00% 90.00%
=======================================
Files 135 135
Lines 10569 10569
=======================================
Hits 9513 9513
Misses 1056 1056
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! |
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.