Hi again,
Thanks for the ideas I tried the dos2unix utility and it appears to already have been in Unix format, so that's unlikely to be the issue.
I then looked at the pluie case, as well as
#39507 about setting a spatially variable bed (even though it may not work). My code now looks like this:
USE DECLARATIONS_TELEMAC2D, ONLY: MESH,PRIVE
! ...
DO IPOIN=1,NPOIN
ESTRATUM(ISTRAT,IPOIN) = PRIVE%ADR(1)%P%R(IPOIN)
END DO
In the steering file, with ALTHICKNESS the variable I added to the geometry selafin:
NUMBER OF PRIVATE ARRAYS = 1
NAMES OF PRIVATE VARIABLES = 'ALTHICKNESS'
(Question, is the NAMES OF PRIVATE VARIABLES keyword necessary? It isn't present in the pluie_cn case.)
And of course, it's a new error this time, a good old segfault for each thread:
forrtl: severe (174): SIGSEGV, segmentation fault occurred
I feel like it must be so simple to take the data from a selafin variable and apply it to the layer thickness, and I must be missing something, but I cannot see for the life of me what it is.
My last resort will be to try setting every point as discussed further in the #39507 thread linked above, even though this seems like a dreadful approach.
---
I forgot to press Submit last night, so some updates:
I removed the NAMES OF PRIVATE VARIABLES keyword and the simulation ran, although I suspect it didn't actually change anything as the evolution seems virtually identical to previous tests. Moreover, when I look at LAYER 1 THICKNESS in the results file, it appears that the layer thickness is uniform at 0.02 m.
Here are the relevant lines from my steering file; is there anything that could be causing the AL thickness to change back from my prescribed values in the user_bed_init subroutine?
ACTIVE LAYER THICKNESS = 0.020
CONSTANT ACTIVE LAYER THICKNESS = NO
NUMBER OF LAYERS FOR INITIAL STRATIFICATION = 3
LAYERS INITIAL THICKNESS = 0.020;0.020;0.020
As well, I've taken note of Rebekka's reply. These both seem like helpful ideas, I will try them! Thank you so much for your help!