Download ZEUS-3D USER MANUAL Version 3.6 (work in progress)
Transcript
85 Appendix B: The namelists 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 namelist / radcon / dtrad , dtheta , nphi , x3radmn , pindx , brnu2 , cpb , radmm , vlmin , incpy , shlower , malower , tupper , wupper , dmask , dmaskvv , dmaskms , bmaskse , bmaskm B.28 , , , , , , , , , , , , , , , , , , , nraddmp ntheta x1radmn x3radmx freq cnvlv radvar ncrad icut dlower vvlower mslower bupper mupper dmaske dmaskbr dmaskmf bmasksh bmaskma , , , , , , , , , , , , , , , , , , , units phimin x1radmx radbox brn0 bmajor nlrad eorb pcut plower brlower mflower shupper maupper dmaskse dmaskw bmask bmaskvv bmaskms , , , , , , , , , , , , , , , , , , , thetamin, phimax , x2radmn , rorhrad , brt0 , bminor , radmin , porf , pscale , tlower , wlower , dupper , vvupper , msupper , dmaskb , dmaskm , bmaskd , bmaskbr , bmaskmf thetamax dphi x2radmx radtype brnu1 bpa radmax bworb incpx blower mlower pupper brupper mfupper dmasksh dmaskma bmaske bmaskw PGEN—Problem GENerator (subroutine aliased to PROBLEM) This namelist is reserved for the problem generator, which sets the flow variables to the desired initial conditions. Thus the parameters which appear in this namelist depend on which problem is being studied. The desired problem is specified by setting the EDITOR alias PROBLEM in the file zeus36.mac to the name of the problem generating subroutine. This subroutine should initialise the active zones of all field variables as well as any inflow boundary arrays. The routines bndyflgs and bndyall are called after PROBLEM, and thus need not be called in the user’s problem generator (§5.1). Below is a description of the problem generator to shkset, which is used for the 1-D Brio and Wu problem and consistent with the sample of dzeus36.s given in §2.3. In general, the user will be writing their own problem generator and may, if they wish, call their namelist pgen as well. Note that it does not matter that more than one subroutine uses pgen as the name of its namelist, so long as only one problem generating subroutine is called in a run (as is typical). If the user wishes to use one of the problem generators already in dzeus36, each of their namelists are described in the comments of the problem generating routine in exactly the same format as that for shkset which follows. parameter idirect isetib isetob n0 d0 description default 1 => 1-direction ie biggest => 1 2 => 2-direction je biggest => 2 3 => 3-direction ke biggest => 3 =1 => set inner boundary conditions based on v(par) 1 =0 => inflow BC are already set by iib, etc. same as isetib for outer boundary 1 number of zones to be initialised. The namelist is nx1z repeatedly read from logical unit ioin until a total of ie-is+1 (or je-js+1, or ke-ks+1) zones are initialised. input density tiny