[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [deal.II] Different equations on the same domain


Wolfgang Bangerth (bangerth at math.tamu.edu)
Tue Feb 14 15:58:58 GMT 2012



I follow your suggestion, and may go that route, but I was wondering if
it would be possible to define two active indices on a cell.

No. The active fe index is the unique index of the element of the FECollection that is active on a given cell. It can only be one.


Ideally, I
would prefer the fluid and mesh motion to have separate FESystems.

That is a separate issue. It would be valid to construct your combined FE in the following way (for the fluid, for example):
  FESystem flow_variables (FE_Q(2), dim, // velocities
                           FE_Q(1), 1);  // pressure
  FESystem motion (FE_Q(1), dim);
  FE_Nothing displacements (dim);

  FESystem fe_for_flow_domain (displacement, 1,
                               flow_variables, 1,
                               motion, 1);

In other words, there is nothing wrong with having an FESystem of FESystems.

Best
 W.

------------------------------------------------------------------------
Wolfgang Bangerth               email:            bangerth@xxxxxxxxxxxxx
                                www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii



The deal.II mailing list