|
[Sponsors] |
October 25, 2004, 12:31 |
How to digitised a curve
|
#1 |
Guest
Posts: n/a
|
I found very useful experimental curve in literature, and I want to digitize it and feed into my CFD code. Does anybody know how to do it? Please give me some info and hint on it1
Thanks ahead! |
|
October 25, 2004, 13:04 |
Re: How to digitised a curve
|
#2 |
Guest
Posts: n/a
|
Try to read some (x,y) coordinates manually from the curve. Once you have the coordinates, fit an orthogonal polynomial (i.e. discrete fourier, Chebyshev (rescaled to [-1,1], or other polynomial) using a collocation (gridpoint) or spectral coefficient approach. This is low tech, but may be your most efficient method.
|
|
October 25, 2004, 14:32 |
Re: How to digitised a curve
|
#3 |
Guest
Posts: n/a
|
thanks, Tom.
Can you give me more detail on it. I mean the tools, such as what software (matlab, tecplot, origin) is best to fit the selected data. And what is the collocation (gridpoint) or spectral coefficient approach. Thanks a lot for your reply1 |
|
October 25, 2004, 16:55 |
Re: How to digitised a curve
|
#4 |
Guest
Posts: n/a
|
I always use the Engague Digitizer - a free tool which allows you to digitize a scanned plot. You can download it from here:
http://digitizer.sourceforge.net/ It works really well and has lost of nice features. |
|
October 25, 2004, 18:11 |
Re: How to digitised a curve
|
#5 |
Guest
Posts: n/a
|
thanks a lot, Jonas, that's really helpful.
|
|
October 26, 2004, 14:10 |
Re: How to digitised a curve
|
#6 |
Guest
Posts: n/a
|
I use the same one too.
|
|
October 27, 2004, 08:59 |
Re: How to digitised a curve
|
#7 |
Guest
Posts: n/a
|
Hi, dear all,
After digitizing the curve, a set of data is obtained. If I want to fit them, such as lnear fit, polynomial fit, even a distribution function, what software do you recommend? I used Origin before, and the fitting function is too simple. Can you give me any suggestion? Thanks ! |
|
October 27, 2004, 09:11 |
Re: How to digitised a curve
|
#8 |
Guest
Posts: n/a
|
||
October 27, 2004, 11:49 |
Re: How to digitised a curve
|
#9 |
Guest
Posts: n/a
|
Origin Lab is very Good. There are lots of Curve fitting options from simple to complex. You have to experiment which curve fits best. Dont just try the default linear ones. Try the non-linear ones and there are hundred and hundreds of options there. Also you can use TableCurve 2D.
|
|
October 27, 2004, 13:06 |
Re: How to digitised a curve
|
#10 |
Guest
Posts: n/a
|
Matlab is my tool of choice.
|
|
October 27, 2004, 18:32 |
Re: How to digitised a curve
|
#11 |
Guest
Posts: n/a
|
Then, could you please tell me more on how to do it. I only know the polyfit function for polynomial fit. Is there any other functions, in which toolbox? Is it flexible to use?
Thanks again! |
|
October 28, 2004, 10:31 |
Re: How to digitised a curve
|
#12 |
Guest
Posts: n/a
|
This is difficult for me to answer, because it is problem dependent. If it is 2-D data I will first us the plot function to see what it looks like. After this step I will decide whether I need a hyperbolic, exponential, polynomial, or some other fit.
Matlab has a section on regression and curve fitting in addition to their curve fitting, statistic, and optimization tool boxes that are very helpful for curve fitting tasks. Good luck. |
|
November 18, 2004, 18:40 |
Re: How to digitised a curve
|
#13 |
Guest
Posts: n/a
|
I like PlotDigitizer better than Engauge, but either program will work. PlotDigitizer is a Java program and works on various platforms.
http://plotdigitizer.sourceforge.net/ Nonlinear curve fitting is very powerful, as you can fit your data to any function that you specify (with a number of free coefficients). I like using xmgrace for this purpose. Like most other good programs, it's open source. http://plasma-gate.weizmann.ac.il/Grace/ |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 12:12 |
block-structured mesh for t-junction | Robert@cfd | ANSYS Meshing & Geometry | 20 | November 11, 2011 05:59 |
[ICEM] Smoothing a curve | lost.identity | ANSYS Meshing & Geometry | 6 | July 13, 2009 06:23 |
How to maintain spacing along a new curve? | KB | Main CFD Forum | 2 | June 5, 2007 17:45 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |