I was trying to calculate some things with water in PCSAFT with association in the generic-SAFT model frame.
I noticed that the default radial distribution function never got set, as it states in
data.radial_dist = options.radial_dist;
Here, options.radial_dist is empty and teqp throws an error.
I was able to solve it by using the CS rule per default:
association::radial_dists radial_dist = association::radial_dists::CS;
But maybe there is a better way.
I was trying to calculate some things with water in PCSAFT with association in the generic-SAFT model frame.
I noticed that the default radial distribution function never got set, as it states in
data.radial_dist = options.radial_dist;Here,
options.radial_distis empty and teqp throws an error.I was able to solve it by using the CS rule per default:
association::radial_dists radial_dist = association::radial_dists::CS;But maybe there is a better way.