curl --request POST \
--url https://api.eddy.engineer/v1/cfd.compose \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"result_key": "<string>",
"centre": [
123
],
"inlet": "<string>",
"outlet": "<string>",
"zone": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.compose"
payload = {
"document": {},
"result_key": "<string>",
"centre": [123],
"inlet": "<string>",
"outlet": "<string>",
"zone": "<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: {},
result_key: '<string>',
centre: [123],
inlet: '<string>',
outlet: '<string>',
zone: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.compose', 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.compose",
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' => [
],
'result_key' => '<string>',
'centre' => [
123
],
'inlet' => '<string>',
'outlet' => '<string>',
'zone' => '<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.compose"
payload := strings.NewReader("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<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.compose")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.compose")
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 \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyCompose a solved CFD result into another track's object by content address (O9)
{document, result_key, target, inlet?, outlet?, zone?, centre?}. system: the duct between inlet and outlet as the N track’s linear hydraulic resistance R = Δp / Q (the area-weighted mean static pressures and the inlet’s volume flow from the O14 reductions) with the Modelica text /v1/system.parse takes — a linear resistance at this operating point (the quadratic fit over a parametric study is O9.2); sim: the fluid’s force and moment on a wall zone about centre (the O14 force law) as the R track’s constant wrench, and the wrench_from a scene body carries to read it live by result key ({result, zone, scale} beside the Y9 EM form {result, body}); structural: the O18 solid zones (the intrinsic one-way FSI is /v1/cfd.structure). The EM-loss composition runs the other way — a fluid zone’s em_loss_result (a stored driven / low-frequency solve’s result key) lowers to energy.em_source and the loss density becomes the energy equation’s volumetric source, sampled onto the CFD mesh by the orchestrator. Typed: CFD_UNDERDEFINED when no zone qualifies, CFD_INVALID for an unknown target or a report that does not evaluate.
curl --request POST \
--url https://api.eddy.engineer/v1/cfd.compose \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"result_key": "<string>",
"centre": [
123
],
"inlet": "<string>",
"outlet": "<string>",
"zone": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.compose"
payload = {
"document": {},
"result_key": "<string>",
"centre": [123],
"inlet": "<string>",
"outlet": "<string>",
"zone": "<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: {},
result_key: '<string>',
centre: [123],
inlet: '<string>',
outlet: '<string>',
zone: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.compose', 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.compose",
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' => [
],
'result_key' => '<string>',
'centre' => [
123
],
'inlet' => '<string>',
'outlet' => '<string>',
'zone' => '<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.compose"
payload := strings.NewReader("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<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.compose")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.compose")
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 \"result_key\": \"<string>\",\n \"centre\": [\n 123\n ],\n \"inlet\": \"<string>\",\n \"outlet\": \"<string>\",\n \"zone\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body