Skip to content

Physical context window

Christophe Geuzaine requested to merge physical-context-window into master

In addition to an improved physical context window, this MR introduces a fully configurable way to assign parameters (boundary conditions, material properties, etc.) to model entities using ONELAB.

Simply define "template" ONELAB variables containing the subpath ONELAB Context/Point Template/, ONELAB Context/Curve Template/, ONELAB Context/Surface Template/ or ONELAB Context/Volume Template/, and these variables can be instantiated interactively by double- (or right-) clicking on an entity in the GUI. Selecting an elementary entity or a physical group will lead to the corresponding variables (e.g. ONELAB Context/Point 123/ or ``ONELAB Context/Physical Point 1000/`) to be created, which can be edited, exchanged, etc. as any other ONELAB variable.

See demos/api/prepro.py for a simple example.

Edited by Christophe Geuzaine

Merge request reports