v0.11.0¶
Release date: 2025-02-27
Early Access
The Luminary Cloud API and Python SDK are Early Access features that are still under development. View the Luminary Cloud Early Access Terms. The interface may change, and you may need to migrate or discard scripts and configuration files multiple times before v1.0.0 is released. In the future, migrations may also be necessary when upgrading to new major versions of the SDK (e.g. v2.0.0).
Release Notes¶
This release has breaking changes. It also introduces image rendering! We recommend all customers upgrade to this release.
Breaking Changes¶
Underlying representations of
QuantityType
values have changed to match a server side update. Users of old SDK versions may see incorrect results from theSimulation.download_surface_output()
method.QuantityType
valuesVELOCITY_X
,VELOCITY_Y
, andVELOCITY_Z
have been removed. ForSimulation.download_surface_output()
, useVELOCITY
and specify avector_component
instead.
Features¶
luminarycloud.vis
module added to provide image rendering. See thevis.Scene
class as a starting point.SimulationParam.configure_adjoint_surface_output()
method provides a simpler interface to define the output to be differentiated by the adjoint solver.
Deprecations¶
MinimalCount()
is deprecated. UseMinimal()
instead.
Bug Fixes / Improvements¶
Improve the string representation of
SimulationParam
.Consolidate the
SimulationParam.reference_values
andReferenceValues
.meshing.sizing_strategy.MinimalCount
was not working, now it is.
Migration Guide¶
Replacing VELOCITY_{X,Y,Z}
QuantityTypes¶
QuantityType
values VELOCITY_X
, VELOCITY_Y
, and
VELOCITY_Z
have been removed. If you need to download a velocity component output from
Simulation.download_surface_output()
, use
QuantityType.VELOCITY
and pass a vector_component
parameter.