Linear mesh growth

I would like to mesh the length of a cylinder where the growth of the mesh increases in distance along the pipe length. the spacing in more compact at the beginning, gradually increasing til the end. I would like to define the growth with a linear or nonlinear function. How can this be accomplished in Cubit?

Hi,

You have to create curves on the cylinder so that you can apply a bias to the curve mesh. For example,

create cylinder radius 1 z 6
split periodic vol 1
curve 3 5  interval 20
curve 3 5  scheme bias factor 1.1
mesh curve 3 5
mesh vol 1

The image below shows the curve bias preview. There are several options for setting the bias, but they are all linear. You will have to write a python function to create the nodes at the desired locations and then associate those nodes with the curve.

Final mesh.

Thanks,
Karl