meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

htrdr-combustion-spk.sh (2432B)


      1 #!/bin/sh
      2 
      3 # Copyright (C) 2017-2025 |Méso|Star> (contact@meso-star.com)
      4 #
      5 # This program is free software: you can redistribute it and/or modify
      6 # it under the terms of the GNU General Public License as published by
      7 # the Free Software Foundation, either version 3 of the License, or
      8 # (at your option) any later version.
      9 #
     10 # This program is distributed in the hope that it will be useful,
     11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     13 # GNU General Public License for more details.
     14 #
     15 # You should have received a copy of the GNU General Public License
     16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
     17 
     18 . "./config.sh.in"
     19 
     20 set -e
     21 
     22   sed -n '0,/^## Gulder/p' "${comspk_readme}" \
     23 | sed '$d' \
     24 | sed "s/\${VERSION}/${comspk_version}/g" \
     25 | sed 's#https://www.meso-star.com/projects/htrdr/##g'
     26 
     27 printf '## Downloads\n'
     28 
     29 archs=$(find downloads -name "htrdr-Combustion-Starter-Pack*.tar.gz" | sort -r)
     30 printf '%s\n' "${archs}" | list_starter_packs
     31 
     32 sed -n '/^## Gulder/,/^## Dummy medium/p' "${comspk_readme}" | sed '$d'
     33 
     34 printf '[![Gulder Lateral](thumbs/gulder_lateral.jpg)](images/gulder_lateral.jpg)\n'
     35 printf '\n'
     36 printf '> Rendering in the visible range of the Gülder flame calculated\n'
     37 printf '> by [htrdr-combustion](man/man1/htrdr-combustion.1.html).\n'
     38 printf '> The flame is illuminated by a vertical laser sheet that\n'
     39 printf '> crosses the central axis of the flame, from left to right.\n'
     40 printf '> The image displays the radiation emitted by the laser,\n'
     41 printf '> scattered and transmitted by the combustion medium for\n'
     42 printf '> wavelength (here 532 nm).\n'
     43 
     44 sed -n '/^## Dummy medium/,/^## Validation program/p' "${comspk_readme}" | sed '$d'
     45 
     46 printf '[![Dummy medium](thumbs/dummy_medium.jpg)](images/dummy_medium.jpg)\n'
     47 printf '\n'
     48 printf '> Illustration of the dummy medium provided in the Starter Pack.\n'
     49 printf '> This medium is illuminated by a laser sheet whose surface of\n'
     50 printf '> emission is here represented in red. \n'
     51 printf '\n'
     52 printf '[![Clipped Dummy medium](thumbs/dummy_medium_clipped.jpg)]'
     53 printf '(images/dummy_medium_clipped.jpg)\n'
     54 printf '\n'
     55 printf '> Dummy medium clipped along the y axis to emphasize\n'
     56 printf '> the axisymmetric profile of its soot volume fraction.\n'
     57 
     58   sed -n '/^## Validation program/,$p' "${comspk_readme}" \
     59 | sed "s/\${VERSION}/${comspk_version}/g"