josie.heat package

Submodules

josie.heat.problem module

class josie.heat.problem.HeatProblem(transport)

Bases: josie.fluid.problem.DiffusiveProblem

A class representing a system governed by the heat equation

transport

A instance of HeatTransport providing transport coefficients

K(cells)

This is a scalar value, but DiffusiveProblem expects a 4th rank tensor

Return type

np.ndarray

josie.heat.schemes module

class josie.heat.schemes.HeatScheme(problem)

Bases: josie.scheme.diffusive.DiffusiveScheme

josie.heat.solver module

class josie.heat.solver.HeatSolver(mesh, scheme)

Bases: josie.solver.Solver

A solver for a system governed by the heat equation

t: float

josie.heat.state module

class josie.heat.state.Q(*args, **kwargs)

Bases: josie.state.State

fields

alias of josie.fields.HeatFields

josie.heat.transport module

class josie.heat.transport.ConstantHeatTransport(thermal_diffusivity)

Bases: josie.heat.transport.HeatTransport

A HeatTransport providing constant \thermalDiffusivity

Parameters

thermal_diffusivity (float) – The constant value of the thermal diffusivity

thermal_diffusivity(cells)

Thermal diffusivity \thermalDiffusivity. Units: \qty[\si{\meter \per \square \second}]

\alpha =
\frac{\thermalConductivity}{\density \specificHeat_\pressure}

Return type

np.ndarray

class josie.heat.transport.HeatTransport

Bases: josie.transport.Transport

A class providing the thermal diffusivity for the temperature

abstract thermal_diffusivity(cells)

Thermal diffusivity \thermalDiffusivity. Units: \qty[\si{\meter \per \square \second}]

\alpha =
\frac{\thermalConductivity}{\density \specificHeat_\pressure}

Return type

np.ndarray

Module contents