Run Mesh
run_meshRun HEXPRESS on a .conf file to generate a mesh in batch with optional MPI process count and timeout control.
Instructions
Run hexpresshybridx86_64.exe on a .conf file (generate a mesh in batch).
conf_file: path returned by generate_conf (or any HEXPRESS-exported conf). np: number of MPI processes (>1 adds -ompi -np N). timeout: seconds before the run is killed (default 1 h; big meshes need more). Returns returncode, elapsed time, output file info and the log tail.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"conf_file": "<conf_file>"
},
"name": "run_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| np | No | ||
| timeout | No | ||
| conf_file | Yes | ||
| install_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |