CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Calculate the total melting time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2022, 21:55
Smile Calculate the total melting time
  #1
New Member
 
International
Join Date: Jun 2022
Posts: 1
Rep Power: 0
seldon is on a distinguished road
Hello all,

I am running a transient melting/solification simulation, and I want to define the total melting time as an output parameter. For this I tried two different solutions, but none of them is working fo me.

1/ The first one is to define a stop criterion to interrupt the solution once the liquid fraction reaches the value of 1, and the total melting time would be the flowing time. For this one I tried the following scheme command in the execute command:

(if (< 0.1 (pick-a-real "/rep/area/average 2 , liquid-fraction n")) (cx-interrupt)

When I run the simulation I get this error "Error: eof inside list / Error Object: ()"

2/ The second solution I tried is defining an expression with the IF statement as follows :
IF(AreaAve(LiquidFraction,['interior-pcm'])==1,{flow-time},1[s])
The problem with the IF statement is that it is necessary to define a value when the condition is not satisfied, while in my case I only want it to take the value of the flow time, otherwise I want it to keep its initial value.

I hope it was clear and not too long, and I really appreciate if anyone can help me in any of those methods.

Many thanks,
Seldon
seldon is offline   Reply With Quote

Reply

Tags
ansys fluent, melting/solidification, total melting time


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
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 42 May 8, 2024 00:17
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 03:12.