josie.fluid package

Submodules

josie.fluid.fields module

josie.fluid.problem module

class josie.fluid.problem.DiffusiveProblem(transport, **kwargs)

Bases: josie.problem.Problem

A Problem providing a Transport attribute to compute transport coefficients

josie.fluid.state module

class josie.fluid.state.ConsState(*args, **kwargs)

Bases: josie.state.State

A mixin providing methods to retrieve the conservative part of a State

cons_state: Type[SubsetState]
get_conservative()

Returns the conservative part of the state

Return type

SubsetState

set_conservative(values)

Set the conservative part of the state

class josie.fluid.state.DiffState(*args, **kwargs)

Bases: josie.state.State

A mixin providing methods to retrieve the diffusive part of a State

diff_state: Type[SubsetState]
get_diffusive()

Returns the diffusive part of the state

Return type

SubsetState

set_diffusive(values)

Set the diffusive part of the state

class josie.fluid.state.SingleFluidState(*args, **kwargs)

Bases: josie.fluid.state.ConsState

A class used for type checking to indicate a state for a fluid dynamics problem, i.e. a state whose fields are FluidFields, that is they have velocity components.

fields

The indexing FluidFields for all the variables

Type

Type[FluidFields]

cons_state

An associated State that wraps the conservative subset of fields

fields: Type[FluidFields]

Module contents

Generic definitions for fluid dynamics systems