Hello Christopher,
sorry for being unclear. A rough explanation of my problem is that my bilinear form is a convection operator and I was having trouble implementing the vector that acts as the wind.
Code:
wind = ???
a = SymbolicBFI( InnerProduct( grad(u) * wind, v ) )
This is because each component of the wind arises through integration of a function (that we will call phi), i.e.
Code:
wind_i(x,y,z) = \int_0^z \phi_i (x,y,\tilde{z}) d\tilde{z}, i = 1,...,3
The expression for the wind is actually more complicated, but my question is about evaluating this type of integral: Is there a nicer way to evaluate this integral using NGSolve than by writing a numerical integration scheme myself?
Thanks,
Josie