andrewdnolan / thermal-structure

Thermomechanically coupled surging experiments with Elmer/Ice
MIT License
0 stars 0 forks source link

Fictious Ice-thickness incorrectly filtered with fine (vertical) reslution meshs #7

Open andrewdnolan opened 1 year ago

andrewdnolan commented 1 year ago

Given the higher mesh densities at the boundaries (and therefore finer mesh resolutions), the simple approach for filtering the fictitious ice thickness added by Elmer ( $h_{\rm min}$ ) no longer works correctly:

https://github.com/andrewdnolan/thermal-structure/blob/fe33d8bbeb79c1a4dcf72c4200790cf4f5cac98b/src/thermal/open.py#L108

If the vertical mesh resolution is fine enough, the ice thickness in the second (or even third) vertical nodes from the bottom will still be less then $h_{\rm min}$ and therefore forced to zero.

Proposed Solution: