Thanks for the help Rob. I figured out another way (for anyone looking for something similar):
1. Open CFD post and make a plane (from locations option) normal to your curve (z-axis is the normal in my case here) 2. Open the polyline option and select boundary intersection method, in 'boundary list' select the surface of your interest (on which you want to plot your variable); in 'intersect with' select that plane. 3.Click Apply and this creates the polyline. 4. Now open the chart option and in data series tab select polyline for location, in x axis tab select 'curve length of polyline x' and in y axis tab select the variable of your interest. Click apply and there is your plot. You can also export it to Excel or any spreadsheet software for further post processing.