I have divergent geometry, where my longitudinal coordinate is:
Wall of the pipe is defined with this law:
and ri is inlet radius of the pipe (when z=0), outlet radius is 1 (it means when z=1).
I need to define radius, which will be transverzal coordinate r, it need to go from -R(z) to R(z) for one value of z, but I need to have all values of z. It means that R is not constant, and it is possible to have different number of points at different values of z. Is it possible so solve this for the same number of points in every cross section, and to have r as matrix? Or is it possible to solve it with different number of points in every cross section?
Later I need to calculate D, will D also be matrix?
I have tried this, and all does not work: