Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

About MvdM

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Country
    South Africa
  • Are you University user?

Recent Profile Visitors

746 profile views
  1. That's great! Thanks for letting us know.
  2. Hi Meerten As far as I know, you cannot call a function that uses POSTFEKO commands directly from within a CADFEKO script like in your example. The commands will be executed in CADFEKO at that point and "pf", the POSTFEKO namespace would not be available (see the User Manual chapter "Scripts and Application Programming Interface (API)" or Example Guide I1 "Introduction to Application Automation" for more information). You would have to use a command in the CADFEKO script that opens POSTFEKO with the post-processing script that you wish to execute. You could try something like the following: cf.Launcher.Run("postfeko", {"modelname.fek", "--run-script", "createAndExportGraph.lua", "--non-interactive"}) You can run POSTFEKO in non-interactive mode, or you can leave out the last command if you wish to see the execution of commands or interact with POSTFEKO as the commands are being executed. You can close POSTFEKO in the post-processing script by using app:Close(). Here is a very simple example where CADFEKO is only used to run POSTFEKO to export a graph image: runPostfekoScriptFromCadfeko.lua (main CADFEKO script) createAndExportGraph.lua (script that gets executed in POSTFEKO when running the main CADFEKO script) As to sending parameters from CADFEKO to POSTFEKO, I'm not sure about the most elegant way to do this. One option would be to write/read the parameters to/from a (text) file using standard Lua commands. Hope this helps. Kind regards Madelé
  3. Adding a link to the thread where this question was answered:
  4. MvdM

    Conductor Surface Thickness Setting Guidelines

    Hello You can refer to the "SK Card" section of the User Manual for an in-depth explanation of skin depth and the thickness requirements. See also the following forum post: Here is an extract from that thread: Note that the thickness is usually not modelled in a MoM simulation by creating a finite thickness region (unless the conductor is very thick and modelled as you described in the first part of your post), but rather as a face with the thickness applied to the face.
  5. MvdM

    Adding a source in postfeko

    Are you interested in doing a time analysis and you want to define an input time signal (double exponential piecewise pulse)? If this is the case, you have unfortunately run into a current limitation of the software. It is not yet possible to do this through scripting, so you would have to perform the time analysis manually.
  6. Hello There is an example available with the Parameter Sweep script on Script Exchange (https://altairhyperworks.com/ > Resources > Script Exchange) that might be of help. In this example, the mutual impedance graphs are plotted in POSTFEKO for two collinear and two parallel dipoles. The input impedance of the dipole is obtained by reading it off a graph, but it could of course also be obtained by exporting the Z-parameters of VoltageSource1 for the single dipole (dipole_length_optimised.cfx model).
  7. Hi mgmv7 On the Home tab in POSTFEKO, you can select "Export" and "Touchstone", select the result to export and then for "Network parameter type" select "Z (impedance parameters)".
  8. MvdM

    Adding a source in postfeko

    Hi tejaswi Can you please clarify what you mean by "adding a source to a result" in POSTFEKO? What are you trying to do? From your photo, it seems that you have a looped plane wave source in your model. You can add a plane wave source to the 3D view, but you cannot access the source data of ideal sources like plane waves (refer to the FEKO User Manual section on "Source Data" for the quantities that are available for the different source types). Kind regards Madelé
  9. Hi SSACHDEVA Some follow-up questions: What version of FEKO are you using? Does this happen for all models, or just this specific one? If it is model specific, could you please attach your model? What is the full path to your model? Does it contain any special characters? Can you run the startup model (%FEKO_HOME%\shared\Resources\startup_model.startup.cfx) when it is located in the same directory as the model that gives the problem and also when it is in a different directory? Kind regards Madelé
  10. MvdM

    lua scripting for antenna coupling analysis

    Hi tejaswi Did you run FEKO, or did you only create the files for the parameter sweep to be performed? You have to run the FEKO solver to produce results. When running the "Parameter Sweep: Split Phase" macro in CADFEKO, you have the option to run the solver after setting up the parameter sweep:
  11. MvdM

    Characteristic Mode Analysis Problem

    You can see where the geometry is a problem for CADFEKO from FEKO Suite 7.0 in the 3D view by zooming in where the swept edge connects to the top or bottom face: Meshing fails because it does not know how to handle the geometry correctly. The same geometry is not a problem in FEKO 2017 or later (after geometry re-evaluation if opening the older model), so I would strongly suggest that you upgrade to the latest version. It can mesh regardless of the mesh setting (standard, fine, custom). Using the older CADFEKO, I would suggest that you try to build this face in some other way than sweeping a copied edge and hopefully that would resolve the problem. Regarding the suspect items, I don't think that is a big problem in this case, more a nuisance. You can see suspect geometry by re-evaluating the geometry (Transform tab, Alter group, Re-evaluate). In the attached model, the suspicious settings are caused by the cylinder media settings. Somehow the geometry evaluator fails to automatically determine the correct user settings. One way to avoid the suspicious geometry is to first subtract the cylinder shapes from the rest of the geometry, then add the cylinders again (you can use copy/duplicate), set their media properties and then perform the union between the cylinders and the rest of the geometry.
  12. MvdM

    Student license - License error

    Glad to see that you got CADFEKO up and running!
  13. MvdM

    Characteristic Mode Analysis Problem

    No problem. Which version of FEKO are you using? I quickly checked in the latest version of CADFEKO (FEKO 2018.1.1) and it meshes the model (no meshing error). I do see suspect geometry items and don't know the reason for those off-hand. That might be the cause of your meshing problems...
  14. MvdM

    Characteristic Mode Analysis Problem

    Hi ynathan Please attach your CADFEKO model file (.cfx) if you'd like others on the forum to take a look. A .cfs file contains the view settings in your .cfx model at the time of saving. It cannot be opened by itself. Kind regards Madelé
  15. Creating rounded (filleted) corners in CADFEKO can be done by adding circular ellipses to the rectangular patches that need to be rounded. Snap to the corners of the rectangular faces using Ctrl+Shift and left mouse click to add the ellipses with the required offset (fillet size), union the ellipses with the patch antenna and change the face properties of the corners to the dielectric medium of the substrate. @Torben Voigt added a great video that shows how to do this: rounding_patches.mp4 The video was originally posted to this thread: