NDEigensystem::fembdcc
NDEigenvalues::fembdcc
NDSolve::fembdcc
NDSolveValue::fembdcc
ParametricNDSolve::fembdcc
ParametricNDSolveValue::fembdcc
InitializeBoundaryConditions::fembdcc
Dirichlet conditions in systems of equations cannot depend on more than one dependent variable:
NDSolve[{Laplacian[u[x], {x}] == v[x], Laplacian[v[x], {x}] == 1, DirichletCondition[u[x] == v[x], x == 1], DirichletCondition[v[x] == 0, x == 1]}, {u, v}, {x, 0, 1}]If possible, remove the dependency of the Dirichlet conditions. Note that the first DirichletCondition now only depends on
and no longer on
:
NDSolve[{Laplacian[u[x], {x}] == v[x], Laplacian[v[x], {x}] == 1, DirichletCondition[u[x] == 0, x == 1], DirichletCondition[v[x] == 0, x == 1]}, {u, v}, {x, 0, 1}]