AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

Makefile  combl.f  cuser.i  fdisc.f  init2.f  physbd2.f  rpn2eu.f  rpt2eu.f  chk2eu.f  Problem.h  amr_main.C 

applications/euler/2d/Ramp/src/combl.f

c     =====================================================
      subroutine combl()
c     =====================================================
c     
c     Create and initialize application specific common-blocks.
c
      implicit double precision (a-h,o-z)
c
      include  "cuser.i"
      character *16 cwork
      parameter( lmechout = 13 )

      Wref    = 10.d6
      a2ref   = 10.d3
c     Air
      gamma  = 1.4d0  
      gamma1 = 0.4d0
      Wk   = 29.08d0*10.d-3/Wref
      cwork= 'AIR'
      RU = 0.83140000E+01/(Wref*a2ref)
      PA = 0.10132500E+06/a2ref
c
      open(unit=lmechout, status='unknown', form='formatted', 
     &     file='chem.dat')
      write (lmechout,400) RU
      write (lmechout,401) PA
      write (lmechout,402) gamma
      write (lmechout,403) cwork     
      write (lmechout,404) Wk        
      close (lmechout)
c
 400  format('RU       ',e16.8)
 401  format('PA       ',e16.8)
 402  format('Gamma    ',e16.8)
 403  format('Sp       ',a16)
 404  format('W        ',e16.8)
c
      pi   = 4.d0*atan(1.d0)
      disp = .1d0 

      alf  = cos(pi/6.d0)
      beta = -sin(pi/6.d0)
      idisc = 10
      x0    = disp
      y0    = 0.d0

      rhoamb = 1.4d0
      uamb   = 0.d0
      vamb   = 0.d0
      pamb   = 1.d0
      eamb   = pamb/(gamma1*rhoamb)

      rhoshk = 5.7143 * rhoamb
      ushk   =  8.25d0*cos(pi/6.d0)
      vshk   = -8.25d0*sin(pi/6.d0)
      pshk   =  116.5d0 * pamb
      eshk   =  pshk/(gamma1*rhoshk)
c
      return
      end


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04