I am trying to solve:
Needs["NDSolve`FEM`"];
reg = ImplicitRegion[x^2 + y^2 <= 1, {x, y}];
mesh = ToElementMesh[reg]
s = NDSolveValue[{Derivative[0, 2][f][x, y] +
Derivative[2, 0][f][x, y] == 0,
DirichletCondition[f[x, y] == Sin[x y], True]},
f, {x, y} \[Element] mesh];
Test Function
g[x_, y_] := Evaluate[s[x, y]];
g[0.1, 0.2]
out: 0.0193817
sol2 = NDSolveValue[{D[u[t, x, y], t] ==
D[u[t, x, y], x, x] + g[x, y].Grad[u[t, x, y], {x, y}],
u[0, x, y] == 0, DirichletCondition[u[t, x, y] == 0, True]},
u, {t, 0, 30}, {x, y} \[Element] reg]
getting error as: PDE parsing error of or Inconsistent equation dimensions, I am missing mathematica syntax, how to include interpolating solution into NDSolveValue?
I
as the name of the dependent variable is a bad idea, asI
isSqrt[-1]
$\endgroup$