三根电缆均匀土壤热参考(英文)
The cablesim.native-reference v2 plugin accepts a saved SI domain document;
legacy data must pass the explicit domain migration first. It uses the shared
plugin_host executor, immutable Study/Run records and source-bound JSON bundles.
The six-domain radial field retains cablesim.thermal-field/1, and the 19-domain
field retains cablesim.buried-field/1. Physical artifact schema versions are
independent of the retired v1 execution protocol.
Exact physical problem
Three identical six-layer single-core cables, flat or trefoil, invariant along the
axis. Each conductor has an independently specified nonnegative power per unit
length in W/m. Each material is isotropic with constant thermal conductivity.
Solve -div(k grad(T)) = Q using an interface-conforming Gmsh mesh and P1 triangular
finite elements in scikit-fem. The conductor's equivalent radius follows the saved
fill factor; individual strands are not resolved. The source is normalized over
each polygonal conductor domain so its integral equals the specified W/m.
There are eighteen cable material domains (six per phase) and one homogeneous soil domain. Domain IDs, semantic layer UIDs and phase labels are explicit. Geometry, spacing, arrangement, average center depth, ambient temperature and material resistivities come from the committed project snapshot. Metal conductivities and three phase powers are mandatory research arguments. The UI currently exposes equal power in each phase; the API supports unequal powers. No power or metal conductivity is prefilled as manufacturer-certified data.
Coordinates are metres; positive y is depth. Ground is y=0. Define
L=max(max(phase_depths), max(abs(phase_x))+cable_outer_radius) and the finite box
x in [-S*L,S*L], y in [0,S*L], with S=4,8,16. Ground, left, right and bottom are
Dirichlet boundaries at the project's ambient temperature. This is a finite
approximation, not an infinite-soil boundary. No convection, radiation,
backfill/ducts, soil drying, contact resistance, distributed screen/dielectric
losses, electrical loss calculation, temperature-dependent resistance or ampacity
inversion are included. ampacity_a is always null; no current result is promoted.
Numerical and artifact checks
The rectangular boundary is recovered independently from mesh connectivity and must match the declared boundary nodes. Internal material interfaces must share nodes; holes, degenerate/duplicate triangles, unused nodes and nonmanifold edges are rejected. Fields are absolute kelvin with nodal association. The new bounded contract allows at most 100,000 nodes / 200,000 triangles; the host retains its 32 MiB per-file ceiling and worker timeout. Exceeding limits is a failure, not an automatic coarse-mesh fallback. The radial adapter's existing limits are unchanged.
The same assembly is exercised by a manufactured solution
T=sin(pi*x)sin(pi*y) with k=3 and Q=6*pi^2*sin(pi*x)sin(pi*y), three mesh levels
and L2 convergence. Additional tests exercise zero power, power scaling, ambient
offset, unequal phase powers in trefoil, flat-arrangement symmetry, source heat,
Dirichlet reaction sum, free-equation residual and three resolutions.
The reaction sum checks discrete energy balance, not an independently measured heat flux. Mesh and domain-size studies are recorded separately. In the initial local default fixture, S=8 to S=16 changed the peak by about 0.228 K: it did not meet an initially explored 0.2 K domain-insensitivity target. The published test checks diminishing truncation influence and records all values; it does not label this solution domain-independent or invent a precision certificate. Accuracy requirements for a real engineering decision must be set and checked separately.
Host checks bind source powers, soil conductivity, ambient temperature, resolution,
geometry and domain setting to the saved invocation. field.json and
temperature.vtu use the same solved nodal values. Browser downloads verify the
file size and SHA-256 before rendering. Local/full-domain views and mesh overlays
only change display; they do not solve again. The color of an element is its three
nodal temperatures' mean. The local view is labelled as a crop, not as a computation
boundary. Both spatial axes use the same scale.
Reproduce
Use a separate test environment and intentionally install the optional packages:
python -m pip install -r backend/requirements-dev.txt -r plugins/requirements-native.txt
python scripts/plugin_sdk.py verify
python scripts/seal_plugin_catalog.py
python scripts/run_plugin_tests_hpc.py --test plugin-tests/test_native.py --test plugin-tests/test_cad_runtime.py --test plugin-tests/test_buried.pyThe generic method catalog exposes fixed-power, electrothermal, line-source,
CAD/mesh/postprocessing and line-source-crosscheck. Upstream native references
must bind a saved run/case, unchanged domain input and artifact SHA256; direct
caller-supplied file bytes are refused. Native validation runs only under Slurm
cluster and records actual core time. Installing a plugin does not install dependencies.
本页由仓库文件 docs/plugins/BURIED_REFERENCE.md 生成,修改请编辑该文件。