Hello, I have a problem and I don't know how to solve it. I would highly appreciate it if anybody could help me!!
Error Message
b = Constant((0.0, rho*g, 0.0))
float returned non-float (type NotImplementedType)
Code
p = Point(0.0, 0.0, 0.0)
q = Point(2.0, 0.5, 1.0)
mesh = BoxMesh(p, q, 20, 10, 10)
rho = 1.0conditional(x[1] < 0.5q[1], 7850.0, 7140.0)
g = 9.81
b = Constant((0.0, -rho*g, 0.0))