Jump to content
Pearl

How to export near field data (dat or txt) in surface format?

Recommended Posts

Hello,

I am a Feko 2017.1 user. I have a Cartesian surface plot of near field (electric field) (horizontal axis is X, vertical axis is Y, and Z position is fixed). How can I export the data points of this configuration in dat or txt format for post-processing? Please advise. 

Thanks in advance. 

Share this post


Link to post
Share on other sites

Hello Pearl,

 

That feature is not currently available in FEKO 2017 or any of its updates. It has been implemented in FEKO 2018 that will be released around February 2018.

 

The best we to perform the export is probably to write a Lua script that extracts the values from the near field DataSet and write it to disk.

Pearl likes this

Share this post


Link to post
Share on other sites

Hello JIF,

Thanks a lot for your detailed answer. 

Could you please suggest a beginner's reading/tutorial on writing LUA scripts?

An additional, relevant, question: Is it possible to do math operations on Cartesian surface plot?

 

Share this post


Link to post
Share on other sites

Hello Pearl,

 

19 hours ago, Pearl said:

Could you please suggest a beginner's reading/tutorial on writing LUA scripts?

The FEKO manual is the best source for FEKO related Lua. I would start with reading "7.1 Scripting basics" and 10.1 + 10.2 in the FEKO manual. I would then suggest that you work through example I-1 (Introduction to application automation) and I-2 (POSTFEKO application automation). For you particular application, you are interested in DataSets in POSTFEKO and thus section 10.2 in the manual is of particular interest.

 

For general Lua, the web has lots of resources. FEKO ships with some of the common modules such as penlight and it provides many modules for file access and writing that you can use. Depending on what you use to do the post processing (assuming you don't want to do it in POSTFEKO, with Lua directly), you could export the DataSet to a Octave MAT file with very little effort (have a look at ExportMatFile).

 

19 hours ago, Pearl said:

An additional, relevant, question: Is it possible to do math operations on Cartesian surface plot?

This is not currently available, but it has been logged already as a feature request.

Pearl likes this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...