5. nov. 2022 kl. 12:32 skrev kenza bouznari <[email protected]>:


Thank you for pointing that out. You are right, I had to change it, but now I 
get a new error that says :
WARNING (ignored): Could not open file 'alugrid.cfg', using default values 0 < 
[balance] < 1.2, partitioning method 'ALUGRID_SpaceFillingCurve(9)'.


Hi,

that‘s not an error. It‘s a warning. And it says it‘s being ignored. There 
should be nothing wrong with this. You could open an issue in dune-alugrid for 
the alugrid developers that their „warning“ (just an info in my opinion) looks 
a bit aggressive.

Best
Timo


Best regards,
Kenza


Le ven. 4 nov. 2022 à 19:38, Timo Koch 
<[email protected]<mailto:[email protected]>> a écrit :
Hi Kenza,

the exception tells you exactly what’s wrong. You specified “parameters 1” so 
it expects one parameter per simplex.
But your simplices don’t have parameters associated. In the first line (as also 
in all following lines) of the simplex block there is just the four vertices 
and no fifth number afterwards (the expected parameter).

Best,
Timo


On 4 Nov 2022, at 21:38, kenza bouznari 
<[email protected]<mailto:[email protected]>> wrote:

Hi Timo,

Yes, I did and to make sure that the modifications in the source files are well 
done, I tested by using a simple 3D [Grid] in the input file, and it did work. 
So I believe that the problem is in the *.dgf file and how it's read by the 
code.

Best regards,
Kenza

Le ven. 4 nov. 2022 à 15:33, Timo Koch 
<[email protected]<mailto:[email protected]>> a écrit :
Hi Kenza,

did you change the AluGrid type in the Grid property from 2D to 3D? This is a 
compile time parameter.

Best,
Timo

4. nov. 2022 kl. 19:51 skrev kenza bouznari 
<[email protected]<mailto:[email protected]>>:


Dear DuMux users,

I have installed ALUGrid and successfully built DuMux and run 
test_2p2c_injection_box. I also made all the required modifications in source 
code files (problem.hh main.cc<http://main.cc> ....etc). The meshgrid in my 
simulations is read from an external *.dgf file. For my 2D simulations, all 
went quite well and now I want to switch to 3D simulations. I get the following 
error whenever I try to run the test:
  what():  DGFException 
[next:/home/bkenza/Dumux_3.4_AN/dumux/dune-grid/dune/grid/io/file/dgfparser/blocks/simplex.cc:134<http://simplex.cc:134>]:
 Error in block SIMPLEX (line 1): Wrong number of simplex parameters (got 0, 
expected 1)

P.S: I also attached an example of the *.dgf file I am using.

I need your help to figure out what I am doing wrong or what's the problem with 
the first line of the *.dgf file simplex block, and how can I potentially fix 
it?

Thank you in advance,
Kenza
_______________________________________________
DuMux mailing list
[email protected]<mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to