Thursday, July 26, 2012

Numerical Essential #1:Boundary

Last time when I mentioned whether my solution is stable or not, it all pointed to one thing->boundary condition. Yes, I did look into my supervisor code and in my mind, I was looking at the same thing i.e his BC and mine is the same. Perhaps, one thing that I couldn't get rid of since my undergrad (or perhaps childhood) is that I tend to think differently when I looked at something and this seems badly influence my coding ability. Anyhow, put this aside first and and I want to say about boundary condition.

My supervisor asked if I did my BC correctly and I confidently replied yes, and we checked together. Of course, I made some precipitate mistakes and when that was fixed, everything goes as expected. In this case, I have 3 types of BC: a)outlet b)fixed c)hard. These are just an extension of Dirichlet BC. An outlet BC is where the ghost cell is the same as the neighboring cell; either left or right depending on the location, a fixed BC is when we fixed the ghost cell value and hard BC is like having a wave hitting a hard wall and reflected.  

All I'm saying is that, boundary and a correct one is crucial and those who said there is no boundary  or no limit (in life too) are actually just a bunch of dunderheads who will screw up later.

Tuesday, July 17, 2012

Is it stable?

After a few months I managed to get rid of the bugs inside my code. It is really painful those days where I had to come to the lab, staring at my computer screen and at the end of the day, nothing came out. So how did I overcome the problem? I tried to give myself a reward if I am able to solve the problem. The reward is a laptop, MacBook pro. And then, BUM. Yes, it was solved! but when I looked at the Macbook price, it is RM3499.99, that is 1 cent less than what I have in my bank account. So, I decided to get myself only a window that costs less than half of that apple price.

And now that the problem is solved, another came; try to replicate my supervisor's stability spectrum result. Well, as usual, nothing right came. All I got is stable, even until Mach 20, and even with perturbation point inserted. Is it possible that my result is all stable?

Monday, July 9, 2012

Apa nak jadi

buat phd sesemangnya susah. Saya telah buat permasalahan yang sama sejak november lalu tapi masih lagi tak berubah jawapannya serta masalah yang sama timbul. Jadi kepada sesiapa yang kata phd ni hanya kutip2 sana sini untuk buat satu thesis, maka itu tidaklah benar sama sekali. Cuba masuk sendiri kalau nak tau macam mana susahnya.

Saya cuba memberi masa kepada diri sendiri untuk menyetelkan masalah ini sampai hujung minggu ini sahaja. Apa akan jadi selepas ni saya tak pasti.

Askar Wataniah

Sebenarnya saya dah lama nak jadi askar. Sejak kecik lagi. Tapi mak sya tak bagi sebab dia cakap askar ni suka mendera rekrut, kena marah, d...