Stochastic distribution of SF

A discussion forum for users of the new HYDRUS 2D/3D. HYDRUS is a software package for simulating water, heat and solute movement in two- and three-dimensional variably saturated media. Happy Posting!
Post Reply
XH Wang
Posts: 1
Joined: Tue Apr 09, 2019 11:56 pm
Location: China

Stochastic distribution of SF

Post by XH Wang » Wed Apr 10, 2019 5:38 am

I'm using HYDRUS 2D and have some troubles.
I want to know how can I generate random scaling factor by using matlab command to run this part of HYDRUS.
Because I want to couple the HYDRUS with other model,so I want to input the standard dev,correlation length into matlab ,then run HYDRUS to generate the scaling factor.Could you please tell me can it to be worked?

Posts: 4651
Joined: Sat Mar 16, 2002 3:47 pm
Location: USA
Location: Riverside, CA

Re: Stochastic distribution of SF

Post by Jirka » Wed Apr 10, 2019 6:21 pm

The stochastic scaling factors are generated by a routine in the HYDRUS GUI and thus you cannot generate them similarly as you can run the computational module using the MatLab command. However, you can write your own generator in MatLab and write generated scaling factor into the HYDRUS input file Domain.dat. This text file is read if the binary file (with the same information) is not present. J.

Post Reply