Dear all,

I am trying to solve the NS equation using project methods, and follow the 
idea of Step-35 to treat velocity and pressure separately,

but when I am not sure how to implement the correction of the velocity 
"u_n_plus_1 = u_star - dt * dp",

where "u_star" and  "dp" are from the diffusion step and the projection 
step respectively, 

since velocity and pressure belong to different finite element spaces. 

I tried "get_function_gradients", but end up with 
The violated condition was: 
    static_cast<const FiniteElementData<dim>&>(*this->fe) == 
static_cast<const FiniteElementData<dim>&>(cell->get_fe())

Thanks in advance.


Best,
Jiaqi

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to