[esp-r] Re: implementing different PCM models

rida at rhrk.uni-kl.de rida at rhrk.uni-kl.de
Fri Aug 2 09:16:50 BST 2019


Hi Juanita,

 

As Achim Clarified, in order to use different PCM model you need different inputs. for example type 55 needs 11 inputs value and should be arranged as below:

 

Tmelt, Tsolid,  Conductivity in solid, Conductivity in liquid, Specific heat capacity in solid, Specific heat capacity in liquid, a, b, c, d, e

 

For this type you need the DSC data. In order to get the coefficients a, b, c, d, e, you have to fit in the latent part from your data to the following equation:

Y=(a+cX+eX^2)/(1+bX+dX^2)                 

Y is latent heat and X is temperature latent heat goes from 0% to 100% between Tmelt and Tsolid.

 

It is simple to extend the .spm file in your model as Achim described.

1.	Change the type from 53 to 55
2.	Increase the number of data items to 11
3.	Include the 11 data as mentioned above under #data.

I would also recommend the exemplar cellular_PCM! It was my first direction when I recently used the PCM model.

 

Regards,

Mohamad

 

 

From: esp-r-bounces at lists.strath.ac.uk <esp-r-bounces at lists.strath.ac.uk> On Behalf Of Juanita Solano Guzmán
Sent: 01 August 2019 16:17
To: Achim Geissler <achim.geissler at intergga.ch>
Cc: ESP-r List <esp-r at lists.strath.ac.uk>
Subject: [esp-r] Re: implementing different PCM models

 

Hi Achim,

 

thank your for your reply. I think my .miscdb file is a copy of mscomp.db1. 

You mean adding an entry by copying and pasting the code corresponding to the models I want into either mscomp.db1 or .db2? 

 

Best regards,

Juanita 

 

 

Am Do., 1. Aug. 2019 um 15:54 Uhr schrieb Achim Geissler <achim.geissler at intergga.ch <mailto:achim.geissler at intergga.ch> >:

Hi Juanita,

 

your .miscdb file is a model specific db and a copy of mscomp.db2? Anyway, what you write sounds correct. The “official” data bases only have an example entry for type 53. You would need to add an entry for other types or simply extend the .spm file used in the model with the correct sequence of data necessary (see below for examples using 53, 55 and 56). Also, maybe take a look at the cellular_PCM exemplar.

 

Best

Achim 

 

===

PCM_t53_fr       # label

# Zone Surf Node Type Opq/Trn

   1   5   4  53   1

# No. of data items.

   7

# Data:

  2.3000E+01  2.0000E+01  0.5000E+00  0.6000E+00  0.2500E+04  0.0000E+00  2.3000E+04

# Node No:  2

PCM_t55_bl       # label

# Zone Surf Node Type Opq/Trn

   1   9   4  55   1

# No. of data items.

  11

# Data:

  0.1800E+02  0.2810E+02  0.4000E+00  0.8000E+00  0.1000E+04  0.5000E+04  -9.467E+01  -7.029E-02  7.117E+00  1.238E-03

 -1.032E-01

# Node No:  3

PCM_t56_br       # label

# Zone Surf Node Type Opq/Trn

   1   8   4  56   1

# No. of data items.

  21

# Data:

  0.1750E+02  0.2250E+02  0.1000E+01  0.2000E+00  0.2000E+00  0.1354E+04  0.1317E+04  0.2514E+05  1.0000E+00 -6.973E-01  

 -9.0519E-02 8.4889E-02 2.0499E-03 -2.342E-03 -3.4758E-01 -9.9162E-01 -9.6004E-02 1.0735E-01 2.3089E-03 -2.8074E-03  

 -1.2793E-02

 





On 1 Aug 2019, at 15:24, Juanita Solano Guzmán <juanita.solano94 at gmail.com <mailto:juanita.solano94 at gmail.com> > wrote:

 

Hello to All, 

 

I have been looking at the different PCM models available for ESP-r and have used number 53, which is already available in the program. In order to integrate a new one (I'm interested in testing 54, 56 and 57) would I have to copy one of the codes into the .miscdb data base? or how could I correctly implement it? In my .miscdb file I only see number 53. I suppose is incorrect to just enter values for "a" and "b" according to model 57, but with the model 53 still selected. 

 

Thank you for your help in this and all my previous inquiries. It is very much appreciated.

 

Best regards,

Juanita 

_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk <mailto:esp-r at lists.strath.ac.uk> 
http://lists.strath.ac.uk/mailman/listinfo/esp-r

 

achim.geissler at intergga.ch <mailto:achim.geissler at intergga.ch> 

 

 

 

 

_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk <mailto:esp-r at lists.strath.ac.uk> 
http://lists.strath.ac.uk/mailman/listinfo/esp-r

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20190802/4c607e22/attachment.html 


More information about the esp-r mailing list