41 |
import pylab as pl #Plotting package. |
import pylab as pl #Plotting package. |
42 |
import numpy as np #Array package. |
import numpy as np #Array package. |
43 |
import os #This package is necessary to handle saving our data. |
import os #This package is necessary to handle saving our data. |
44 |
|
import cblib |
45 |
|
|
46 |
|
|
47 |
#################################################ESTABLISHING VARIABLES |
#################################################ESTABLISHING VARIABLES |
48 |
#Domain related. |
#Domain related. |
69 |
i=0 #loop counter |
i=0 #loop counter |
70 |
#the folder to put our outputs in, leave blank "" for script path |
#the folder to put our outputs in, leave blank "" for script path |
71 |
save_path="data/onedheatdiff001" |
save_path="data/onedheatdiff001" |
72 |
########## note this folder path must exist to work ################### |
|
73 |
|
#ensure the dir exists |
74 |
|
cblib.needdirs([save_path, os.path.join(save_path,"tempT"), os.path.join(save_path, "totT")]) |
75 |
|
|
76 |
################################################ESTABLISHING PARAMETERS |
################################################ESTABLISHING PARAMETERS |
77 |
#generate domain using rectangle |
#generate domain using rectangle |