Page 2 of 2

Re: Elmersolver crashes when Porous Media is activated

Posted: 31 Aug 2018, 20:13
by annier
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

Re: Elmersolver crashes when Porous Media is activated

Posted: 04 Sep 2018, 00:27
by kishpishar
Thanks very much for your effort, Anil. It should then work with my Elmer-8.3 on Ubuntu 16.04 LTS.

-kumar