g3d.flow.domain.models.turbulence_models package

Submodules

g3d.flow.domain.models.turbulence_models.generic module

TurbulenceModel class definition (base class for turbulence models)

class g3d.flow.domain.models.turbulence_models.generic.TurbulenceModel(*args: Any, **kwargs: Any)[source]

Bases: G3DEntity

Attributes:
tag

tag (string) used for identification

Methods

Reynolds_stress()

copy(e)

copies data from specified entity input: entity example: copy(e)

print()

prints entity data

set(*args, **kwargs)

sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)

set_from_key_value(key, value)

sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)

visc_t()

Reynolds_stress() → float[source]
Returns:

visc_t() → float[source]
Returns:

g3d.flow.domain.models.turbulence_models.smagorinsky module

Smagorinsky sub-grid scale model

class g3d.flow.domain.models.turbulence_models.smagorinsky.Smagorinsky(*args: Any, **kwargs: Any)[source]

Bases: TurbulenceModel

Attributes:
tag

tag (string) used for identification

Methods

Reynolds_stress()

copy(e)

copies data from specified entity input: entity example: copy(e)

print()

prints entity data

set(*args, **kwargs)

sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)

set_from_key_value(key, value)

sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)

visc_t()

Module contents

g3d/flow/domain/models/turbulence_models sub library

class g3d.flow.domain.models.turbulence_models.Smagorinsky(*args: Any, **kwargs: Any)[source]

Bases: TurbulenceModel

Attributes:
tag

tag (string) used for identification

Methods

Reynolds_stress()

copy(e)

copies data from specified entity input: entity example: copy(e)

print()

prints entity data

set(*args, **kwargs)

sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)

set_from_key_value(key, value)

sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)

visc_t()

class g3d.flow.domain.models.turbulence_models.TurbulenceModel(*args: Any, **kwargs: Any)[source]

Bases: G3DEntity

Attributes:
tag

tag (string) used for identification

Methods

Reynolds_stress()

copy(e)

copies data from specified entity input: entity example: copy(e)

print()

prints entity data

set(*args, **kwargs)

sets entity parameters according to specifications input: args, kwargs example: set(args, kwargs)

set_from_key_value(key, value)

sets entity parameters from specified key => value data input: key, value valid keys for G3DCode base class: 'tag' example: set_from_key_value(key, value)

visc_t()

Reynolds_stress() → float[source]
Returns:

visc_t() → float[source]
Returns: