curl --request POST \
--url https://api.eddy.engineer/v1/cfd.workflow \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"task": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.workflow"
payload = {
"document": {},
"task": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({document: {}, task: '<string>'})
};
fetch('https://api.eddy.engineer/v1/cfd.workflow', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/cfd.workflow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'document' => [
],
'task' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/cfd.workflow"
payload := strings.NewReader("{\n \"document\": {},\n \"task\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/cfd.workflow")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"task\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.workflow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"document\": {},\n \"task\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyRun the meshing workflow's tasks on the engine — the Watertight Geometry workflow as a recipe over the kernel (O19)
{document, task?}. The case’s Watertight Geometry tasks (Mesh Generation ▸ Workflow: Import Geometry, Add Local Sizing, Generate the Surface Mesh, Describe Geometry, Apply Share Topology, Enclose Fluid Regions, Update Boundaries, Create / Update Regions, Add Boundary Layers, Generate the Volume Mesh) evaluated in order up to task (absent = all). The lowering already carries the tasks’ mesh decisions — a body of influence (a cell register) as an O12 adaption box with its levels from the target size, the boundary layers as the kernel’s graded boundary slab on the wall zones’ axis (F4 inflation on the box), the hex fill — so the mesh the workflow generates IS the mesh the solve uses: the volume task’s mesh_key equals /v1/cfd.mesh’s for the same document (the identity gate). Each task’s outcome is a census (the geometry, the sizing box, the boundary zones with their faces, the regions with their material points’ containment, the layers, the volume mesh’s cells / nodes / quality); a task the box cannot do is not-applicable naming its unit (share topology and capping → O19.b) and a task whose settings the lowering refused is failed with the typed refusals (tets → F4.b, poly-hexcore → O19.b, face sizing / multi-axis layers → O19.2). Returns tasks[], mesh_key, mesh_blob_id, cells, nodes and the document with every task’s state and outcome written back.
curl --request POST \
--url https://api.eddy.engineer/v1/cfd.workflow \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"task": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.workflow"
payload = {
"document": {},
"task": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({document: {}, task: '<string>'})
};
fetch('https://api.eddy.engineer/v1/cfd.workflow', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/cfd.workflow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'document' => [
],
'task' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/cfd.workflow"
payload := strings.NewReader("{\n \"document\": {},\n \"task\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/cfd.workflow")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"task\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.workflow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"document\": {},\n \"task\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body