Hi,
I can add that this can now be done in an easier way (less fortran programming) from version 7.1 thanks to the new function related to the new keyword NAMES OF PRIVATE VARIABLES, see the "What's new" section, link below:
www.opentelemac.org/index.php/feature-lo...ogrammes-version-7-1
I haven't tried it yet, but the principle is that you store your "user variable", for example D50, in you geometry file as a new variable, name it in your CAS file with NAMES OF PRIVATE VARIABLES = 'D50'.
You should then be able to use directly the value of D50 at each node by the fortran variable PRIVE%ADR(1)%P (note that the '1' means that you look for the 1st private variable, there are max 4). As Gabi mentioned, this needs to be done in init_compo.f.
Once again, I haven't tested it yet, but the aim is to make the use of user defined variables stored spatially into the geometry file much more easy than the method that was required in the past.
Good luck!
Best regards,
PL