Design parameter optimization using Femtet.


License
MIT
Install
pip install pyfemtet==1.0.0

Documentation

Welcome! PyFemtet is the extension package for Femtet.

Main Features

Note

For details, see the documentation of "Related Pages" section.

Design Parameter Optimization

  • Single or multiple objective optimization
  • Progress monitor GUI
  • Parallel computation with controling multiple Femtet processes
  • Result output in easy-to-analyze csv format for Excel and other tools

Dispatch Extensions

  • Create CFemtet object with process ID specification

Related Pages

Getting Started

Note

Currently Femtet and pyfemtet supports Windows only.

1. Install Femtet

  • Access Murata Software Website and get Femtet trial version or purchase a lisence.
  • Get installer and launch it.
  • Run 'EnableMacros' from the start menu.

Note

This procedure requires administrator privileges.

2. Install PyFemtet

Note

The commands on this section are for CMD or PowerShell on with py launcher. For a virtual environment, replace py to python. If you do not have Python, please install it first.

  • Get pyfemtet via following command:

    py -m pip install pyfemtet

3. Setting win32com Constants

  • Run following command to enable COM constants:

    py -m win32com.client.makepy FemtetMacro

That's all! Now you can use Femtet's extention features via pyfemtet. For more information including sample code and FEM projects, see the documentation of "Related Pages" section.