Got it, thank you for your help! I will go with the last suggestion using
face_system_to_component_index() function and taking the inverse mapping. I
didn't think about that, forgive me, I am quite new to dealii library.
Thank you again!
Il giorno venerdì 3 gennaio 2025 alle 17:44:54 UTC+1 Wolfga
On 12/19/24 11:52, Sclah wrote:
Thank you for your help.Yes, I am using the same finite element for the two
variables.
I just checked and face_component_to_system_index() doesn't seem to exist
inside the library, will component_to_system_index() work just fine?
Ah, that's a bummer. When you ca
Thank you for your help.Yes, I am using the same finite element for the
two variables.
I just checked and face_component_to_system_index() doesn't seem to exist
inside the library, will component_to_system_index() work just fine?
Il giorno giovedì 19 dicembre 2024 alle 03:00:12 UTC+1 Wolfgang B
On 12/18/24 16:00, Sclah wrote:
for (unsigned int i = 0; i < local_face_dof_indices_fluid.size(); ++i)
{
if (fe_fluid->face_system_to_component_index(i).first < dim) // select just
fluid velocity (the solution is stored as (fluid_velocity + fluid_pressure +
solid_displacement) with (dim + 1 +
I need them just on the faces that separate the materials (fluid and
solid). The piece of code is the following, on an interface cell face I
have:
cell->face(face_number)->get_dof_indices(local_face_dof_indices_fluid,
fluid_fe_index); // select the fluid dofs sets from hp-dofs
cell->face(face_
I need them just on the faces that separate the materials (fluid and
solid), the get_dof_indices. The piece of code is the following, on an
interface cell I have:
cell->face(face_number)->get_dof_indices(local_face_dof_indices_fluid,
fluid_fe_index); // select the fluid dofs sets from hp-dofs
c
On 12/16/24 16:12, Sclah wrote:
I am using step-46 as starting point to implement a time dependent fsi problem
using block vectors and block matrices.
I successfully written the time iteration and changed everything to block
structures but I am struggling to find a method to impose the fluid v
Hello everyone,
I am using step-46 as starting point to implement a time dependent fsi
problem using block vectors and block matrices.
I successfully written the time iteration and changed everything to block
structures but I am struggling to find a method to impose the fluid
velocity equal to