TransientDriver

Source: drivers/TransientDriver.py

Drive a model over a prescribed time history.

Mirrors C++ TransientDriver. See module docstring for differences.

Other options

modelstr · required

The Model to drive over the time history.

prescribed_timestr · required

[Tensors] block name of a Scalar whose leading axis is the per-step time history.

timestr · default t

Name of the model input that receives the per-step time value.

save_asstr

Output file path. When set, run() writes the result here (the same flat dict result returns, via save_result); empty (the default) leaves run() side-effect-free.

prescribed_Scalar_nameslist

Scalar variable names assigned a prescribed value.

prescribed_Scalar_valueslist

Scalar prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_Scalar_names.

ic_Scalar_nameslist

Scalar variable names assigned an initial condition value.

ic_Scalar_valueslist

Scalar initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_Scalar_names.

prescribed_Vec_nameslist

Vec variable names assigned a prescribed value.

prescribed_Vec_valueslist

Vec prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_Vec_names.

ic_Vec_nameslist

Vec variable names assigned an initial condition value.

ic_Vec_valueslist

Vec initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_Vec_names.

prescribed_SR2_nameslist

SR2 variable names assigned a prescribed value.

prescribed_SR2_valueslist

SR2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_SR2_names.

ic_SR2_nameslist

SR2 variable names assigned an initial condition value.

ic_SR2_valueslist

SR2 initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_SR2_names.

prescribed_WR2_nameslist

WR2 variable names assigned a prescribed value.

prescribed_WR2_valueslist

WR2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_WR2_names.

ic_WR2_nameslist

WR2 variable names assigned an initial condition value.

ic_WR2_valueslist

WR2 initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_WR2_names.

prescribed_R2_nameslist

R2 variable names assigned a prescribed value.

prescribed_R2_valueslist

R2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_R2_names.

ic_R2_nameslist

R2 variable names assigned an initial condition value.

ic_R2_valueslist

R2 initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_R2_names.

prescribed_MRP_nameslist

MRP variable names assigned a prescribed value.

prescribed_MRP_valueslist

MRP prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_MRP_names.

ic_MRP_nameslist

MRP variable names assigned an initial condition value.

ic_MRP_valueslist

MRP initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_MRP_names.

prescribed_SSR4_nameslist

SSR4 variable names assigned a prescribed value.

prescribed_SSR4_valueslist

SSR4 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_SSR4_names.

ic_SSR4_nameslist

SSR4 variable names assigned an initial condition value.

ic_SSR4_valueslist

SSR4 initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_SSR4_names.

prescribed_MillerIndex_nameslist

MillerIndex variable names assigned a prescribed value.

prescribed_MillerIndex_valueslist

MillerIndex prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match prescribed_MillerIndex_names.

ic_MillerIndex_nameslist

MillerIndex variable names assigned an initial condition value.

ic_MillerIndex_valueslist

MillerIndex initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match ic_MillerIndex_names.