Problem in importing surface points from a text file

A discussion forum for users of the new HYDRUS 2D/3D. HYDRUS is a software package for simulating water, heat and solute movement in two- and three-dimensional variably saturated media. Happy Posting!
Post Reply
Lili Yao
Posts: 10
Joined: Fri Sep 29, 2017 6:31 pm
Location: USA

Problem in importing surface points from a text file

Post by Lili Yao » Wed Jan 08, 2020 11:50 pm

Hi,

I want to create an aquifer in Hydrus 3D, but I got stuck into a very beginning step. I cannot import the 3D points successfully. I have the DEM file contains the coordinates (x,y,z) of the surface. I followed the method shown in a previous post: viewtopic.php?t=1425. And I use the text file from that poster as an example (shown in the following). But I cannot import this file successfully, and it says "Error when reading coordinates X,Y,Z at line 1." So I am quite confused why the file cannot be imported with a key word line.


OBJECT=THICKNESS_ARR3Z_NLAYERS
4.500000e+000 4.000000e+000 0.000000e+000 0.000000e+000 1.300000e+000
5.500000e+000 2.500000e+000 0.000000e+000 0.000000e+000 1.300000e+000
7.000000e+000 4.500000e+000 0.000000e+000 0.000000e+000 1.400000e+000
7.000000e+000 2.500000e+000 0.000000e+000 0.000000e+000 1.200000e+000
6.500000e+000 1.000000e+000 0.000000e+000 0.000000e+000 1.600000e+000
5.000000e+000 2.000000e+000 0.000000e+000 0.000000e+000 1.200000e+000
4.500000e+000 2.000000e+000 0.000000e+000 0.000000e+000 1.400000e+000
5.000000e+000 1.000000e+000 0.000000e+000 0.000000e+000 1.500000e+000
5.500000e+000 1.000000e+000 0.000000e+000 0.000000e+000 1.100000e+000
;

Thank you for helping me.

Mirek
Posts: 414
Joined: Sat Mar 16, 2002 4:00 pm
Location: Czech Republic
Contact:

Re: Problem in importing surface points from a text file

Post by Mirek » Thu Jan 09, 2020 8:07 am

What menu-command do you use to import this file? It should be imported using „Import Geometry from Text File...“. Command „Import Points from Text file....“ expects another format (only point coordinates xyz).

Lili Yao
Posts: 10
Joined: Fri Sep 29, 2017 6:31 pm
Location: USA

Re: Problem in importing surface points from a text file

Post by Lili Yao » Thu Jan 09, 2020 4:16 pm

Thank you for your reply, Mirek. I was using "insert" instead of "Import". Sorry for asking this stupid question.

Post Reply