RASPHEulerianSolution#

class ansys.rocky.app.ra_sph_eulerian_solution.RASPHEulerianSolution(id: str, model_id: str | None = None)#

Bases: ansys.rocky.app.api_element_item.ApiElementItem, ansys.rocky.app._ra_subject_with_coloring_mixin._RASubjectWithColoringMixin

Rocky PrePost Scripting wrapper for SPH Eulerian Solution properties.

This wrapper corresponds to the “Eulerian Solution” item on a project’s data tree. Access it from the RAStudy with:

eulerian_solution = study.GetSphEulerianSolution()

Overview#

GetEulerianSolutionEnabled

Delegates the method to the project sph settings.

SetEulerianSolutionEnabled

Delegate the method to the project sph settings.

EnableEulerianSolution

Set the value of “Eulerian Solution” to True.

DisableEulerianSolution

Set the value of “Eulerian Solution” to False.

IsEulerianSolutionEnabled

Check if the “Eulerian Solution” is enabled.

Import detail#

from ansys.rocky.app.ra_sph_eulerian_solution import RASPHEulerianSolution

Method detail#

classmethod RASPHEulerianSolution.GetWrappedClass()#
classmethod RASPHEulerianSolution.GetClassName() str#
RASPHEulerianSolution.GetEulerianSolutionEnabled() bool#

Delegates the method to the project sph settings.

RASPHEulerianSolution.SetEulerianSolutionEnabled(value: bool) None#

Delegate the method to the project sph settings.

Parameters:

value – The value to set.

RASPHEulerianSolution.EnableEulerianSolution() None#

Set the value of “Eulerian Solution” to True.

RASPHEulerianSolution.DisableEulerianSolution() None#

Set the value of “Eulerian Solution” to False.

RASPHEulerianSolution.IsEulerianSolutionEnabled() bool#

Check if the “Eulerian Solution” is enabled.