File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #!/usr/bin/env python2
2+ # -*- coding: utf-8 -*-
3+ """
4+ Created on Thu Feb 21 15:48:57 2019
5+
6+ @author: hluo
7+ """
8+
9+ import sys
10+
11+ def chapter2 ():
12+ caseList = [
13+ "pipe_c" ,
14+ "pipe_r" ,
15+ "T_c" ,
16+ "T_r"
17+ ]
18+
19+ whereis = {
20+ "pipe_c" : "newton:/store/lmfa/fct/hluo/LocalSoftware/OpenFOAM/hluo-2.3.x/run/pipes/periodic/pipe4/Newtonian/prototype_artificiallyReducedViscosity" ,
21+ "pipe_r1" : "newton:/store/lmfa/fct/hluo/occigen/caseByGeometry/pipes/shape_square/pw/2a_1/Newtonian/CASE_mapFields_From2b/gradP0_1p0125/system/sampleDicts/sets/lineOn2Diagonals" ,
22+ "pipe_r2" : "newton:/store/lmfa/fct/hluo/occigen/caseByGeometry/pipes/shape_square/pw/2a_1/Newtonian/CASE_mapFields_From2b/gradP0_0p703125/system/sampleDicts/sets/lineOn2Diagonals" ,
23+ "T_c/1d_lR2" : "newton:/store/lmfa/fct/hluo/zaurak/caseByMachine/occigen/T/passiveScalar/Newtonian/mapped/flowRate/min/1d_lR2" , #beforeAugust/afterAugust
24+ "T_c/1j" : "newton:/store/lmfa/fct/hluo/occigen/caseByGeometry/T/BirdCarreau/synthetic/flowRate/medium/fluctuation_off/1j" ,
25+ "T_r" : "newton:/store/lmfa/fct/hluo/occigen/caseByGeometry/T/shape_square/2a_3_T"
26+ }
27+
28+ datasize = {
29+ "pipe_c" : "203G" ,
30+ "pipe_r1" : "171G" ,
31+ "pipe_r1" : " 24G"
32+ }
33+
34+ case = sys .argv [1 ]
35+ print whereis [case ]
36+
37+ chapter2 ()
You can’t perform that action at this time.
0 commit comments