dynamic_viscosity class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.result
dynamic_viscosity()
dynamic_viscosity(time_scoping: object, mesh_scoping: object, data_sources: object, config: OperatorConfig)
dynamic_viscosity(config: OperatorConfig)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.result |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
time_scoping
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.
Type: LinkableInput
mesh_scoping
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains
Type: LinkableInput
streams_container
result file container allowed to be kept open to cache data
Type: LinkableInput
data_sources
result file path container, used if no streams are set
Type: LinkableInput
mesh
prevents from reading the mesh in the result files
Type: LinkableInput
region_scoping
region id (integer) or vector of region ids (vector) or region scoping (scoping) of the model (region corresponds to zone for Fluid results or part for LSDyna results).
Type: LinkableInput
qualifiers1
(for Fluid results only) LabelSpace with combination of zone, phases or species ids
Type: LinkableInput
qualifiers2
(for Fluid results only) LabelSpace with combination of zone, phases or species ids
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
dynamic_viscosity()
Constructor
dynamic_viscosity(time_scoping, mesh_scoping, data_sources, config)
Parameters:
time_scoping(object)mesh_scoping(object)data_sources(object)config(OperatorConfig)
Constructor
dynamic_viscosity(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig