| Author |
Topic  |
|
|
Luisa
Senior Member
  
USA
32 Posts |
Posted - 10/23/2008 : 18:27:25
|
Hi,
when I was trying to generate a 3D mesh I got the error message: "Internal error no. 62 during generation of 2D FE-mesh! Mesh on Surface no.1 is inconsistent."
How can I check where or what the error is and correct it? I have to admit that I am trying to build a rather large, irregularly shaped domain with 2 sublayers (small watershed) by importing a DEM.
Thanks, Luisa |
|
|
Mirek
Moderator
    
Czech Republic
194 Posts |
Posted - 10/23/2008 : 20:28:38
|
Hi Luisa,
This error can be caused for example by two boundary points with almost identical coordinates, i.e. they look like a single point but there actually are two different points. Their distance can be extremely small, which can cause problems during FE-mesh generation.
I suggest that you should:
1/ Check duplicity of your boundary points (if the number of points is not too large): Select each point by the rectangle and pres Alt + Enter to display the “Edit Points” dialog. Check that there is the only one number in the field “Point No.”, otherwise you have overlapping points.
2/ Download and install the latest version of HYDRUS (1.07) which contains several improvements and fixes of the FE-mesh generator http://www.pc-progress.cz/Fr_Hydrus3D_Downloads.htm
3/ If your problems continue, please, send me your project, I’ll look at it.
Regards Mirek |
Edited by - Mirek on 10/23/2008 20:31:18 |
 |
|
|
Luisa
Senior Member
  
USA
32 Posts |
Posted - 10/23/2008 : 20:58:46
|
Hi Mirek,
I am using version 1.07 and will try your first option although I do have a lot of boundary points. ;-) I will get back to you if I can't figure out the problem.
Thanks a lot! Luisa |
 |
|
|
Liesbeth
Junior Member

Belgium
1 Posts |
Posted - 02/08/2010 : 11:06:58
|
Hi,
I have some problems with the Fe-Mesh generation for my 2D-project (with a general domain definition). I always got the error message of internal error nr. 70 (the mesh on surface no. 1 fails to satisfy the model precision criterion…)
The project concerns a 2D-transect of +/- 1000 m length and a depth of 120 m. The upper surface layer follows the topography and contains a node every 5 m, exept at the side of the river, where we added nodes every meter over a distance of 100 m. This line (upper surface layer) is copied 10 times and placed at 0.1 m distance of each other in order to specify the root distribution precisely over a distance of 1m in the upper layer. We also specified some additional nodes (1 m distance) at the side boundary lines in the upper layer (over a distance of 5 m). For the rest, there are only nodes at the corners of the lower surface layer. At the river side, mesh refinement (S=0.1) was inserted at the boundary nodes and some extra nodes which are lying just near the boundary.
I tried already to change the mesh-parameters like the stretching factor, the smoothing factor,… but with no result. Lowering the epsilon value (which is not recommended) gave already better results, but I still get the error message. Also a simpler version of the project (without copies of the upper layer) could not help to solve the problem.
The strange thing is that similar projects were run a year ago by someone else without any problems. But if we remove the mesh in these ‘old’ projects and try to generate again a mesh, we got the same error message.
Any idea where the problem is situated?
Thanks in advance, Liesbeth
|
 |
|
|
Mirek
Moderator
    
Czech Republic
194 Posts |
Posted - 02/08/2010 : 11:15:53
|
Hi Liesbeth,
Please send me the project (mireks@pc-progress.cz), I'll look at it. Use WINZIP to pack it. What version of HYDRUS do you have, 1.10?
Regards Mirek |
 |
|
|
Mirek
Moderator
    
Czech Republic
194 Posts |
Posted - 02/09/2010 : 10:44:24
|
Hello Leisbeth,
The problem is that your domain is about 1km long and at the same time it contains some geometrical details with resolution about 1cm. This means that the ratio Dmin/Dmax = 1/100000, where Dmax = diameter of the whole domain and Dmin = diameter of the smallest finite element (= diameter of the inscribed circle). FE-mesh generation in HYDRUS is done in single precision, i.e. the maximum resolution ratio is 1/1000000. As you can see, your geometrical model is very close to this limit and this is also the reason why FE-mesh generation fails in your project. The attached figure explains the situation – the circle inscribed in the yellow triangle has diameter D = 1cm. Although this triangle is just temporary (i.e. it will be replaced by some less-flat triangles in the final mesh), it can cause problems in the FE-mesh generation process.
Solutions: 1/ Although it is not very easy to generate a FE-mesh for your domain, it is possible. I will send you the finished mesh and some comments and hints today.
2/ I have an idea how to extend the precision by 1 order, which should be sufficient for your project. If it works, we could prepare an update (version 1.11) within 1-2 weeks.
3/ The final solution of this problem will be in using double-precision for the FE-mesh generation calculations. This is planned in version 2.xx. Regards Mirek
 |
 |
|
|
MOD_LAB
Average Member
 
Tunisia
14 Posts |
Posted - 02/18/2010 : 11:23:26
|
Hi Mirek,
I was trying to continue with the old file (without translating the domain next to the origin). I used the "Repair geometry function" and I continue the steps of the tutorial 2.07. I have done successfully the construction of the solid. However, I have an error during the mesh generation ("Internal error no. 62 during generation of 2D FE-mesh! Mesh on Surface no.1 is inconsistent"). I read that it is due to extremely small distance between points. I want to know if this problem is related to the position of the domain (being far from the [0 0 0]). I am working with 1.10 version of Hydrus. What do you think Mirek??
Thanks in advance
Regards |
 |
|
|
Mirek
Moderator
    
Czech Republic
194 Posts |
Posted - 02/18/2010 : 11:56:18
|
Hi Maroua,
Just for the others: your question is actually regarding another topic in this forum – see http://www.pc-progress.cz/_forum/topic.asp?whichpage=-1&TOPIC_ID=1425
The problem with the FE-mesh: Your domain is defined in global coordinates (e.g. x=587012.594 m , y=397585.9776 m), which is not good. This can cause many problems, including the problem with the FE-mesh accuracy. You need to move your domain to the origin [0,0,0], which can be done by several ways. For example: 1/ Import your X,Y,Z coordinates to MS Excel 2/ Create two new columns for the transformed X,Y-coordinates 3/ Calculate X0,Y0 coordinates using a simple formula X0=X-587012, Y0=Y-397585 4/ Export columns with transformed coordinates to a text file 5/ Prepare the input file for HYDRUS (see HYDRUS help - Graphical User Interface -> Menu -> File -> Import and Export ->Import Geometry from a Text File, KEY_WORD: THICKNESS_ARR3Z_NLAYERS ). 6/ Import the coordinates in HYDRUS
If your domain is located at the origin, the FE-mesh should be generated without problems.
By the way: The precision of the FE-mesh generator has been improved and now we are able to generate the FE-mesh for Liesbeth’s projects. This improved generator will be available in version 1.11, which will be released officially next week.
Regards Mirek
|
 |
|
| |
Topic  |
|
|
|