TH error messaging

11 views
Skip to first unread message

Hammond, Glenn E

unread,
Sep 6, 2024, 1:16:03 PM9/6/24
to pflotran-dev (pflotran-dev@googlegroups.com)

Devs,

 

Issue 1:

The attached example is a TH run where THERMAL_CONDUCTIVITY_XXX are defined in MATERIAL_PROPERTY “rock” without the use of thermal characteristic curves in the input file. This should be possible. Those cards (and HEAT_CAPACITY) are intentionally left out of the other material properties to test error messaging. However, the printed error message is incorrect:

 

ERROR: Duplicate thermal characteristic curve <> has been detected.

 

Note that “<>” was added by me as this should be the name of the thermal characteristic curve (which is blank in the code).

 

“thermal characteristic curves” should not be discussed in the error message as in the eyes of the user, they are not employed. Their use is within PFLOTRAN and the user should not worry about them when using THERMAL_CONDUCTIVITY_XXX. This needs to be fixed.

 

Issue2:

If you comment out the HEAT_CAPACITY and THERMAL_CONDUCTIVITY_XXX cards in material “rock”, the code crashes because the array of thermal characteristic curves (underneath the hood in PFLOTRAN) is null.

 

Both of these are user errors, and code needs to be added to catch the errors and guide the user in fixing the issues.

 

Can someone at Sandia look into this as it all revolves around the refactor to incorporate “thermal characteristic curves”?

 

Thanks,

 

Glenn

th_input_errors.in

Leone, Rosie

unread,
Sep 6, 2024, 1:57:03 PM9/6/24
to pflotr...@googlegroups.com
Hi Glenn,

I can look into this and get it fixed.

Thanks,
Rosie

From: 'Hammond, Glenn E' via pflotran-dev <pflotr...@googlegroups.com>
Sent: Friday, September 6, 2024 11:15:55 AM
To: pflotran-dev (pflotr...@googlegroups.com) <pflotr...@googlegroups.com>
Subject: [EXTERNAL] [pflotran-dev: 6282] TH error messaging
 
--
You received this message because you are subscribed to the Google Groups "pflotran-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pflotran-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-dev/PH0PR09MB7836CCD9C5375A8EA7AD33619A9E2%40PH0PR09MB7836.namprd09.prod.outlook.com.

Hammond, Glenn E

unread,
Sep 6, 2024, 7:56:29 PM9/6/24
to pflotr...@googlegroups.com

Rosie,

 

Note that TH also lacks a check on whether ROCK_DENSITY has been defined. The simulation will run if not defined, but gives erroneous results. It actually grinds with the linear solver frequently diverging when run in parallel.

 

Glenn

 

From: 'Leone, Rosie' via pflotran-dev <pflotr...@googlegroups.com>
Sent: Friday, September 6, 2024 10:57 AM
To: pflotr...@googlegroups.com
Subject: Re: [EXTERNAL] [pflotran-dev: 6283] TH error messaging

 

Check twice before you click! This email originated from outside PNNL.

 

Salazar, Alex

unread,
Sep 9, 2024, 11:06:38 AM9/9/24
to pflotr...@googlegroups.com
Glenn,

  1. This issue is likely caused by including backwards-compatibility when TCCs were fully integrated.  I do remember using an automated labeling scheme in these cases.
  2.  I think some associated guards can probably do the trick.

Rosie, let me know if I can be of assistance.

-Alex

From: 'Hammond, Glenn E' via pflotran-dev <pflotr...@googlegroups.com>
Sent: Friday, September 6, 2024 5:56 PM
To: pflotr...@googlegroups.com <pflotr...@googlegroups.com>
Subject: RE: [EXTERNAL] [pflotran-dev: 6284] TH error messaging
 
Reply all
Reply to author
Forward
0 new messages