CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

melting and solidification of phase change materials periodically with time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2024, 07:07
Default melting and solidification of phase change materials periodically with time
  #1
New Member
 
Sumeet Anand
Join Date: Sep 2022
Location: India
Posts: 3
Rep Power: 3
Sumeet Anand is on a distinguished road
Hello everyone,
I am simulating the melting and solidification behavior of phase change material (PCM) in the heat pipe for subsequent time cycles. Cold fluid flows in the inner pipe while the PCM is stored in the annulus region of the heat pipe. During the charging process, the flux boundary condition at the outer surface of the heat pipe is applied. In contrast, during the discharging process, the convection boundary condition is given at the outer surface of the heat pipe. For this, I am writing the scheme command so that when the PCM completely melts during the charging process, the convection boundary condition automatically applies. Further, once it completely solidifies during the discharging process, the heat flux boundary condition activates again, and similarly, the convection boundary condition activates when PCM completely melts. So, this melting and solidification process continues for different time periods. The scheme command is written below based on the PCM solidus and liquids temperature, as the melting and solidification time is not known.

(if(ti-menu-load-string (format #f "report/volume-integrals/volume-avg pcm_domain () temperature no"))310 [K])
(
(ti-menu-load-string "define/boundary-conditions/wall outer_glass_cover 0 no 0 no yes heat-flux no 1000 no no 0 no 1)
)
(if(ti-menu-load-string (format #f "report/volume-integrals/volume-avg pcm_domain () temperature no"))315 [K])
(
(ti-menu-load-string "define/boundary-conditions/wall outer_glass_cover 0 no 0 no yes convection no 10 no 300 no no 0 no 1)
)

Where 310 K & 315 K are the PCM solidus and liquids temperature, respectively.
However, an error is showing while executing the scheme command, and the same is attached with this message. Also, in the IF statement, I have also not considered the temperature unit in a square bracket, but the error remains the same.
Can anyone please suggest how to resolve this error.
Attached Images
File Type: png error.PNG (9.7 KB, 4 views)
Sumeet Anand is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modelling of Melting and Solidification of Phase Change Materials Philipadebayo OpenFOAM Programming & Development 0 April 25, 2022 00:25
Verification of melting and solidification three phase model kuechenrole OpenFOAM Verification & Validation 4 May 10, 2020 11:47
Melting Phase Change Materials sa har Main CFD Forum 0 July 21, 2018 02:08
solidification and melting (phase change ) Cfdpower Main CFD Forum 1 October 7, 2016 12:39
VOF with melting of Phase change materials sakil2k3 FLUENT 3 March 17, 2015 15:26


All times are GMT -4. The time now is 19:26.