# Solver

The APM Solver solves for the potential flow around arbitrary bodies. The bodies are represented by structured or unstructured mesh in **.stl** format. The APM Preprocessor is first used to preprocess the mesh. During this step, the APM Preprocessor creates a **.mdl** file. The APM Solver uses the **.mdl** file to solve for the potential flow around the body. Please refer to the following sections for more information about the APM Solver:

## Steady simulations

For steady simulations the wake is assumed to be a flat surface extending to "infinity". Visit the [steady simulations section](https://docs.aviumtechnologies.com/user-guide/solver/steady-simulations) for more information.

## Unsteady simulations

For unsteady simulations the wake is assumed "free", i.e. it is allowed to deform and interact with itself and the body. Visit the [unsteady simulations section](https://docs.aviumtechnologies.com/user-guide/solver/unsteady-simulations) for more information.

## Wake

The wake can be aligned with the average trailing edge bisector, the freestream velocity vector, or with a specific vector (predefined). Visit the [wake section](https://docs.aviumtechnologies.com/user-guide/solver/wake) for more information.

### Interactions with the body

The wake can interact with downstream body parts (e.g. horizontal and/or vertical tails) without causing numerical instabilities. Visit the [interaction with the body section](https://docs.aviumtechnologies.com/user-guide/solver/wake/interaction-with-the-body) for more information.

### Viscous vortex particle wake

The wake can be represented by viscous vortex particles. Visit the [viscous vortex particle wake section](https://docs.aviumtechnologies.com/user-guide/solver/wake/viscous-vortex-particle-wake) for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aviumtechnologies.com/user-guide/solver.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
