In all the Libmesh examples, only scalar-field exact solutions are attached
to the ExactSolution by its member functions attach_exact_value() and
attach_exact_deriv(), for example, poisson problem and convection-diffusion
problem. I am curious how to attach the exact solution for a vector field
problem, such as elasticity and fluid flows? I noticed there are member
functions attach_exact_values() and attach_exact_derivs(), but their
arguments are std::vector<FunctionBase<Number> *>, which is a container for
multiple "system"s. If I only have one "system", but two variables:
system.add_variable ("u", SECOND);
system.add_variable ("v", SECOND);

then how can I attach their exact solutions? Thank you very much for your
answers.

Xujun
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to