Groundwater Module - Neumann Boundary Condition Issue
Posted: Thu Jun 05, 2025 3:01 pm
Hi all,
I'm using CS v8.0.4.
I have set up a horizontal column to simulate the groundwater flow within it. No gravity, wall boundary condition on the sides, Dirichlet BC on both ends. Hydraulic heads on boundaries and the domain are set in a way to visualise the flow. (Setup0.xml)
Changing the boundary on one end to Neumann type with 0 flux. (Setup1.xml)
However, proceeding from this, changing the flux from 0 to any value raises this error. (Setup2.xml)
I have tried different values, either positive or negative, from the smallest to the larger values. I have even checked the mass flux (if it means water flux on the boundaries) from previous examples, trying to get a better grasp of the flux value, yet none of these worked.
I was wondering if there is something I am missing, knowing this might be a physical inconsistency rather.
Or if anyone knows of any other way I could apply Neumann BC for the groundwater module.
Best,
Farshid
I'm using CS v8.0.4.
I have set up a horizontal column to simulate the groundwater flow within it. No gravity, wall boundary condition on the sides, Dirichlet BC on both ends. Hydraulic heads on boundaries and the domain are set in a way to visualise the flow. (Setup0.xml)
Changing the boundary on one end to Neumann type with 0 flux. (Setup1.xml)
However, proceeding from this, changing the flux from 0 to any value raises this error. (Setup2.xml)
Code: Select all
/home/qwe/code_saturne/src/alge/cs_multigrid.c:4711: Fatal error.
algebraic multigrid [Hydraulic head]: divergence after 1 cycles:
initial residual: inf; current residual: inf
Call stack:
1: 0x7e4969fb9b0b <cs_multigrid_error_post_and_abort+0x11b> (libsaturne-8.0.so)
2: 0x7e4969fcb9fe <cs_sles_solve+0x2de> (libsaturne-8.0.so)
3: 0x7e4969fccd95 <cs_sles_solve_native+0x4b5> (libsaturne-8.0.so)
4: 0x7e496a33fdf1 <__cs_c_bindings_MOD_sles_solve_native+0x133> (libsaturne-8.0.so)
5: 0x7e496a2696b5 <richards_+0x33d8> (libsaturne-8.0.so)
6: 0x7e4969c9b260 <tridim_+0x2be3> (libsaturne-8.0.so)
7: 0x7e4969ac92b3 <caltri_+0x17c0> (libsaturne-8.0.so)
8: 0x7e496aaded88 <main+0x788> (libcs_solver-8.0.so)
9: 0x7e4969832083 <__libc_start_main+0xf3> (libc.so.6)
10: 0x5ff0f9f4508e <_start+0x2e> (cs_solver)
End of stack
I have tried different values, either positive or negative, from the smallest to the larger values. I have even checked the mass flux (if it means water flux on the boundaries) from previous examples, trying to get a better grasp of the flux value, yet none of these worked.
I was wondering if there is something I am missing, knowing this might be a physical inconsistency rather.
Or if anyone knows of any other way I could apply Neumann BC for the groundwater module.
Best,
Farshid