On 2/16/23 04:55, Greg Wang wrote:
I'm trying to use a space-time HDG method to solve time-dependent problems
with deforming domains. Specifically, we want the solution process to adopt a
slab-by-slab approach. Please see the picture attached.
As shown in blue dots and arrows, we want the solution on the top boundary of
the n^{th} space-time slab to contribute to boundary conditions of the
(n+1)^{th} space-time slab. I'm wondering how to go about doing this in dealii.
The closest thing I found is the get_function_values function whereby a finite
element function is evaluated at face quadrature points. My reference is the
static condensation routine in step-51. The specific line reads:
fe_face_values.get_function_values(solution, trace_values);
The problem I have with this is that the FEFaceValues object needs to be on
the same page with the solution vector in terms of the global DoF indices
whereas for my case, it doesn't seem quite possible without getting hacky
since I have two different triangulations.
Greg,
do the two meshes (at the end of the previous slab and at the start of the
next slab) match? If so, what
fe_face_values.get_function_values (...)
gives you is the solution values at the quadrature points that the
FEFaceValues object was initialized at. The order of DoFs in the solution
vector does not matter -- the solution vector just has to match the DoFHandler
the FEFaceValues object was initialized at.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/e85886ae-5a30-ea9b-bcdc-7afb615fafa9%40colostate.edu.