curl --request POST \
--url https://api.eddy.engineer/v1/cfd.structure \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"result_key": "<string>",
"action": "solve"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.structure"
payload = {
"document": {},
"result_key": "<string>",
"action": "solve"
}
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>', action: 'solve'})
};
fetch('https://api.eddy.engineer/v1/cfd.structure', 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.structure",
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>',
'action' => 'solve'
]),
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.structure"
payload := strings.NewReader("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"action\": \"solve\"\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.structure")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"action\": \"solve\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.structure")
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 \"action\": \"solve\"\n}"
response = http.request(request)
puts response.read_bodyThe Structure model: one-way FSI as the composition with the F-track structural solver (O18)
{document, result_key, action?}. Every solid cell zone of the case (a cell_zone of type solid naming a cell register for its box — the conjugate-heat-transfer solid the fluid solve blocks) takes the solved fluid’s loads on its wetted faces — per face the area-weighted mean gauge pressure as the face’s pressure and the total first-cell viscous shear as the face’s force (the O14 force-report law, the solid at rest) — and becomes a P1 structural case on the same lattice: the solid’s box meshed at the case’s element size, its faces on the domain boundary the fixed supports; solved through the structural solver by content address (cached, keyed, re-traceable). zones[]: the mapping (supports, wetted faces with area / cells / pressure_mean / force_pressure / force_viscous), the structural request, and with action solve (default) the structural result (result_key, cached, max_displacement, max_von_mises, metrics); action loads returns the mapping only (File ▸ FSI Mapping ▸ Surface). Typed: the Structure model off (CFD_INVALID), no solid zone (CFD_UNDERDEFINED), a floating solid or no wetted face (CFD_INVALID), nonlinear elasticity (CFD_NOT_YET — O18.2). action two-way (O18.b) runs the two-way loop — the fluid mesh moved in place by the solids’ displacements, the fluid re-solved, to the loop’s tolerance; O9 slice 8: a cylinder register is a cylinder solid (the snapped cylinder with face:<idx> sets — face:0 / face:1 its discs, face:2 its lateral face, the staircase’s loads grouped by normal), the Structure model’s thermal mapping nodal gives the kernel the temperature per structural node (nodal_temps), remesh on re-blocks the lattice by the deformed solid past half a cell, and on a transient case the two-way loop is the staggered march (one exchange per time step, the fluid restarted from its own cell fields). The System Coupling schedule the composition states is /v1/cfd.export format scp.
curl --request POST \
--url https://api.eddy.engineer/v1/cfd.structure \
--header 'Content-Type: application/json' \
--data '
{
"document": {},
"result_key": "<string>",
"action": "solve"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.structure"
payload = {
"document": {},
"result_key": "<string>",
"action": "solve"
}
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>', action: 'solve'})
};
fetch('https://api.eddy.engineer/v1/cfd.structure', 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.structure",
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>',
'action' => 'solve'
]),
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.structure"
payload := strings.NewReader("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"action\": \"solve\"\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.structure")
.header("Content-Type", "application/json")
.body("{\n \"document\": {},\n \"result_key\": \"<string>\",\n \"action\": \"solve\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.structure")
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 \"action\": \"solve\"\n}"
response = http.request(request)
puts response.read_body