Getting started¶
This section takes a new user from an installed numerical environment to one inspectable finite-element result. You do not need to understand the internal architecture before running the first model.
Recommended sequence¶
- Follow Installation and first project to create a compatible FEniCSx environment and install AgentFEM.
- Run
agentfem doctorto record the actual numerical stack. - Create a project with the
static-solidtemplate. - Read the generated
case.py, then runagentfem checkandagentfem run. - Inspect
result.jsonand the field output instead of relying only on a successful process exit. - Continue to the user guide for the nearest physical problem and the examples for executable evidence.
First project¶
mkdir beam
cd beam
agentfem init --template static-solid .
agentfem check
agentfem run
agentfem inspect
agentfem verify
The generated project remains ordinary Python:
case.py is the source of modeling truth. agentfem.toml contains operational
project information but does not duplicate the finite-element model.
Files produced by a run¶
outputs/<project>/<run-id>/
├── execution.json process and failure record
├── result.json quantities, fields, histories, trust, and artifacts
├── fields.xdmf field metadata and time-series structure
├── fields.h5 numerical field arrays
└── logs/ captured execution logs
The exact artifacts depend on the analysis and output request. A completed run is not automatically a scientifically verified result; convergence, verification claims, and required artifacts remain separate evidence.
Where to continue¶
| If you want to... | Read... |
|---|---|
| Build a solid, thermal, or dynamic analysis | User guide |
| Understand equations and conventions | Theory and conventions |
| Find a complete case close to your problem | Examples |
| Look up one function or field name | Theory and reference |
| Operate AgentFEM from an AI coding agent | For AI agents |