微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > Wanted: HFSS file format - Need to write a program to write file for HFSS to analyze

Wanted: HFSS file format - Need to write a program to write file for HFSS to analyze

时间:04-06 整理:3721RD 点击:
Does anyone have a definition of the HFSS file format? I'm looking to write a C++ program to write files in a format that can be analysed in HFSS. At least part of it is just plain text, and I suspect one can write enough text to define the geometry if one knows the file format.

This is a bit of a file:

Code:
Sbegin 'AnsoftProject'Created='Wed May 23 12:57:59 2012'FileOwnedByWorkbench=falseProduct='HFSS'NextUniqueID=0MoveBackwards=falseSbegin 'Desktop'	Version(14, 0)	InfrastructureVersion(1, 0)Send 'Desktop'Sbegin 'HFSSEnvironment'	Version(1, 0)Send 'HFSSEnvironment'Sbegin 'HFIEEnvironment'	Version(1, 0)Send 'HFIEEnvironment'Sbegin 'geometry3deditor'	Version(1, 0)Send 'geometry3deditor'Sbegin 'ProjectDatasets'	NextUniqueID=0	MoveBackwards=false	DatasetType='ProjectDatasetType'	Sbegin 'DatasetDefinitions'	Send 'DatasetDefinitions'Send 'ProjectDatasets'Sbegin 'GlobalVariables'	VariableProp('Slength', 'UD', '', '10mm')Send 'GlobalVariables'Sbegin 'Definitions'	Sbegin 'Folders'		Definitions(1104, 10000, 1, 1, 0, false, false)		Materials(1104, 9500, 9, 2, 1, false, false)
clearly some things can be understood - the date created, HFSS version is 14, Slength is set to 10 mm, etc. But others I have no idea about.

Can anyone help?

Deborah

lots of my projects have the same strings
really have no idea what does they mean, maybe it doesn't matter? :)
just copy them everywhere.

also the same strings can be found in adsn files, guess those strings mean nothing.... i.e. they have to be in project, just use them as is.

Yes, copying them is fine, but lets say I want a cylinder of length 10 along the z axis, centered at 10,320,32 how on earth do I know how to write that?



Clearly one could attempt to reverse engineer the file format, but it would be very tedious and I suspect take a very long time. I was hoping someone had a formal description of the file format.

Dear Deborah,
HFSS Scripting option would be a great help for you. Using script, we can programmatically model the structure, set solution setup, create results and so on. To integrate with C++, develop a program, that could would create script file.
I am appreciating your interest.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top