9 Mart 2014 Pazar

Usefull Free Programs (Kullanışlı Bedava Programlar)

Usefull Free Programs
(Kullanışlı Bedava Programlar)


  1. Free file synchronizer  syncronizes your files with your computer to another hard disk     (Free file synchronizer  bilgisayarınız ile harici diskiniz arasında dosyaları senkronize etmenize yardımcı olur)
  2. Google Drive
  3. Ccleaner
  4. Foxit Reader (pdf reader)(pdf dosya okuyucu)
  5. Google Earth
  6. Mendeley (manage your pdf, citation of the papers and extract to the office word)(okuduğunuz pdf formatındaki makale ve kitapların alıntılarını otomatik almanızı sağlar, office word ile uyumludur)
  7. MobaXterm (remote control program for unix based (ubuntu) computer, transfer files, SSH connection from windows pc)
  8. Samsung Kies (synchronize and backup your samsung smart phone with your pc)
  9. Sopcast (usefull for watching high quality football matches) ( yüksek kalitede futbol maçları izlemek için uygun)
  10. TeamViewer (remote control between computers)
  11. Latex 
  12. Texmaker, Texstudio (Latex file compiler) (Latex dosya derleyici)
  13. Virtual Wifi Router (create wifi connection from your computer)
  14. VLC media player (video and audio player) 
  15. Wise program uninstaller
  16. AIMP3 player (simple mp3 player) (basit mp3 ses dosyası oynatıcısı)
  17. Free video and audio converter (görüntü ve ses dosyalarınızı farklı formatlara dönüştürmenizi sağlar)

2 Mart 2013 Cumartesi

COMSOL Multiphysics

COMSOL 

"Calculation of average velocity in flow direction in the in pipe with using general projection tool of COMSOL Multiphysics"

Average velocity

The geometry of pipe is constructed in 2D-axisymetrix 

Calculation of average velocity :

  1.  In the Model section, right-click Definition and choose Model Coupling>General Project.
  2. Go to General Projection settings, select the domain as (all domain) in the Selection section.
  3. Write shown parameters : Source map x-expression: z ,Source map y-expression: r,  Destination Map x-expression: z
  4. x-expression in Source Map represents the axes that is the direction of integration (interval)
  5. y-expression in Source Map represents the lines that will be integrated
  6. x-expression in Destination Map represents the axes that the results of integration will take place
  7. Right-click Result section, choose 1D Plot Group.
  8. Right-click 1D Plot Group choose Line Graph
  9. Go to Settings of the 1D Plot Group
  10. Select the Boundary 4 (wall of pipe) for Selection location
  11. In the Expression edit field, type -2*genproj1(w*r) /0.01^2   (Average velocity in z direction is calculated with this formula where w is the velocity in z direction and R=0.01) --  (The velocity is in –z direction therefore to make the average velocity positive, the equation is multiplied with -)
  12. Click the Description box and write Average Velocity vs z
  13. Click the Coloring and Style section and Width edit field type, 4 
  14. Click Plot button 
  15. Click the 1D Plot Groupand go to Settings window
  16. Click Manual axis limits box in the Axis section
  17. Type the suitable numbers in the order
  18. Click Plot button 



"Calculation of friction factor in flow direction in the in pipe with using general projection tool of COMSOL Multiphysics"

Friction factor from derivation of velocity

  1. Right-click Result section, choose 1D Plot Group
  2. Right-click new 1D Plot Group choose Line Graph
  3. Go to Settings of the new 1D Plot Group 
  4. Select the Boundary 4 (wall of pipe) for Selection location
  5. In the Expression edit field, type 8*spf.mu*wr/spf.rho/(2*genproj1(w*r) /0.01^2)^2  (Friction factor formula (f) in z direction the below formula is used where wr is dw/dr)(The velocity is in –z direction therefore to make the friction factor positive, the equation is multiplied with -) ---  f=[−8*mu*(dV/dr)_r=R ] / [ rho*(V_mean)^2]   (Friction factor for laminar flow taken from Bergman T.L., Lavine A.S., Incropera F.P., DeWitt D.P. (2007) “Fundamentals of Heat and Mass Transfer” John Wiley)
  6. Click the Description box and write Friction factor (from dw/dr) vs z
  7. Click the Coloring and Style section and Width edit field type, 4 
  8. Click Plot button 
  9. Click the 1D Plot Group and go to Settings window
  10. Click Manual axis limits box in the Axis section 
  11. Type the suitable numbers in the order
  12. Click Plot button

1 Aralık 2012 Cumartesi

MATLAB

Some basic MATLAB codes 

        Polyfit(Polynomial curve fitting)

Syntax
p=ployfit(x,y,n)
[p,S]=ployfit(x,y,n)
[p,S,mu]=ployfit(x,y,n)


p = polyfit(x,y,n) finds the coefficients of a polynomial p(x) of degree n that fits the data,p(x(i)) to y(i), in a least squares sense.
Example
x = (0: 0.1: 2.5)';
y = erf(x);
p = polyfit(x,y,6) 
The coefficients in the approximating polynomial of degree 6 are

p = 0.0084   -0.0983     0.4217     -0.7435    0.1471    1.1064   0.0004

There are seven coefficients, and the polynomial is


p=

Ref: http://www.mathworks.com/help/matlab/ref/polyfit.html

         Roots (Polynomial roots)

Syntax
r = roots(c)
r = roots(c) returns a column vector whose elements are the roots of the polynomial c.
Example
The polynomial s3 – 6s2 – 72s – 27 is represented in MATLAB software as
p = [1 -6 -72 -27]
The roots of this polynomial are returned in a column vector by
r = roots(p)
r =    12.1229
        -5.7345
                -0.3884

LaTeX


LaTeX Kurma

LaTeX'i aşağıdaki linkten indirebilirsiniz. (You can  download LaTeX form the below link)

http://ftp.ntua.gr/mirror/ctan/systems/windows/protext/

Protext dosyasının içindeki setup.exe yi çalıştırın,  MiKTeX ve TeXstudio programlarını kurun.
(Run the setup.exe file inside the protext file and install the MiKTeX and TeXstudio)


LATEX Türkçe karakterler (Latex Turkish characters)
  1. \u{g}     – ğ
  2. \u{G}    – Ğ
  3. \c{c}     – ç
  4. \c{C}    – Ç
  5. {\i}        – ı
  6. \.{I}       – İ
  7. \”{o}     – ö
  8. \”{O}    – Ö
  9. \c{s}    – ş
  10. \c{S}   – Ş
  11. \”{u}     – ü
  12. \”{U}    – Ü
örnek (example): Özgürlük --> \”{O}zg\”{u}rl\”{u}k

Latex dökümanına resim ekleme ( Adding picture to Latex document)


.jpg  ve .png uzantılı resim dosyalarını .eps formatına çevirirseniz, latex dökümanında görüntü kalitesi daha iyi olacaktır.

 (If  the .jpg and .png picture file formats changed to the .eps file, the picture in the latex file would be seen better.)  

 jpg, png ve daha birçok dosya türünü go2convert.com sitesini kullanarak online olarak eps ve birçok formata çevirebilirsiniz. 
(you can convert your jpg, png and other file formats to eps or other types of formats by online using go2convert.com)

\usepackage{epsfig} % dokümana eps figure eklemek için (to include .eps figures)

begin{figure}[h]
\centering
\epsfig{file=(dosyaadı)filename.eps,width=1.5in}
\end{figure}

Figure Position & List of Figure 
SpecifierPermission
hPlace the float here, i.e., approximately at the same point it occurs in the source text (however, not exactly at the spot)
tPosition at the top of the page.
bPosition at the bottom of the page.
pPut on a special page for floats only.
!Override internal parameters LaTeX uses for determining "good" float positions.
HPlaces the float at precisely the location in the LaTeX code. Requires the float package, e.g., \usepackage{float}. This is somewhat equivalent to h!.

What you do with these placement permissions is to list which of the options you wish to make available to LaTeX. These are simply possibilities, and LaTeX will decide when typesetting your document which of your supplied specifiers it thinks is best. In some special cases LaTeX won't follow these positioning parameters and additional commands will be necessary, for example, if one needs to specify an alignment other than centered for a float that sits alone in one page. Use \listoffigures to add a list of the figures in the beginning of the document


Resim Konumu & Resim Listesi Oluşturma

ÖzellikAçıklama
hResim, dosya içinde uygun bir yere yerleştirilir 
tResim, sayfa üstüne yerleştirilir.
bResim, sayfa altına yerleştirilir.
pResim, ayrı bir sayfaya yerleştirilir.
!Latex'in uygun pozisyon belirleme özelliğini devre dışı bırakır.
HResim, istenilen yere yerleştirilir.  " h! " ile aynı özelliklere sahiptir.

Yukarıdaki özellikler, LaTeX dökümanına resim veya figür eklerken konumunu ayarlamanızı sağlar. Dökümana  \listoffigures eklerseniz, eklediğiniz figürlerin toplu olarak başlangıç kısmında listesini görebilirsiniz