Hello again,
I have some updates with how my code is working. It turns out, using the suffix %R for LIHBOR and LIUBOR gives a "segmentation fault error, improper memory reference". I changed this suffix to %I and the code now runs without error. Also, I found that using the user_corfon.f file was not adequate for my needs because it seems that it is only called once at the beginning of the simulation. I found an old post on the forum about this (post #9744) and learned that in order to change the bottom elevation at every time step, you need to use the "user_utimp_telemac2d.f" subroutine, which is called at every time step. Copying my previous user_corfon code into the user_utimp_telemac2d.f file seems to have resolved this issue, however it appears that I am now back at my original problem where the code runs as expected, and print statements give the expected printouts, but no change is observed in the output files. The simulation runs as if I had not compiled it with my user_bord.f or user_utimp_telemac2d.f files. I have attached my user_utimp_telemac2d.f file.
Could it be that my changes are being overwritten by the regular telemac simulation procedures before my changes are recorded in the selafin output file? Or am I doing some other thing wrong?