Closed bravegr closed 2 years ago
Hello,
to 1.: Dispersion/Diffusion and Advection/Convection is solved by a very basic Finite Volume formulation tested for 2D meshes, 3D might work or not, but is untested. Note, there is a high numerical dispersion which can affect your results if you want to calculate with small diffusion coefficents. Higher Order Finite Element Solution for these problem classes are on TODO but we can not predict when they come.
to 2.: The Warning just says that the scipy sparse solver will be a little faster or use less memory if the internal matrix format would be in CSC instead of the used CSR. The results are okay so the warning can be ignored. A fix for this warning is already on TODO.
Hello, I found after a few days of research about above case that the permeability coefficient kMap takes a value of 1e-4 even smaller,the area's flow line disappears,the final concentration diffusion is also not obvious.I would like to ask for advice, is this what you said in 1:there is a high numerical dispersion which can affect my results if I want to calculate with small diffusion coefficents?
In reality, the permeability coefficient of soil and groundwater is generally [1e-4,1e-7] m/s, so that they cannot be calculated using the finite element + finite volume method described above case? Do you have any good advice? I would be grateful if you could reply to me.
We should rather use the term hydraulic conductivity (in m/s) as permeability is in m^2.
What do you mean with
the area's flow line disappears
Is it just a visualization problem? As far as I remember, it should work well (if an according discretization is used) for much smaller values.
At any rate, it would be interesting to find the limits of the solver and how numerical dispersion depends on the mesh.
OK.Thank you very much, I will continue to work hard.
When the "flow lines disappears", then probably the "dropTol" keyword argument act as "Don't draw stream lines with velocity lower than drop tolerance."
Okay, thank you very much for your answer, I probably understand.
I am closing this, since it seems all questions have been answered.
Problem description
Thank you very much for reading my question, I am a student studying convective dispersion and solute transport motion of contaminants in soil and groundwater. I want to use PyGIMLI to do finite element calculations of convective dispersion equations and solute transport equations in soil and groundwater module, only forward, and calculate the concentration of contaminants in soil and groundwater without inversion. So I found the case: plot_hydrogeophysical_modeling.py. I downloaded it and ran it with pycharm, and it prompted SparseEfficiencyWarning: splu requires CSC matrix format warn('splu requires CSC matrix format', SparseEfficiencyWarning) I would like to ask you two questions: plot_hydrogeophysical_modeling (1).zip
Translated with www.DeepL.com/Translator (free version)
Your environment
Operating system: Windows, Python version: 3.8 pyGIMLi version:1.2.4 Way of installation: Conda package
Steps to reproduce
Tell us how to reproduce this issue. Ideally, you could paste the code that produces the error: C:\Users\zly_w\AppData\Roaming\Python\Python38\site-packages\scipy\sparse\linalg\dsolve\linsolve.py:318: SparseEfficiencyWarning: splu requires CSC matrix format warn('splu requires CSC matrix format', SparseEfficiencyWarning)
Paste output here.