# How to maintain spacing along a new curve?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 13, 2007, 03:18 How to maintain spacing along a new curve? #1 KB Guest   Posts: n/a Hi ppl, I'm doing grid deformation and part of the problem requires me to transform one curve (which consists of a no. of grid pts) to another which will give better cell properties in the end. I know all the pts on the original curve and I know the eqn of the new curve, which is a 3rd polynomial, and also the starting and ending pts of this curve. The starting pt of the 2 curve coincide. I need to find the pts on the new curve. However, I also want to preserve the original spacing between consecutive pts on the new curve. E.g., from pt1 to pt2, the distance, on the old and new curve must be 0.5. How can I achieve that? My friend told me to do integration on the new curve to get the arc length etc. but that sounds like a lot of workings. Is there a simplier mtd? Thanks

 May 13, 2007, 11:44 Re: How to maintain spacing along a new curve? #2 Jonas Holdeman Guest   Posts: n/a Sounds like your friend has a good suggestion for the problem as you have stated it. Another possibility might be to find points on the curve closest to your data points. If the curve is given parametrically as a function of a variable t, ie x(t)=f(t), y(t)=g(t), find ti such that d^2=(f(ti)-xi)^2+(g(ti)-yi)^2 is a minimum. That is, find ti such that (f(ti)-xi)*f'(ti)+(g(ti)-yi)*g'(ti)=0 for ech node i. Solution is straight-forward, but nonlinear, provided there are no loops in the curve.

 June 5, 2007, 16:45 eluxkc fueqyn #3 nrzwme vkfrepoil Guest   Posts: n/a zkbigmxqd refi uepinzy xtkvng msjvyblrt fniah faoe

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59 tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02 mirko_r ANSYS Meshing & Geometry 6 January 14, 2010 14:23 siw ANSYS Meshing & Geometry 4 October 14, 2009 17:42 Chie Min CFX 5 July 12, 2001 23:19

All times are GMT -4. The time now is 15:35.