Shock code current version – updated in May 2022
                
                    
                        
                            | Version | Access | Note | 
                        
                            | Shock 1.1 rev 122
 (may 2022)
 | Download | 
                                    update of the formation enthalpies of all species with precise referencescomplete reorganization and update of the chemical network with the inclusion of ~1500 additional reactions. Verification of the completness of the network. Precise references are given for all reactionsimplementation of a "-1" type in the chemical network to offer the possibility to disregard a reaction or a set of reactionscomplete revision of the algorithm used for the integration of C* and CJ type shocks. The revision includes improvements and simplifications of the perturbation algorithm, possible acceleration of the ionized fluid in the subsonic regime, identification of immediate fluid recoupling, higher precision of the stable trajectory, and modification of the algorithm used to cross the downstream sonic pointimplementation of proton exchanges of H2 with H3+, H3O+, and HCO+apodisation of the Kaufmann and Neufeld cooling to force the cooling to drop at low temperaturecorrection of the derivative of the populations of H2 to include the detailed treatment of photodissociationcorrection of the initialization of the populations of H2 in the static runmodification of the outputs (HDF5 files, mhd_info.out, and energetics.out) to include all parameters, correct the units, save more meaningful quantities, and add important information on the run (final shock type, iteration number, duration of the run, ...)implementation of a new value for the "F_W_ASCII" flag (F_W_ASCII=2) to save the intermediary trajectories of C* and CJ type shocksforce the initial column densities of H2 and CO to be read in the species.in file if the run is not a static runswitch from python 2.7 to python 3.6allow the compatibility of the HDF5 output files with the new analysis tools, IDAT and the chemistry analyserupdate and development of the python scripts provided to make easy first plots of the shock results | 
                    
                
                
                    Citation: If you publish results produced by the Paris-Durham Shock code, we 
                    would appreciate if you could mention it in your publications, in order for us to 
                    keep track of usage statistics for the code. A typical sentence could be:
                    Shock models published in this paper have been produced with the Paris-Durham shock code
                    (
Flower & Pineau des Forêts 2003, 
                    
Godard et al. 2019,
                    http://ism.obspm.fr).
                
 
                
                    Part of the output files of the Paris-Durham Shock code are in HDF5 format and 
                    can be read with the dedicated tools: IDAT and 
                    Chemistry Analyser included in the source code package.
                
             
            
                Documentation
                
                Requirements
                
                    - Fortran 90 compiler
- (optional) lapack and blas libraries
- (optional) Python 3.6 with numpy and h5py
Contacts
                
                    - support.shock.ism at obspm.fr
Selected references (current version)
                
                    - 
                        Flower et al., 1985, MNRAS, 216, 775
                    
- 
                        Flower et al., 1986, MNRAS, 218, 729
                    
- 
                        Pineau des Forêts et al., 1986, MNRAS, 220, 801
                    
- 
                        Le Bourlot et al., 2002, MNRAS, 332, 985
                    
- 
                        Flower & Pineau des Forêts, 2003, MNRAS, 343, 390
                    
- 
                        Lesaffre et al., 2004, A&A, 427, 157
                    
- 
                        Gusdorf et al., 2008, A&A, 482, 809
                    
- 
                        Lesaffre et al., 2013, A&A, 550, 106
                    
- 
                        Godard et al., 2019, A&A, 622, A100
                    
Selected references (future version)
                
             
         
        
            
                Archive versions – updated in January 2019
                
                    The following versions of the Paris-Durham shock code are not maintained anymore. 
                    In particular the output HDF5 files they produce can only be read with
                    outdated versions of the Extractor
                    and Chemistry analyser tools. Note that
                    the current version of the shock code includes all the physics 
                    of the old versions.
                
                
                    
                        
                            | Version | Access | Note | 
                        
                            | Shock 1.1 rev 89
 (January 2019)
 | Download | 
                                    computation of C* and CJ stationary shockschange grain treatments – adsorption / erosion widthsadd thermal desorption mechanismsupdate chemical networkadd photoelectric effect for grain chargeupdate photoreaction rates with those given by Heays et al. (2017)update the computation of secondary photon processesadd option to set up an external grid of radiation fieldinclude radiation field spectrum and radiative transferintegrate photoreaction using cross sectionsinclude dust absorption properties and heat capacitiescompute the grain temperature through thermal balanceadd radiative pumping of H2 and CO electronic linescompute H2 and CO self-shielding using the FGK approximationchange the way of computing H2 heating or coolingmodification of dvode for absolute error control on log variablespossibility of sorting reactions when computing the derivativespossibility of enforcing elements conserv for unbalanced networkadd individual species velocities for S and SHintroduce an energy criterium to compute the shock sizechange input / output file – plug ISM services | 
                        
                            | Shock 1.0 rev 90
 (January 2019)
 | Download | 
                                    add variables NH2, NH for self-shieldingadd individual species velocities for CHupdate treatment of photo-reactionsInclude analytical self-shieldingAllow the interface with dumsesAdd python fitting routines: in fit/*py | 
                    
                
             
            
                Requirements for the archive versions
                
                    - Fortran 90 compiler
- (optional) lapack and blas libraries
- (optional) Python 2.7 with numpy, h5py and PyQt4