Пример #1
0
    def __init__(self):
        """Initialisation of the model parameters.
        """
        Model.__init__(self)

        #: Set parameters of the Bok globule model
        self.parameter['distance'] = 100.0 * self.math.const['pc']
        self.parameter['grid_type'] = 'spherical'
        self.parameter['inner_radius'] = 1.0 * self.math.const['au']
        self.parameter['outer_radius'] = 1.5e4 * self.math.const['au']
        self.parameter['truncation_radius'] = 1e3 * self.math.const['au']
        self.spherical_parameter['n_ph'] = 1
        self.parameter['radiation_source'] = 't_tauri'
        self.parameter['dust_composition'] = 'mrn'
        self.parameter['detector'] = 'cartesian'
Пример #2
0
    def __init__(self):
        """Initialisation of the model parameters.
        """
        Model.__init__(self)

        #: Set parameters of the sphere model
        self.parameter['distance'] = 140.0 * self.math.const['pc']
        # 2.8e-14 * self.math.const['M_sun']
        self.parameter['gas_mass'] = np.array(
            [[0.67 * 1e-6 * self.math.const['M_sun']],
             [0.33 * 1e-6 * self.math.const['M_sun']]])
        self.parameter['outer_radius'] = 100.0 * \
            self.math.const['au']  # 0.5 * self.math.const['au']
        #self.parameter['radiation_source'] = 'isrf'
        self.parameter['dust_composition'] = 'silicate_oblate'
        self.parameter['detector'] = 'cartesian'
Пример #3
0
    def __init__(self):
        """Initialisation of the model parameters.
        """
        Model.__init__(self)

        # Set parameters of the custom model (see parent Model class for all available options)
        self.parameter['distance'] = 140.0 * self.math.const['pc']
        self.parameter['grid_type'] = 'spherical'
        self.parameter['inner_radius'] = 0.1 * self.math.const['au']
        self.parameter['outer_radius'] = 100.0 * self.math.const['au']
        self.parameter['gas_mass'] = 1e-2 * self.math.const['M_sun']
        # Define which other choice are default for this model
        self.parameter['background_source'] = 'bg_plane'
        self.parameter['radiation_source'] = 't_tauri'
        self.parameter['dust_composition'] = 'mrn'
        self.parameter['gas_species'] = 'oh'
        self.parameter['detector'] = 'cartesian'
Пример #4
0
    def __init__(self):
        """Initialisation of the model parameters.
        """
        Model.__init__(self)

        #: Set parameters of the sphere model
        self.parameter['distance'] = 140.0 * self.math.const['pc']
        self.parameter['grid_type'] = 'spherical'
        self.parameter['inner_radius'] = 0.1 * self.math.const['au']
        self.parameter['outer_radius'] = 100. * self.math.const['au']
        self.spherical_parameter['n_r'] = 100
        self.spherical_parameter['n_th'] = 91
        self.spherical_parameter['n_ph'] = 1
        self.spherical_parameter['sf_r'] = 1.03
        self.parameter['gas_mass'] = 1e-4 * self.math.const['M_sun']
        self.parameter['radiation_source'] = 't_tauri'
        self.parameter['dust_composition'] = 'mrn'
        self.parameter['detector'] = 'cartesian'
        self.tmp_parameter['mag_field_geometrie'] = 'toroidal'
Пример #5
0
    def __init__(self):
        """Initialisation of the model parameters.

        Notes:
            Shakura and Sunyaev (1973)
            Link: http://adsabs.harvard.edu/abs/1973A&A....24..337S
        """
        Model.__init__(self)

        #: Set parameters of the disk model
        self.parameter['distance'] = 140.0 * self.math.const['pc']
        self.parameter['gas_mass'] = 1e-3 * self.math.const['M_sun']
        self.parameter['grid_type'] = 'cylindrical'
        self.parameter['inner_radius'] = 0.1 * self.math.const['au']
        self.parameter['outer_radius'] = 100. * self.math.const['au']
        # Define the used sources, dust composition and gas species
        self.parameter['radiation_source'] = 't_tauri'
        self.parameter['dust_composition'] = 'mrn'
        self.parameter['gas_species'] = 'co'
        self.parameter['detector'] = 'cartesian'
        # In the case of a spherical grid
        self.spherical_parameter['n_r'] = 100
        self.spherical_parameter['n_th'] = 181
        self.spherical_parameter['n_ph'] = 1
        self.spherical_parameter['sf_r'] = 1.03
        # sf_th = 1 is sinus; sf_th > 1 is exp with step width sf_th; rest is linear
        self.spherical_parameter['sf_th'] = 1.0
        # In the case of a cylindrical grid
        self.cylindrical_parameter['n_r'] = 100
        self.cylindrical_parameter['n_z'] = 181
        self.cylindrical_parameter['n_ph'] = 1
        self.cylindrical_parameter['sf_r'] = 1.03
        # sf_z = -1 is using scale height; sf_z = 1 is sinus;
        # sf_z > 1 is exp with step width sf_z and rest is linear
        self.cylindrical_parameter['sf_z'] = -1
        # Default disk parameter
        self.parameter['ref_radius'] = 100. * self.math.const['au']
        self.parameter['ref_scale_height'] = 10. * self.math.const['au']
        self.parameter['alpha'] = 2.625
        self.parameter['beta'] = 1.125