Module Geometry ERR20

MOHID Water forum. Questions and discussion around MOHID Water
janeiro.jm@gmail.com
MOHID Beginner
Posts: 10
Joined: Thu Jan 01, 1970 00:00

Module Geometry ERR20

Postby janeiro.jm@gmail.com » Tue Jun 01, 2010 11:06

Hi all,

Can someone please check the following geometry file and help me find the error. I keep having Module Geometry ERR20 and I can't find the error on the file.

<begindomain>
ID : 1
TYPE : CARTESIAN
LAYERS : 17
DOMAINDEPTH : 0
MININITIALLAYERTHICKNESS : 0.05

<<beginlayers>>
0.5296000000
0.7566000000
1.0808000000
1.5440000000
2.2057000000
3.1510000000
4.5015000000
6.4307000000
9.1867000000
13.1239000000
18.7484000000
26.7835000000
38.2621000000
54.6602000000
78.0860000000
111.5514000000
160.5949000000
<<endlayers>>
<enddomain>

Thanks in advance

Cheers

Joao

luis_at_mohid.com
MOHID Developer
Posts: 553
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Técnico - Technical University of Lisbon
Contact:

Postby luis_at_mohid.com » Tue Jun 08, 2010 08:44

Hi Joao,

There are a lot of ERR20 in ModuleGeometry. Can you post the exact error message please? The message normally consists of:

subroutine - module - error number

thanks and cheers,
Luis

janeiro.jm@gmail.com
MOHID Beginner
Posts: 10
Joined: Thu Jan 01, 1970 00:00

Postby janeiro.jm@gmail.com » Tue Jun 15, 2010 12:12

Hi Luís,

Thanks for your answer, and sorry for the late reply.
I manage to solve the problem. The error was in:

if (DomainDif > real(Sum)) then
write(*,*)'Layers incorrectly defined - Domain number ',CurrentDomain%ID
stop 'ComputeLayers - Geometry - ERR20.'

endif

It seems that if DomainDif = real(Sum) the error keeps coming...
I've increased a little bit my layers, and the error was gone.
By the way, one more question what is the role of the MININITIALLAYERTHICKNESS in the definition of the layers?

Cheers

João

luis_at_mohid.com
MOHID Developer
Posts: 553
Joined: Thu Jan 01, 1970 00:00
Location: Instituto Superior Técnico - Technical University of Lisbon
Contact:

Postby luis_at_mohid.com » Tue Jun 29, 2010 12:25

Hi João,

MININITIALLAYERTHICKNESS controls the minimum relative thickness of a cartesian layer relative to the defined thickness.

Cheers,
Luis


Return to “MOHID Water”

Who is online

Users browsing this forum: No registered users and 1 guest