Sabtu, 01 September 2012

[bs] Finite Difference Time Domain by Professor Sina Ataollah Khorasani


Picture of  Professor  Sina Ataollah Khorasani  (taken from google+)


From: Andri Husein <andri84@yahoo.com>
To: Sina Ataollah Khorasani
Sent: Thursday, 30 August 2012, 5:06
Subject: Finite Difference Time Domain in Matlab


Dear Professor S. Khorasani

I do hope Professor S. Khorasani is fine.

Allow me to introduce myself. I am Andri Husein, graduate student at University of Sebelas Maret, Surakarta, Indonesia.

I am currently studying for the FDTD simulation of metamaterials. I get your FDTD code from the site, but have not managed to run it. Here is the output from the matlab command history. 

%%%%%%%%%%%%%% Matlab Command History %%%%%%%%%%%
(C) Copyright 2005

Sharif University of Technology
School of Electrical Engineering
All Rights Reserved

Computing the bandstructure via FDTD
Direction GX ??? Error using ==> fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> SaveComponent at 17
fprintf(Output,'T: %.10f dt: %.10f dT: %.10f Total Steps: %d\n',T,dt,dT,nT);
Error in ==> SaveField at 23
SaveComponent(fname,Data,nT,dTT,dt,T)
Error in ==> RunFDTD at 46
SaveField(USave)
Error in ==> ScanPath at 24
RunFDTD
Error in ==> BandStructure at 54
ScanPath(kxrng,kyrng,fname);
Error in ==> Go at 22
BandStructure
Error in ==> emfdtd at 23
Go
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I really hope Professor S. Khorasani pleased to inform our fault location? Thank you very much.

Regards,

Andri Sofyan Husein

*****


Re: Finite Difference Time Domain in Matlab
FROM: Sina Ataollah Khorasani
TO: Andri Husein
Message flagged Thursday, 30 August 2012, 12:33

1) Please download the latest version from here: EmFDTD

2) Study README.TXT before running. I guess you have not.

3) You must make an 'Output' folder first inside the directory where your MATLAB code has been unzipped. Otherwise, the MATLAB code will generate the error message you are asking. For instance, let's say your code is unzipped here:

C:\EmFDTD\

Then you have to create the following folder before running the program:

C:\EmFDTD\Output\

Good luck

****

Re: Finite Difference Time Domain in Matlab 
FROM: Andri Husein
TO: Sina Ataollah Khorasani


Dear Professor Sina Ataollah Khorasani,

I finally have managed to run the fdtd-program from Professor Sina Ataollah Khorasani and get some impressive picture in attach. Thanks a lot :).

I am also interested to understand the physical meaning of fdtd program that Professor  Sina Ataollah Khorasani made. If Professor Sina Ataollah Khorasani permit, may I ask journals using this computational method ?  

Thanks and Regards,

Andri Sofyan Husein












2 komentar :

Anonim mengatakan...

Buakakakk ketahuan begonya

Unknown mengatakan...

HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA ........ XD