curl --request POST \
--url https://api.eddy.engineer/v1/cfd.parametric \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"action": "plan",
"optimizer": "<string>",
"study": "<string>",
"warm_start": true,
"x": "<string>",
"y": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.parametric"
payload = {
"document": {},
"action": "plan",
"optimizer": "<string>",
"study": "<string>",
"warm_start": True,
"x": "<string>",
"y": "<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: {},
action: 'plan',
optimizer: '<string>',
study: '<string>',
warm_start: true,
x: '<string>',
y: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.parametric', 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.parametric",
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' => [
],
'action' => 'plan',
'optimizer' => '<string>',
'study' => '<string>',
'warm_start' => true,
'x' => '<string>',
'y' => '<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.parametric"
payload := strings.NewReader("{\n \"document\": {},\n \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<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.parametric")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.parametric")
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 \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyParametric studies and the parameter-based optimizer over the engine's CFD solves (O17)
{document, action, study?, optimizer?, x?, y?}. A parametric study (parametric_study under Parameters, its design_point children each a row of input-parameter values; the case’s parameter objects of kind input feed the O13 expressions, those of kind output name a report definition, a named expression or a solve metric). plan states the study’s design points with every input resolved; update_all / update_current solve them on the engine — each point is the case with its inputs applied, lowered exactly as Calculate lowers it (the content-addressed cache is the incremental substrate: an unchanged point is a hit) — and return rows (values, outputs, errors, metrics, result_key, cached), the design-point table as csv, per-output statistics and document with the points marked updated and the current point’s outputs on the output parameters; export is the table of what the document already holds; comparison plots output y against input x over the updated points as a deterministic SVG (svg, hash); optimize runs the parameter-based optimizer object (parameter_optimizer: the input parameters it moves with bounds, goals over output parameters as target / at most / at least, Nelder-Mead or Pattern Search, a fixed evaluation cap ≤ 48 — the F12 discipline shared with Y17) and returns trace, best, the rows it solved and document at the best point. ≤ 64 design points synchronously; beyond, and mesh morphing (Parameterize and Explore), land with O17.2; the adjoint with O17.b.
curl --request POST \
--url https://api.eddy.engineer/v1/cfd.parametric \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"action": "plan",
"optimizer": "<string>",
"study": "<string>",
"warm_start": true,
"x": "<string>",
"y": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.parametric"
payload = {
"document": {},
"action": "plan",
"optimizer": "<string>",
"study": "<string>",
"warm_start": True,
"x": "<string>",
"y": "<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: {},
action: 'plan',
optimizer: '<string>',
study: '<string>',
warm_start: true,
x: '<string>',
y: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.parametric', 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.parametric",
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' => [
],
'action' => 'plan',
'optimizer' => '<string>',
'study' => '<string>',
'warm_start' => true,
'x' => '<string>',
'y' => '<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.parametric"
payload := strings.NewReader("{\n \"document\": {},\n \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<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.parametric")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.parametric")
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 \"action\": \"plan\",\n \"optimizer\": \"<string>\",\n \"study\": \"<string>\",\n \"warm_start\": true,\n \"x\": \"<string>\",\n \"y\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyBody
Response
ok