Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Is anybody familiar with XFDTD?

Status
Not open for further replies.

EdmundZheng

Full Member level 2
Joined
Oct 23, 2004
Messages
127
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,298
Activity points
900
Hi everyone!

I have made some simulations with XFDTD recently. I have one question here, I want to export the patterns to matlab for re-drawing, however, that software just provide *.jpg and *.ps versions. how can I do? If anybody knows how to deal with *.ps, please help me, thank you in advance!

Best regards!
Edmund
 

well, I do not think you can do much with .ps. It is just another vector image format as .eps figures. It is much more appropriate for printing. somehow, xfdtd must be keeping the field data in some sort of ASCII text file. but I am not sure which file that woukd be.
 

Thanks!
Yeah, irfan1, you are right, I just want to get some ASCII files for plotting, however, I can't.
 

hi edmund,

take a look to the "*.cef" files (for the e-field)! In this files you have:

- first 5 lines with a header for example like this:
1
2000 % number of timesteps
1 12 0
41 41 41 % grid nx, ny, nz
1.000000e-003 1.000000e-003 1.000000e-003 % gridsize

Starting with line 6 you have the field values in a column with 4 rows:
ex ey ez abs(e)

One cef-file has the values for 1 whole plane (see index in the name of the cef file)
The values are aranged always in lines: for example you start with ny=1,
read al the values in nx direction, and increase ny to 2 and read whole next line.

To read automaticaly all to Matlab I have written a short Macro that:
-renames me al the *.cef files to slice1.txt, slice2.txt.. and so on
-clears in every cef files the first 5 header lines

In this way I can simply load all to Matlab with
load slice1.txt;
load slice2.txt;
...

For the Macro I have used MacroScheduler (https://www.mjtnet.com/)
a very simple program that you are able to use after 1/2 hour.

hope this helps you:


best regards: ricy
 

By the way,
how about the xfdtd compare to hfss
 

For near field pattern, please refer to ricy's post. For radiation pattern, after you compute the Far-field Data, you should have files such as
projectname.tvp0.tb0.te360.in5, etc. It was organized as
#angle Ephi mag Etheta mag Ephi phase Etheta phase
 

All the necessary files are located in the folder where u have saved the geomatery. For Example data for S11 can be found in GeromtryName.S11:D
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top