Tuesday, February 22, 2011

Gauss Seidel for elliptical differential equations

I re-worked gaussian seidel method for elliptical differential equations and I optimized the code for openmp. Don't use my previous code this one works better and is much quicker.

http://tancospi.googlecode.com/files/E_diffeq.zip

Coming Soon multi-grid analysis which isn't much help when solving elliptical differential equations but the concept can be applied to CFD.

Sunday, February 20, 2011

Programming VBA Import point and Spline for CATIA

CATIA like AUTOCAD is limited to circles, splines, and points etc but what makes CATIA most unique is it's VBA functionality. With VBA you can import points and create any geometry you want. There is however a program that already imports points and it does a rather good job of it too, but what this program is lacking is connecting these points.


My script imports the points and connects them all by a spline.


The code can be found here:
http://tancospi.googlecode.com/files/catia_spline_vba.txt
The format is a text file. Copy and paste contents into an empty module.

Wednesday, February 16, 2011

Spline derivation and code

I have compiled a detailed report on how to derive a basic cubic spline along with the MATLAB code to generate it.
http://tancospi.googlecode.com/files/spline_derivation.pdf

Sunday, February 13, 2011