On 10/14/24 14:03, Yann Jobic wrote:

However, i don't know how to compute the residual ! It should be easy,
but i still haven't succeeded. If I extract the different submatrices of
the system matrix at the element level, i don't have the right type of
{U} to compute {P}:
{P} = -[Kpp]^{-1}*[Kpu]*{U}
The matrices are in FullMatrix format, and {u} is of type
std::vector<Tensor<1, dim>> if I'm using "get_function_values". Thus i
can't compute [Kpu]*{U}. I may have the nodal velocity values, but they
have to be ordered as [Kup], [Kpu], ...

Yann -- the term "residual" is used in different meanings in numerical analysis. Can you define precisely what it is you want to compute?

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/63ccbabc-1e66-4c7e-a6db-5be84de1bb8e%40colostate.edu.

Reply via email to