Solvers
xfea writes nothing solver-specific itself. To solve, your model goes to xfea’s conversion service without its mesh (kilobytes, whatever the model’s size). The service returns the solver’s input, and your solver runs on your machine: your model’s mesh and results never leave it.
Set up solving
Section titled “Set up solving”-
A plugin and an API key. Sign up on app.xfea.ai and subscribe to the plugin for your solver; your account page lists your plugins and shows the key (free during early access). The service refuses a model without a key, or for a solver whose plugin you haven’t subscribed to. Put it in the environment, or in a file only you can read:
Terminal window export XFEA_API_KEY=xfea_...Terminal window mkdir -p ~/.xfea && echo "xfea_..." > ~/.xfea/api_key && chmod 600 ~/.xfea/api_key -
The solver itself, the one whose plugin you subscribed to, installed, with its executable on your
PATH.
Then problem.analyse_and_extract(...) solves: the input is written through
the service at app.xfea.ai, the solver runs here, and the results are read
here. To use another service, a test one for instance, set its address in
XFEA_CONVERT_URL.
Troubleshooting
Section titled “Troubleshooting”- “No API key for the conversion service”: set
XFEA_API_KEY, or put the key in~/.xfea/api_key. - “The conversion service refused the API key”: the key is unknown or was revoked; your account page on app.xfea.ai issues a new one.
- The service refused the model for its solver: that solver’s plugin isn’t on your account; subscribe to it on your account page.
- “No conversion service at …”: check your network (and
XFEA_CONVERT_URL, if you set one). - The input is written but the run fails: the solver is not on your
PATH.
A firm that can’t use the service can run the conversion on its own server
with a licensed solver plugin, by agreement: see
What’s free, what needs an account.
xfea backends lists the plugins installed here with a valid licence; for
everyone using the service it is empty.
© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them