curl --request POST \
--url https://api.eddy.engineer/v1/solver.gci \
--header 'Content-Type: application/json' \
--data '
{
"body": {},
"max_nodes": 123,
"metric": "<string>",
"sizes": [
123
],
"target_accuracy": 123,
"target_min": 123
}
'import requests
url = "https://api.eddy.engineer/v1/solver.gci"
payload = {
"body": {},
"max_nodes": 123,
"metric": "<string>",
"sizes": [123],
"target_accuracy": 123,
"target_min": 123
}
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({
body: JSON.stringify({}),
max_nodes: 123,
metric: '<string>',
sizes: [123],
target_accuracy: 123,
target_min: 123
})
};
fetch('https://api.eddy.engineer/v1/solver.gci', 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/solver.gci",
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([
'body' => [
],
'max_nodes' => 123,
'metric' => '<string>',
'sizes' => [
123
],
'target_accuracy' => 123,
'target_min' => 123
]),
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/solver.gci"
payload := strings.NewReader("{\n \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\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/solver.gci")
.header("Content-Type", "application/json")
.body("{\n \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/solver.gci")
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 \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\n}"
response = http.request(request)
puts response.read_body{
"capped": "<string>",
"converged_key": "<string>",
"domain": "<string>",
"gci": {
"asymptotic_ratio": 123,
"gci_fine": 123,
"gci_medium": 123,
"note": "<string>",
"observed_order": 123,
"order_used": 123,
"oscillatory": true,
"r21": 123,
"r32": 123,
"relative_error_21": 123,
"relative_error_32": 123,
"richardson_extrapolate": 123
},
"metric": "<string>",
"rungs": [
{
"element_size": 123,
"h_rel": 123,
"mesh_elements": 123,
"mesh_nodes": 123,
"result_key": "<string>",
"value": 123,
"wall_ms": 123
}
],
"target_accuracy": 123,
"target_met": true
}SC9: the grid-convergence report of one solve body on a three-mesh ladder, and target_accuracy as an h-refinement loop over it
Solves the body at three (or more) element sizes, coarse to fine, and reports Roache’s grid-convergence index on the chosen metric: the refinement ratios from the element counts ((V / N)^(1/3)), the observed order (Celik’s fixed point for unequal ratios), the Richardson extrapolate, the fine-grid GCI at the safety factor 1.25 and the asymptotic-range ratio; oscillatory convergence is said so and graded with the theoretical order 2. With target_accuracy the ladder refines by 1.5 per rung until the fine mesh’s GCI falls under the target or the node cap (the report says which). Every rung is an ordinary content-addressed result (its key in the report); the finest is converged_key. The Zienkiewicz–Zhu estimator and the local refinement it drives are SC9 slice 2. R11 (the rules plan, F3 and F6): the answer says singular (a peak stress whose finest three rungs keep rising, increments not shrinking: no converged value) and converged (an observed order, not oscillating, not singular), and carries issues (ss.issue/1): FEA_SINGULARITY (class model, outcome unevaluable) and, with target_min, FEA_BELOW_TARGET (class brief) for a converged value under it, with the typed question FEA_BELOW_TARGET in questions (resize, material or accept, answered at /fea/below_target/{metric}).
curl --request POST \
--url https://api.eddy.engineer/v1/solver.gci \
--header 'Content-Type: application/json' \
--data '
{
"body": {},
"max_nodes": 123,
"metric": "<string>",
"sizes": [
123
],
"target_accuracy": 123,
"target_min": 123
}
'import requests
url = "https://api.eddy.engineer/v1/solver.gci"
payload = {
"body": {},
"max_nodes": 123,
"metric": "<string>",
"sizes": [123],
"target_accuracy": 123,
"target_min": 123
}
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({
body: JSON.stringify({}),
max_nodes: 123,
metric: '<string>',
sizes: [123],
target_accuracy: 123,
target_min: 123
})
};
fetch('https://api.eddy.engineer/v1/solver.gci', 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/solver.gci",
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([
'body' => [
],
'max_nodes' => 123,
'metric' => '<string>',
'sizes' => [
123
],
'target_accuracy' => 123,
'target_min' => 123
]),
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/solver.gci"
payload := strings.NewReader("{\n \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\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/solver.gci")
.header("Content-Type", "application/json")
.body("{\n \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/solver.gci")
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 \"body\": {},\n \"max_nodes\": 123,\n \"metric\": \"<string>\",\n \"sizes\": [\n 123\n ],\n \"target_accuracy\": 123,\n \"target_min\": 123\n}"
response = http.request(request)
puts response.read_body{
"capped": "<string>",
"converged_key": "<string>",
"domain": "<string>",
"gci": {
"asymptotic_ratio": 123,
"gci_fine": 123,
"gci_medium": 123,
"note": "<string>",
"observed_order": 123,
"order_used": 123,
"oscillatory": true,
"r21": 123,
"r32": 123,
"relative_error_21": 123,
"relative_error_32": 123,
"richardson_extrapolate": 123
},
"metric": "<string>",
"rungs": [
{
"element_size": 123,
"h_rel": 123,
"mesh_elements": 123,
"mesh_nodes": 123,
"result_key": "<string>",
"value": 123,
"wall_ms": 123
}
],
"target_accuracy": 123,
"target_met": true
}