curl --request POST \
--url https://api.eddy.engineer/v1/cfd.import \
--header 'Content-Type: application/json' \
--data '
{
"blob_id": "<string>",
"bytes_base64": "<string>",
"files": [
{
"name": "<string>",
"text": "<string>"
}
],
"name": "<string>",
"text": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.import"
payload = {
"blob_id": "<string>",
"bytes_base64": "<string>",
"files": [
{
"name": "<string>",
"text": "<string>"
}
],
"name": "<string>",
"text": "<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({
blob_id: '<string>',
bytes_base64: '<string>',
files: [{name: '<string>', text: '<string>'}],
name: '<string>',
text: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.import', 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.import",
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([
'blob_id' => '<string>',
'bytes_base64' => '<string>',
'files' => [
[
'name' => '<string>',
'text' => '<string>'
]
],
'name' => '<string>',
'text' => '<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.import"
payload := strings.NewReader("{\n \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<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.import")
.header("Content-Type", "application/json")
.body("{\n \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.import")
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 \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyRead a file into the suite: a mesh, a case document, a data file (O16)
{format, text? | files? | bytes_base64? | blob_id?, name?}. msh (the Fluent ASCII mesh, text), polymesh (OpenFOAM: files = [] for points / faces / owner / neighbour / boundary) and stl (bytes_base64 or ASCII text) read the mesh onto the canonical polyhedral topology (the internal faces by owner < neighbour, the patches in file order) into the blob store -> {mesh_blob, summary, zones, patches: [{name, kind, btype, faces, area, normal}], quality, document_patch: {general, boundaries}} — the page applies the patch: General ▸ Mesh source imported, one boundary per patch typed by the zone’s kind. The Fluent handedness: a face’s written node order carries the right-hand normal from c1 into c0. case -> {document, study_hash, hash_matches, refusals}; data -> {result_key, stored, fields, metrics} (a data file whose run the engine never solved is returned for display with a typed O16.b refusal). STL is stored and measured (surface: triangles, bbox, area, closed); its volume mesh is O16.b. O16.b: cas_h5 (the Fluent CFF case, bytes_base64 / blob_id — its mesh read through the engine’s own HDF5 reader; a face’s node order carries the normal from c1 into c0), cgns (CGNS/HDF5: unstructured zones — the SIDS sections by their corners, MIXED, NGON_n / NFACE_n — and structured blocks as hexes, the ZoneBC by elements or vertices, families; several zones merged on their coincident nodes; ADF is refused), nastran (bulk data, small / large / free field), unv (I-DEAS universal 2411 / 2412 / 2467), cdb (the MAPDL archive: NBLOCK / EBLOCK solid format with the degenerate bricks, CMBLOCK components) and neu (the GAMBIT neutral file) build their cells’ faces onto the same topology -> the mesh answer plus reader (the counts: mirrored cells turned, the faces no zone names in default-exterior, the unused nodes dropped). A zone’s kind is the file’s (CFF, CGNS) or guessed from its name (inlet / outlet / symmetry / far field, else a wall). Tecplot and PATRAN / FIDAP / HyperMesh name O16.b. O7.c rung 2: format: "meridl" reads a NASA MERIDL blade row (TP 1337 / 1338: the hub and shroud meridional curves, the blade count, the constant-radius sections with their θ₁ / θ₂ surfaces; inches → metres) — blade_row is the measured summary (pitch, annulus, leading / trailing edges at hub and tip, axial chords, thickness), passage_hint the radii and pitch Turbo Setup takes onto the annular sector; the blade-fitted passage mesh is rung 3 (a typed refusal names it).
curl --request POST \
--url https://api.eddy.engineer/v1/cfd.import \
--header 'Content-Type: application/json' \
--data '
{
"blob_id": "<string>",
"bytes_base64": "<string>",
"files": [
{
"name": "<string>",
"text": "<string>"
}
],
"name": "<string>",
"text": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/cfd.import"
payload = {
"blob_id": "<string>",
"bytes_base64": "<string>",
"files": [
{
"name": "<string>",
"text": "<string>"
}
],
"name": "<string>",
"text": "<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({
blob_id: '<string>',
bytes_base64: '<string>',
files: [{name: '<string>', text: '<string>'}],
name: '<string>',
text: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/cfd.import', 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.import",
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([
'blob_id' => '<string>',
'bytes_base64' => '<string>',
'files' => [
[
'name' => '<string>',
'text' => '<string>'
]
],
'name' => '<string>',
'text' => '<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.import"
payload := strings.NewReader("{\n \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<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.import")
.header("Content-Type", "application/json")
.body("{\n \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/cfd.import")
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 \"blob_id\": \"<string>\",\n \"bytes_base64\": \"<string>\",\n \"files\": [\n {\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"text\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body