Working with NDSolve trying to define a boundary condition that is a function of time.
I did this using a piecewise definition in a DirichletCondition statement. But when I run NDSolve it says the statement can not be parsed and is ignored.
Is it possible to define a boundary as a function of time using the DirechletCondition statement?
I attached a short notebook that provides some code.