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
QuantityTypevalues have changed to match a server side update. Users of old SDK versions may see incorrect results from theSimulation.download_surface_output()method.QuantityTypevaluesVELOCITY_X,VELOCITY_Y, andVELOCITY_Zhave been removed. ForSimulation.download_surface_output(), useVELOCITYand specify avector_componentinstead.
Features¶
luminarycloud.vismodule added to provide image rendering. See thevis.Sceneclass 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_valuesandReferenceValues.meshing.sizing_strategy.MinimalCountwas 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.