Hi [name removed],
I have been attempting to set a simple sediment distribution (grain size fractions in one layer) using various methods. I have tried using Private Variables, reading a .DAT file directly and reading from [name removed] file directly.
After reading all the relevant posts on this forum, I settled on using Private Variables, the modified subroutine init_compo has successfully ran but the result file does not show the specified grain size distribution. Is there a general consensus on the best approach to such a problem? and are there any obvious errors in my FORTRAN code?
fortran.f (2.09 KB)
NorthWales_sis.cas (3.29 KB)
Update, the Private Variable approach works! Now I just need to define 3 Private Variables and set them equal to the concentration of 3 sediment types in layer 1.
Hi [name removed] someone please delete this topic
Hi,
If anyone else is wanting to implement a spatially variable sediment distribution in SISYPHE, you can find my modified subroutine init_compo here: https://github.com/eroome/T2D-SIS-SED-DIST/tree/main
My code allows for three size classes to be defined in the geometry file, each class should be named FRAC1, FRAC2, [name removed]. The values assigned to each class represents the proportion of sediment in each class at a given node (the sum of all classes should be 1).
The D50 of each class is defined as usual in the SISYPHE steering file…
SEDIMENT DIAMETERS = xxx; xxx; xxx (m)
Hi! thanks for sharing, I’m trying to spatialized grain size diameters but in GAIA, subroutine init_compo it’s not in GAIA, I just want to spatialized D50 all over domain, but it seems that the correct way it’s by fractions in each node, so is that the only way to do it? by fractions?. On the other hand, in GAIA the subroutine USER_BED_INIT it’s the one who I’ve seen that people use, so I think that’s the correct subroutine to modify, is it correct? I appreciate your help, thanks.