superVisc/hypervisc.py
def updateBoundaryCond(presDomain,tempDomain,uVelDomain,vVelDomain):
	"""
	Inflow and top BC's do not change
	Wall u, v and T do not change but pressure does
	Outflow all values float
	"""
	# Wall 
	presDomain[1:,0] = 2*presDomain[1:,1] - presDomain[1:,2]
	# Outflow
	presDomain[-1,1:-1] = 2*presDomain[-2,1:-1] - presDomain[-3,1:-1]
	tempDomain[-1,1:-1] = 2*tempDomain[-2,1:-1] - tempDomain[-3,1:-1]
	uVelDomain[-1,1:-1] = 2*uVelDomain[-2,1:-1] - uVelDomain[-3,1:-1]
	vVelDomain[-1,1:-1] = 2*vVelDomain[-2,1:-1] - vVelDomain[-3,1:-1]
	return presDomain,tempDomain,uVelDomain,vVelDomain

	Inflow and top BC's do not change
	Wall u, v and T do not change but pressure does
	Outflow all values float
	
Inflow and top BC's do not change
Wall u, v and T do not change but pressure does
Outflow all values float
Inflow and top BC ' s do not change Wall u v and T do not change but pressure does Outflow all values float
def updateBoundaryCond(presDomain,tempDomain,uVelDomain,vVelDomain):
	presDomain[1:,0] = 2*presDomain[1:,1] - presDomain[1:,2]
	presDomain[-1,1:-1] = 2*presDomain[-2,1:-1] - presDomain[-3,1:-1]
	tempDomain[-1,1:-1] = 2*tempDomain[-2,1:-1] - tempDomain[-3,1:-1]
	uVelDomain[-1,1:-1] = 2*uVelDomain[-2,1:-1] - uVelDomain[-3,1:-1]
	vVelDomain[-1,1:-1] = 2*vVelDomain[-2,1:-1] - vVelDomain[-3,1:-1]
	return presDomain,tempDomain,uVelDomain,vVelDomain
def updateBoundaryCond ( presDomain , tempDomain , uVelDomain , vVelDomain ) : presDomain [ 1 : , 0 ] = 2 * presDomain [ 1 : , 1 ] - presDomain [ 1 : , 2 ] presDomain [ - 1 , 1 : - 1 ] = 2 * presDomain [ - 2 , 1 : - 1 ] - presDomain [ - 3 , 1 : - 1 ] tempDomain [ - 1 , 1 : - 1 ] = 2 * tempDomain [ - 2 , 1 : - 1 ] - tempDomain [ - 3 , 1 : - 1 ] uVelDomain [ - 1 , 1 : - 1 ] = 2 * uVelDomain [ - 2 , 1 : - 1 ] - uVelDomain [ - 3 , 1 : - 1 ] vVelDomain [ - 1 , 1 : - 1 ] = 2 * vVelDomain [ - 2 , 1 : - 1 ] - vVelDomain [ - 3 , 1 : - 1 ] return presDomain , tempDomain , uVelDomain , vVelDomain
Inflow and top BC's do not change
Wall u, v and T do not change but pressure does
Outflow all values float
Inflow and top BC ' s do not change Wall u v and T do not change but pressure does Outflow all values float
"""
	Inflow and top BC's do not change
	Wall u, v and T do not change but pressure does
	Outflow all values float
	""" # Wall  # Outflow
presDomain
tempDomain
uVelDomain
vVelDomain