PartMC  2.6.1
Data Types | Functions/Subroutines | Variables
pmc_chamber Module Reference

Data Types

type  chamber_t
 

Functions/Subroutines

real(kind=dp) function chamber_diff_coef (vol, aero_data, temp, pressure)
 Based on Eq. 23 in Naumann 2003 J. Aerosol. Sci. More...
 
real(kind=dp) function chamber_diff_bl_thick (chamber, vol, aero_data, temp, pressure)
 Calculate diffusional boundary layer thickness. Based on Eq. 40 in Naumann 2003 J. Aerosol. Sci. More...
 
real(kind=dp) function chamber_loss_rate_wall (chamber, vol, aero_data, env_state)
 Calculate the loss rate due to wall diffusion in chamber. Based on Eq. 37a in Naumann 2003 J. Aerosol. Sci. More...
 
real(kind=dp) function chamber_loss_rate_sedi (chamber, vol, density, aero_data, env_state)
 Calculate the loss rate due to sedimentation in chamber. Based on Eq. 37b in Naumann 2003 J. Aerosol. Sci. More...
 
integer function pmc_mpi_pack_size_chamber (val)
 Determines the number of bytes required to pack the given value. More...
 
subroutine pmc_mpi_pack_chamber (buffer, position, val)
 Packs the given value into the buffer, advancing position. More...
 
subroutine pmc_mpi_unpack_chamber (buffer, position, val)
 Unpacks the given value from the buffer, advancing position. More...
 

Variables

real(kind=dp), parameter chamber_unit_diff_coef = 1d0
 Unit translational diffusion coefficient (m^2 s^{-1}). More...
 

Function/Subroutine Documentation

◆ chamber_diff_bl_thick()

real(kind=dp) function pmc_chamber::chamber_diff_bl_thick ( type(chamber_t chamber,
real(kind=dp), intent(in)  vol,
type(aero_data_t), intent(in)  aero_data,
real(kind=dp), intent(in)  temp,
real(kind=dp), intent(in)  pressure 
)

Calculate diffusional boundary layer thickness. Based on Eq. 40 in Naumann 2003 J. Aerosol. Sci.

Parameters
chamberChamber parameters.
[in]volParticle volume (m^3).
[in]aero_dataAerosol data.
[in]tempTemperature (K).
[in]pressurePressure (Pa).

Definition at line 62 of file chamber.F90.

◆ chamber_diff_coef()

real(kind=dp) function pmc_chamber::chamber_diff_coef ( real(kind=dp), intent(in)  vol,
type(aero_data_t), intent(in)  aero_data,
real(kind=dp), intent(in)  temp,
real(kind=dp), intent(in)  pressure 
)

Based on Eq. 23 in Naumann 2003 J. Aerosol. Sci.

Parameters
[in]volParticle volume (m^3).
[in]aero_dataAerosol data.
[in]tempTemperature (K).
[in]pressurePressure (Pa).

Definition at line 36 of file chamber.F90.

◆ chamber_loss_rate_sedi()

real(kind=dp) function pmc_chamber::chamber_loss_rate_sedi ( type(chamber_t), intent(in)  chamber,
real(kind=dp), intent(in)  vol,
real(kind=dp), intent(in)  density,
type(aero_data_t), intent(in)  aero_data,
type(env_state_t), intent(in)  env_state 
)

Calculate the loss rate due to sedimentation in chamber. Based on Eq. 37b in Naumann 2003 J. Aerosol. Sci.

Parameters
[in]chamberChamber parameters.
[in]volParticle volume (m^3).
[in]densityParticle density (kg/m^3).
[in]aero_dataAerosol data.
[in]env_stateEnvironment state.

Definition at line 116 of file chamber.F90.

◆ chamber_loss_rate_wall()

real(kind=dp) function pmc_chamber::chamber_loss_rate_wall ( type(chamber_t), intent(in)  chamber,
real(kind=dp), intent(in)  vol,
type(aero_data_t), intent(in)  aero_data,
type(env_state_t), intent(in)  env_state 
)

Calculate the loss rate due to wall diffusion in chamber. Based on Eq. 37a in Naumann 2003 J. Aerosol. Sci.

Parameters
[in]chamberChamber parameters.
[in]volParticle volume (m^3).
[in]aero_dataAerosol data.
[in]env_stateEnvironment state.

Definition at line 89 of file chamber.F90.

◆ pmc_mpi_pack_chamber()

subroutine pmc_chamber::pmc_mpi_pack_chamber ( character, dimension(:), intent(inout)  buffer,
integer, intent(inout)  position,
type(chamber_t), intent(in)  val 
)

Packs the given value into the buffer, advancing position.

Parameters
[in,out]bufferMemory buffer.
[in,out]positionCurrent buffer position.
[in]valValue to pack.

Definition at line 205 of file chamber.F90.

◆ pmc_mpi_pack_size_chamber()

integer function pmc_chamber::pmc_mpi_pack_size_chamber ( type(chamber_t), intent(in)  val)

Determines the number of bytes required to pack the given value.

Parameters
[in]valValue to pack.

Definition at line 186 of file chamber.F90.

◆ pmc_mpi_unpack_chamber()

subroutine pmc_chamber::pmc_mpi_unpack_chamber ( character, dimension(:), intent(inout)  buffer,
integer, intent(inout)  position,
type(chamber_t), intent(inout)  val 
)

Unpacks the given value from the buffer, advancing position.

Parameters
[in,out]bufferMemory buffer.
[in,out]positionCurrent buffer position.
[in,out]valValue to pack.

Definition at line 232 of file chamber.F90.

Variable Documentation

◆ chamber_unit_diff_coef

real(kind=dp), parameter pmc_chamber::chamber_unit_diff_coef = 1d0

Unit translational diffusion coefficient (m^2 s^{-1}).

Definition at line 16 of file chamber.F90.