Module containing the Result subclass : Scalar.

class ansys.dpf.post.scalar.Scalar(data_sources, model, **kwargs)#

Provides a child Result class that implements scalar results (temperatures).

property scalar#

Result data for the scalar values.

has_complex_frequencies()#

Check if the result contains complex frequencies.

Returns:

True if the result contains complex frequencies, False otherwise.

Return type:

bool

class ansys.dpf.post.scalar.ComplexScalar(data_sources, model, **kwargs)#

Provides a child Result class that implements complex scalar results (temperatures).

property scalar_amplitude#

Get result data for the scalar amplitude values.

scalar_at_phase(phase: float)#

Get result data for the scalar values at a specified phase.

has_complex_frequencies()#

Check if the result contains complex frequencies.

Returns:

True if the result contains complex frequencies, False otherwise.

Return type:

bool

property scalar#

Result data for the scalar values.