Hi Lex,

I think that this is more of a PDE question than a deal.II question
but I will try to answer.

At a fundamental level, if you impose nonzero boundary conditions or
have nonzero forcing on a component you force to equal zero you will
not be able to have a solution that makes sense: you will have to
modify those or you will have an inconsistent system of equations. I
don't think its possible to have a component that is zero without
changing the boundary conditions and forcing to match.

I think the best choice is to use the method of manufactured solutions
(with v_x = 0 and v_y = something nonzero) to obtain the correct
forcing terms and boundary conditions for that exact solution.

Does this work for you?

One alternative (that does involve modifying your governing equations,
boundary conditions, and geometry) is, if you have a linear problem,
to do a Fourier transform in the x direction so that you really will
have a 1D problem. Even though this doesn't fit your listed
constraints it can be a useful tool in some circumstances.

Best,
David

On Fri, Apr 24, 2020 at 8:22 PM Lex Lee <[email protected]> wrote:
>
> Hello Deal.II Users,
>
>
> I am using Deal.II to try to simplify/reduce my complex 2D problem to a 
> 1D-like problem, namely, let the component values at x-direction of all 
> vectors be zero. (for example, V=[v_x,  v_y]' = [0, v_y]') .
> Moreover,  given that the governing equations, boundary conditions and 
> geometry stay the same, operators like gradient or divergence applying on the 
> variables will not alter the values at x-direction during the process. I 
> tried, however, I have no idea how to make it in Deal.II.
>
> I hope you can kindly share your coding experience or give me some hints 
> regarding this problem. Thanks.
>
>
> Best,
> Lex
>
>
>
>
> --
> 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].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/cacdd8d7-a5f0-4a3b-89b6-f782b8a4cfd0%40googlegroups.com.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CABrTbYSGno8oSEpP1aY%3DJaMou%2B9R8gaMnnQpLAwAKhNs1gzaKg%40mail.gmail.com.

Reply via email to