Elmersolver crashes when Porous Media is activated

Numerical methods and mathematical models of Elmer
annier
Posts: 1102
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Elmersolver crashes when Porous Media is activated

Post by annier » 31 Aug 2018, 20:13

Hi Kumar,
The problem persists with the latest LTS version of Ubuntu.

However, the fault disappeared when I used the following codes in accordance to Elmer Models Manual

Code: Select all

...
Porous Media = Logical True
Porous Resistance = Real 1.02345 
...
But looking at the source code of FlowSolve.F90 - lines 825-847, there is no keyword Porous Resistance and thus it can be concluded that this will yield Pwrk as null matrix , and effectively drag = 0 (that is no calculation of the effects of porous resistivity). So, either Porous Resistivity should be entered as real array Porous Resistivity (i,j) or Porous Resistivity i, i=1,2,3 must be entered as real number in the solver input file. This again renders the same question which you put at the beginning. This can just be a notification to Elmer Team to edit the list of keywords in Elmer Models Manual.

Yours Sincerely,
Anil Kunwar

kishpishar
Posts: 31
Joined: 17 Jun 2015, 10:04
Antispam: Yes

Re: Elmersolver crashes when Porous Media is activated

Post by kishpishar » 04 Sep 2018, 00:27

Thanks very much for your effort, Anil. It should then work with my Elmer-8.3 on Ubuntu 16.04 LTS.

-kumar

Post Reply