<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sara,<br>
I am not sure if anyone replied to you. A MATH DOMAIN error is a
generic Fortran error that is generated if you try to perform some
illegal operation like taking the log or the square root of a negative
number. In your case, I would guess that it is because the argument to
a square root function is less than zero. I would recommend that you
set up your Type in debugging mode, run your simulation, and step line
by line through the code using the debugger so that you can determine
why the square root argument is negative.<br>
Kind regards,<br>
David<br>
<br>
<br>
sara shaban wrote:
<blockquote cite="mid:345107.88173.qm@web38801.mail.mud.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div
style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><br>
<br>
<div
style="font-size: 12pt; font-family: times new roman,new york,times,serif;">-----
Forwarded Message ----<br>
From: sara shaban <a class="moz-txt-link-rfc2396E" href="mailto:malquasar@yahoo.com"><malquasar@yahoo.com></a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:trnsys-users@engr.wisc.edu">trnsys-users@engr.wisc.edu</a><br>
Sent: Saturday, June 14, 2008 12:25:43 PM<br>
Subject: error in my fortran code<br>
<br>
<div
style="font-size: 12pt; font-family: times new roman,new york,times,serif;">
<div>Hi</div>
<div>when I was running my code in fortran I encountered tis error</div>
<div>run-time error M6201: MATH<br>
-sqrt: DOMAIN ERROR<br>
<br>
I know where it is but I dont what to do..</div>
<div>please help me.</div>
</div>
<br>
</div>
</div>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@engr.wisc.edu">TRNSYS-users@engr.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***********************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 2916 Marketplace Drive - Suite 104
Partner Madison, WI 53719
USA
P: +1.608.274.2577
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a>
Web Pages: <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a> and <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>
***********************************************************************</pre>
</body>
</html>