Hello,
I am new to NGSolve, I am trying to write the bilinear form and the linear form for the Stokes problem, but I get an error as follows
.
f = LinearForm(X)
f +=InnerProduct(rhs,v)dx #Use the code to calc the righthandside
f +=InnerProduct(U_ex,v)ita/hds(skeleton=True)
f +=InnerProduct(grad(v)n,U_ex)
f.Assemble()
—> 33 f +=InnerProductb[/b][b][/b]dx #Use the code to calc the righthandside 34 f +=InnerProductb[/b][b][/b]ita/h*dsb[/b] 35 f +=InnerProductb[/b]
NgException: In MakeLinearFormIntegrator: must not have TrialFunction
v is a test function not a trial function
Any help would be really appreciated
Thank you