TransientDriver¶
Source: drivers/TransientDriver.py
Drive a model over a prescribed time history.
Mirrors C++ TransientDriver. See module docstring for differences.
Other options¶
model—str· requiredThe Model to drive over the time history.
prescribed_time—str· required[Tensors] block name of a Scalar whose leading axis is the per-step time history.
time—str· defaulttName of the model input that receives the per-step time value.
save_as—strOutput file path. When set,
run()writes the result here (the same flat dictresultreturns, viasave_result); empty (the default) leavesrun()side-effect-free.prescribed_Scalar_names—listScalar variable names assigned a prescribed value.
prescribed_Scalar_values—listScalar prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_Scalar_names.ic_Scalar_names—listScalar variable names assigned an initial condition value.
ic_Scalar_values—listScalar 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_names—listVec variable names assigned a prescribed value.
prescribed_Vec_values—listVec prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_Vec_names.ic_Vec_names—listVec variable names assigned an initial condition value.
ic_Vec_values—listVec 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_names—listSR2 variable names assigned a prescribed value.
prescribed_SR2_values—listSR2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_SR2_names.ic_SR2_names—listSR2 variable names assigned an initial condition value.
ic_SR2_values—listSR2 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_names—listWR2 variable names assigned a prescribed value.
prescribed_WR2_values—listWR2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_WR2_names.ic_WR2_names—listWR2 variable names assigned an initial condition value.
ic_WR2_values—listWR2 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_names—listR2 variable names assigned a prescribed value.
prescribed_R2_values—listR2 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_R2_names.ic_R2_names—listR2 variable names assigned an initial condition value.
ic_R2_values—listR2 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_names—listMRP variable names assigned a prescribed value.
prescribed_MRP_values—listMRP prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_MRP_names.ic_MRP_names—listMRP variable names assigned an initial condition value.
ic_MRP_values—listMRP 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_names—listSSR4 variable names assigned a prescribed value.
prescribed_SSR4_values—listSSR4 prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_SSR4_names.ic_SSR4_names—listSSR4 variable names assigned an initial condition value.
ic_SSR4_values—listSSR4 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_names—listMillerIndex variable names assigned a prescribed value.
prescribed_MillerIndex_values—listMillerIndex prescribed tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
prescribed_MillerIndex_names.ic_MillerIndex_names—listMillerIndex variable names assigned an initial condition value.
ic_MillerIndex_values—listMillerIndex initial condition tokens. Each is either an inline Scalar literal (Scalar only) or a [Tensors] block name. Length must match
ic_MillerIndex_names.