cape.pyfun.options.runctlopts: FUN3D run control options¶
Options interface for aspects of running a case of FUN3D. The settings
are read from the "RunControl" of a JSON file, and the contents of
this section are written to case.json within each run folder.
The FUN3D-specific options include adaptation settings and command-line
arguments for both nodet and dual.
- class cape.pyfun.options.runctlopts.DualOpts(*args, **kw)¶
Class for FUN3D
dualsettings- Call:
>>> opts = DualOpts(**kw)
- Inputs:
- kw:
dict Raw options
- kw:
- Outputs:
- opts:
DualOpts CLI options for
dualfrom FUN3D
- opts:
- Versions:
2015-11-24
@ddalle: Version 1.0 (dual)2022-11-03
@ddalle: Version 2.0; useoptdict
- get_dual_adapt(j=None, i=None, **kw)¶
Get whether to adapt when running FUN3D
dual- Call:
>>> adapt = opts.get_dual_adapt(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- adapt: {
True} |False whether to adapt when running FUN3D
dual
- adapt: {
- get_dual_outer_loop_krylov(j=None, i=None, **kw)¶
Get option to use Krylov method in outer loop
- Call:
>>> outer_loop_krylov = opts.get_dual_outer_loop_krylov(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- outer_loop_krylov: {
True} |False option to use Krylov method in outer loop
- outer_loop_krylov: {
- get_dual_rad(j=None, i=None, **kw)¶
Get option to use residual adjoint dot product
- Call:
>>> rad = opts.get_dual_rad(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- rad: {
True} |False option to use residual adjoint dot product
- rad: {
- set_dual_adapt(v, j=None, mode=None)¶
Get whether to adapt when running FUN3D
dual- Call:
>>> opts.set_dual_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- adapt: {
True} |False whether to adapt when running FUN3D
dual- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_dual_outer_loop_krylov(v, j=None, mode=None)¶
Get option to use Krylov method in outer loop
- Call:
>>> opts.set_dual_outer_loop_krylov(outer_loop_krylov, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- outer_loop_krylov: {
True} |False option to use Krylov method in outer loop
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_dual_rad(v, j=None, mode=None)¶
Get option to use residual adjoint dot product
- Call:
>>> opts.set_dual_rad(rad, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- rad: {
True} |False option to use residual adjoint dot product
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- class cape.pyfun.options.runctlopts.NodetOpts(*args, **kw)¶
Class for
nodetsettings- Call:
>>> opts = NodetOpts(**kw)
- Inputs:
- kw:
dict Raw options
- kw:
- Outputs:
- opts:
NodetOpts CLI options for
nodetormpi_nodet
- opts:
- Versions:
2015-11-24
@ddalle: Version 1.0 (nodet)2022-11-03
@ddalle: Version 2.0; useoptdict
- get_nodet_adapt(j=None, i=None, **kw)¶
Get whether to run
nodetin grid adaptation mode- Call:
>>> adapt = opts.get_nodet_adapt(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- adapt: {
None} |True|False whether to run
nodetin grid adaptation mode
- adapt: {
- get_nodet_animation_freq(j=None, i=None, **kw)¶
Get animation frequency for
nodet- Call:
>>> animation_freq = opts.get_nodet_animation_freq(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- animation_freq: {
-1} |int animation frequency for
nodet
- animation_freq: {
- get_nodet_plt_tecplot_output(j=None, i=None, **kw)¶
Get option to write
.pltfiles- Call:
>>> plt_tecplot_output = opts.get_nodet_plt_tecplot_output(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- plt_tecplot_output: {
False} |True option to write
.pltfiles
- plt_tecplot_output: {
- set_nodet_adapt(v, j=None, mode=None)¶
Get whether to run
nodetin grid adaptation mode- Call:
>>> opts.set_nodet_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- adapt: {
None} |True|False whether to run
nodetin grid adaptation mode- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nodet_animation_freq(v, j=None, mode=None)¶
Get animation frequency for
nodet- Call:
>>> opts.set_nodet_animation_freq(animation_freq, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- animation_freq: {
-1} |int animation frequency for
nodet- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nodet_plt_tecplot_output(v, j=None, mode=None)¶
Get option to write
.pltfiles- Call:
>>> opts.set_nodet_plt_tecplot_output(plt_tecplot_output, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- plt_tecplot_output: {
False} |True option to write
.pltfiles- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- class cape.pyfun.options.runctlopts.RunControlOpts(*args, **kw)¶
FUN3D-specific “RunControl” options interface
- Call:
>>> opts = RunControl(**kw)
- Inputs:
- kw:
dict Dictionary of “RunControl” settings
- kw:
- Outputs:
- opts:
Options Options interface
- opts:
- Versions:
2015-09-28
@ddalle: Version 1.02022-10-24
@ddalle: Version 2.0
- apply_ArchiveTemplate()¶
Apply named template to set default files to delete/archive
- Call:
>>> opts.apply_ArchiveTemplate()
- Inputs:
- opts:
Options Options interface
- opts:
- Versions:
2016-02-29
@ddalle: v1.0
- get_AdaptMethod(j=None, i=None, **kw)¶
Get version of REFINE to use for adaptation
- Call:
>>> AdaptMethod = opts.get_AdaptMethod(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- AdaptMethod: {
'refine/one'} |'refine/three'|'refine/two' version of REFINE to use for adaptation
- AdaptMethod: {
- get_AdaptPhase(j=None, i=None, **kw)¶
Get whether or not to adapt mesh at end of phase
- Call:
>>> AdaptPhase = opts.get_AdaptPhase(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- AdaptPhase: {
True} |False whether or not to adapt mesh at end of phase
- AdaptPhase: {
- get_AdaptationNumber(j=None)¶
Get the adaptation number for a given phase
- Call:
>>> nadapt = opts.get_AdaptationNumber(j=None)
- Inputs:
- opts:
cape.pyfun.options.Options Options interface
- j: {
None} |int Phase number
- opts:
- Outputs:
- nadapt:
int|None Number of adaptations prior to phase j
- nadapt:
- Versions:
2015-12-31
@ddalle: Version 1.02022-10-24
@ddalle: Version 1.1; use PhaseSequence
- get_Adaptive(j=None, i=None, **kw)¶
Get whether or not to run adaptively
- Call:
>>> Adaptive = opts.get_Adaptive(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- Adaptive: {
False} |True whether or not to run adaptively
- Adaptive: {
- get_Dual(j=None, i=None, **kw)¶
Get whether or not to run all adaptations with adjoint
- Call:
>>> Dual = opts.get_Dual(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- Dual: {
False} |True whether or not to run all adaptations with adjoint
- Dual: {
- get_DualPhase(j=None, i=None, **kw)¶
Get whether or not to run phase in dual mode
- Call:
>>> DualPhase = opts.get_DualPhase(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- DualPhase: {
True} |False whether or not to run phase in dual mode
- DualPhase: {
- get_KeepRestarts(j=None, i=None, **kw)¶
Get whether or not to keep restart files
- Call:
>>> KeepRestarts = opts.get_KeepRestarts(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- KeepRestarts: {
False} |True whether or not to keep restart files
- KeepRestarts: {
- get_WarmStartProject(j=None, i=None, **kw)¶
Get project name in WarmStart source folder
- Call:
>>> WarmStartProject = opts.get_WarmStartProject(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- WarmStartProject: {
None} |str project name in WarmStart source folder
- WarmStartProject: {
- get_dual_adapt(j=None, i=None, **kw)¶
Get whether to adapt when running FUN3D
dual- Call:
>>> adapt = opts.get_dual_adapt(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- adapt: {
True} |False whether to adapt when running FUN3D
dual
- adapt: {
- get_dual_outer_loop_krylov(j=None, i=None, **kw)¶
Get option to use Krylov method in outer loop
- Call:
>>> outer_loop_krylov = opts.get_dual_outer_loop_krylov(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- outer_loop_krylov: {
True} |False option to use Krylov method in outer loop
- outer_loop_krylov: {
- get_dual_rad(j=None, i=None, **kw)¶
Get option to use residual adjoint dot product
- Call:
>>> rad = opts.get_dual_rad(j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- rad: {
True} |False option to use residual adjoint dot product
- rad: {
- get_nIterAdjoint(j=None, i=None, **kw)¶
Get number of iterations for adjoint solver
- Call:
>>> nIterAdjoint = opts.get_nIterAdjoint(j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- nIterAdjoint: {
200} |int number of iterations for adjoint solver
- nIterAdjoint: {
- get_nodet_adapt(j=None, i=None, **kw)¶
Get whether to run
nodetin grid adaptation mode- Call:
>>> adapt = opts.get_nodet_adapt(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- adapt: {
None} |True|False whether to run
nodetin grid adaptation mode
- adapt: {
- get_nodet_animation_freq(j=None, i=None, **kw)¶
Get animation frequency for
nodet- Call:
>>> animation_freq = opts.get_nodet_animation_freq(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- animation_freq: {
-1} |int animation frequency for
nodet
- animation_freq: {
- get_nodet_plt_tecplot_output(j=None, i=None, **kw)¶
Get option to write
.pltfiles- Call:
>>> plt_tecplot_output = opts.get_nodet_plt_tecplot_output(j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- plt_tecplot_output: {
False} |True option to write
.pltfiles
- plt_tecplot_output: {
- get_refine_loop_initial_complexity(j=None, i=None, **kw)¶
Get starting projected grid complexity
- Call:
>>> initial_complexity = opts.get_refine_loop_initial_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- initial_complexity: {
None} |str starting projected grid complexity
- initial_complexity: {
- get_refine_loop_ramp_complexity(j=None, i=None, **kw)¶
Get amount to increase complexity between iterations
- Call:
>>> ramp_complexity = opts.get_refine_loop_ramp_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- ramp_complexity: {
None} |str amount to increase complexity between iterations
- ramp_complexity: {
- get_refine_loop_target_complexity(j=None, i=None, **kw)¶
Get final complexity
- Call:
>>> target_complexity = opts.get_refine_loop_target_complexity(j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- j: {
None} |int Phase index; use
Noneto just return v- i: {
None} |int|np.ndarray opts.x index(es) to use with
@expr,@map, etc.- vdef: {
None} |object Manual default
- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- ring: {opts._optring[key]} |
True|False Override option to loop through phase inputs
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- x: {
None} |dict Ref conditions to use with
@expr,@map, etc.; often a run matrix; used in combination with i- sample: {
True} |False Apply j, i, and other settings recursively if output is a
listordict
- Outputs:
- target_complexity: {
None} |str final complexity
- target_complexity: {
- set_AdaptMethod(v, j=None, mode=None)¶
Get version of REFINE to use for adaptation
- Call:
>>> opts.set_AdaptMethod(AdaptMethod, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- AdaptMethod: {
'refine/one'} |'refine/three'|'refine/two' version of REFINE to use for adaptation
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_AdaptPhase(v, j=None, mode=None)¶
Get whether or not to adapt mesh at end of phase
- Call:
>>> opts.set_AdaptPhase(AdaptPhase, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- AdaptPhase: {
True} |False whether or not to adapt mesh at end of phase
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_Adaptive(v, j=None, mode=None)¶
Get whether or not to run adaptively
- Call:
>>> opts.set_Adaptive(Adaptive, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- Adaptive: {
False} |True whether or not to run adaptively
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_Dual(v, j=None, mode=None)¶
Get whether or not to run all adaptations with adjoint
- Call:
>>> opts.set_Dual(Dual, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- Dual: {
False} |True whether or not to run all adaptations with adjoint
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_DualPhase(v, j=None, mode=None)¶
Get whether or not to run phase in dual mode
- Call:
>>> opts.set_DualPhase(DualPhase, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- DualPhase: {
True} |False whether or not to run phase in dual mode
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_KeepRestarts(v, j=None, mode=None)¶
Get whether or not to keep restart files
- Call:
>>> opts.set_KeepRestarts(KeepRestarts, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- KeepRestarts: {
False} |True whether or not to keep restart files
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_WarmStartProject(v, j=None, mode=None)¶
Get project name in WarmStart source folder
- Call:
>>> opts.set_WarmStartProject(WarmStartProject, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- WarmStartProject: {
None} |str project name in WarmStart source folder
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_dual_adapt(v, j=None, mode=None)¶
Get whether to adapt when running FUN3D
dual- Call:
>>> opts.set_dual_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- adapt: {
True} |False whether to adapt when running FUN3D
dual- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_dual_outer_loop_krylov(v, j=None, mode=None)¶
Get option to use Krylov method in outer loop
- Call:
>>> opts.set_dual_outer_loop_krylov(outer_loop_krylov, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- outer_loop_krylov: {
True} |False option to use Krylov method in outer loop
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_dual_rad(v, j=None, mode=None)¶
Get option to use residual adjoint dot product
- Call:
>>> opts.set_dual_rad(rad, j=None, i=None, **kw)
- Inputs:
- opts: DualOpts
options interface
- rad: {
True} |False option to use residual adjoint dot product
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nIterAdjoint(v, j=None, mode=None)¶
Get number of iterations for adjoint solver
- Call:
>>> opts.set_nIterAdjoint(nIterAdjoint, j=None, i=None, **kw)
- Inputs:
- opts: RunControlOpts
options interface
- nIterAdjoint: {
200} |int number of iterations for adjoint solver
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nodet_adapt(v, j=None, mode=None)¶
Get whether to run
nodetin grid adaptation mode- Call:
>>> opts.set_nodet_adapt(adapt, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- adapt: {
None} |True|False whether to run
nodetin grid adaptation mode- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nodet_animation_freq(v, j=None, mode=None)¶
Get animation frequency for
nodet- Call:
>>> opts.set_nodet_animation_freq(animation_freq, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- animation_freq: {
-1} |int animation frequency for
nodet- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_nodet_plt_tecplot_output(v, j=None, mode=None)¶
Get option to write
.pltfiles- Call:
>>> opts.set_nodet_plt_tecplot_output(plt_tecplot_output, j=None, i=None, **kw)
- Inputs:
- opts: NodetOpts
options interface
- plt_tecplot_output: {
False} |True option to write
.pltfiles- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_refine_loop_initial_complexity(v, j=None, mode=None)¶
Get starting projected grid complexity
- Call:
>>> opts.set_refine_loop_initial_complexity(initial_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- initial_complexity: {
None} |str starting projected grid complexity
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_refine_loop_ramp_complexity(v, j=None, mode=None)¶
Get amount to increase complexity between iterations
- Call:
>>> opts.set_refine_loop_ramp_complexity(ramp_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- ramp_complexity: {
None} |str amount to increase complexity between iterations
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar
- set_refine_loop_target_complexity(v, j=None, mode=None)¶
Get final complexity
- Call:
>>> opts.set_refine_loop_target_complexity(target_complexity, j=None, i=None, **kw)
- Inputs:
- opts: RefineLoopOpts
options interface
- target_complexity: {
None} |str final complexity
- j: {
None} |int Phase index; use
Noneto just return v- mode: {
None} |0|1|2|3 Warning mode code
0:no checks
1:validate silently
2:validate and show warnings
3:raise an exception if invalid
- listdepth: {
0} |int> 0 Depth of list to treat as a scalar