Module Reference
tripodpy Package
Functions
|
Reads dumpfile and returns |
Classes
|
Class for writing HDF5 output files. |
|
The main simulation class for running dust evolution simulations. |
tripodpy.simulation Module
Classes
|
Class for managing boundary conditions for gas and dust. |
|
Class for storing simulation quantities. |
|
Integration |
|
|
|
The main simulation class for running dust evolution simulations. |
|
Class for writing HDF5 output files. |
|
partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords. |
tripodpy.std Package
Package containing standard functions that can be used in simulations.
tripodpy.std.dust Module
Module containing standard functions for the dust.
Functions
|
Function calculates the dust diffusivity. |
|
Function calculates the advective flux at the cell interfaces. |
|
Function calculates the diffusive flux at the cell interfaces |
|
Function that calculates the total flux of the Sigma[1] and s.max used to solved the advection equation for s.max |
|
Computes the dust scale height by using the dustpy function, for all Nm_long dust sizes. |
|
Function calculates the source terms from dust growth |
|
Function calculates the source terms from dust composion source terms |
|
Function calculates the hydrodynamic source terms. |
|
Function calculates the hydrodynamic source terms for s.max -> assumes that I can callculate the hydrodynamic source term for the product and divide it by Sig1 |
|
Function calculates the total source terms. |
|
Function returns the external source terms for each component. |
|
Function calculates the total source terms. |
|
Function calculates the initial condition of the dust surface densities |
|
Function calculates the Jacobian for the statevector that includes smax. |
|
Function calculates the particle sizes from the characteristic particle sizes and the distribution exponent. |
|
Function calculates the derivative of smax with respect to Sigma1. |
|
Function calculates the derivative of Sigma1 with respect to smax. |
|
Function calculates the time step from dust. |
|
Function calculates the time step due to changes in Sigma. |
|
Function calculates the time step due to changes in Sigma. |
|
Function calculates the time step due to changes in smax. |
|
Function enforces the minimum mass fraction in large particles. |
|
Function finalizes implicit integration step. |
|
Function calculates the Jacobian for implicit dust integration. |
|
Function calculates the particle mass from the particle sizes. |
|
Calculate the fudge factor for the relative velocities. |
|
Function calculates the fragmentation probability. |
|
Calculate the transition between the two turbulent regime. |
|
Function calculates the sticking probability. |
|
Function prepares implicit dust integration step. |
|
Function calculates the equilibrium exponent of the distribution. |
|
Calculate the effective fragmentation power-law of the size distribution. |
|
Function computes the power law exponent of the size distribution n(a) da = a^q da |
|
Function calculates the midplane mass density. |
|
Function returns the material density of dust from the composition. |
|
Function calculates the derivative of smax. |
|
Function calculates the initial maximum particle sizes |
|
Function calculated the radial velocity of the dust. |
|
Function calculates the relative particle velocities due to Brownian motion. |
Classes
|
Class for an integration |
Modified class for implicit dust integration. |
tripodpy.std.gas Module
Functions
|
Function returns the fluxes at the boundaries for each component. |
|
Function returns the total external source terms for all components. |
|
Function returns the hydrodynamical source terms for each component. |
|
Function returns the external source terms for each component. |
|
Function calculates the total gas surface density from the gas components. |
|
Function returns the timestep depending on the source terms. |
|
Function enforces floor value to gas surface density. |
|
Function finalizes gas integration step. |
|
Function calculates the mean molecular weight from the gas components. |
|
Function prepares gas integration step. |
Function calculates the fluxes at the boundaries after the implicit integration step. |
|
Function calculates the fluxes at the boundaries after the implicit integration step. |
tripodpy.std.compo Module
Module containing standard functions for the composition
Functions
|
returns total surface area of all dust grains in the simulation |
|
Function calculates the condensation source term for a given component. |
|
Function calculates the sublimation source term for a given component. |
|
Function calculates the Jacobian for implicit integration of components with both dust and gas |
|
Function calculates the Jacobian for implicit integration of components |
|
Function finalizes implicit integration step. |
|
Function calculates the Jacobian for implicit integration caused by sublimation. |
|
Function prepares implicit dust integration step. |
|
Function sets the boundary conditions for the Jacobian of a component. |
Function sets the state vector for all components in the simulation. |
tripodpy.std.sim Module
Module containing standard functions for the main simulation object.
Functions
|
Function returns the timestep depending on the source terms. |
This function is the finalization function that is called after every integration step. |
|
This function is the preparation function that is called before every integration step. |
dustpy.utils Package
Package containing utility classes and functions used in the simulation.
Functions
|
Function returns a SimpleNamespace with the most useful data that can be used for plotting or other purposes. |
|
Functions prints a warning to screen if a newer version of |
Classes
|
Class for managing boundary conditions for gas and dust. |
|
Class for SimpleNamespace that does not allow to add new attributes. |