Why p elements are applied to ALL solvers?

Discussion about coding and new developments
Post Reply
gagliar
Posts: 79
Joined: 04 Sep 2009, 16:34
Location: LGGE - Grenoble
Contact:

Why p elements are applied to ALL solvers?

Post by gagliar »

Hello,

If using p-element in one solver, by setting

Code: Select all

Element = "p:1 b:4"
it appears that all the other solvers are also integrating using p-elements, i.e. for 706 elements we get
CurrentElement % pdefs % gausspoints is equal to 343
CurrentElement % bdofs is equal to 4
whereas for 'normal' 706 element it should be
CurrentElement % pdefs % gausspoints is equal to 8
CurrentElement % bdofs is equal to 0

The result is that all these solvers become very slow...
Is this behaviour normal or is there a bug here?

Thanks
Olivier
Takala
Posts: 186
Joined: 23 Aug 2009, 23:59

Re: Why p elements are applied to ALL solvers?

Post by Takala »

Hi,

have you tried to change the element in the other solver sections:

Code: Select all

Solver 1
...
  Element = "p:1 b:4"
...
End

Solver 2
...
  Element = "n:1"
...
End

etc...
I am trying to understand a little bit similar problem my self:
I intend to create a new element viewtopic.php?f=15&t=3081 and now I wonder if it is possible to choose different elements for different bodies within a single solver. Is it?

In my case, I would have a part of the model where I need an element for a homogenization technique and a part where I definitely do not want it.

Cheers,

Eelis
Post Reply