CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Deactivate regions on chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2021, 07:04
Default Deactivate regions on chtMultiRegionFoam
  #1
Member
 
Alberto
Join Date: Sep 2013
Posts: 37
Rep Power: 12
malv83 is on a distinguished road
Hello All,

Project: In the aluminum-casting process, hot (melted) aluminum is injected into a mold... a solidification process is carried out by cooling the surrounding solid mold. This process can be done with chtMultiregionFoam. Now after the aluminum is solidified the mold is removed and the solidified aluminum continues to cool down by natural convection.

Problem: how can I simulate this last step?, more specifically, after I simulate heat transfer between solid (mold) and fluid (aluminum), how can I deactivate the "solid regions" in the simulation to simulate only natural convection?, is this possible?.

the simulation will continue only with the previous fluid regions (solids will be deactivated) and new BC should be applied to the previous contact boundary (between fluid and solid).

Trying to do it in runtime by modifying the solver, but to start, any solution to achieve the same goal is welcome.

Thanks
malv83 is offline   Reply With Quote

Old   March 4, 2021, 05:18
Default
  #2
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9
kandelabr is on a distinguished road
if i understand that correctly, i would try with two cases - one for solidification, another one for natural convection, using mapFields to map last timestep of the first to initial conditions for the second.
__________________
www.damogranlabs.com
kandelabr is offline   Reply With Quote

Old   March 4, 2021, 12:34
Default
  #3
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Quote:
Originally Posted by malv83 View Post
Hello All,

Project: In the aluminum-casting process, hot (melted) aluminum is injected into a mold... a solidification process is carried out by cooling the surrounding solid mold. This process can be done with chtMultiregionFoam. Now after the aluminum is solidified the mold is removed and the solidified aluminum continues to cool down by natural convection.

Problem: how can I simulate this last step?, more specifically, after I simulate heat transfer between solid (mold) and fluid (aluminum), how can I deactivate the "solid regions" in the simulation to simulate only natural convection?, is this possible?.

the simulation will continue only with the previous fluid regions (solids will be deactivated) and new BC should be applied to the previous contact boundary (between fluid and solid).

Trying to do it in runtime by modifying the solver, but to start, any solution to achieve the same goal is welcome.

Thanks
Hi Foamers,

How about removing the solid region from regionProperties file and then modifying the boundary files for the fluid region for the last time step?

PS: Make sure controlDict resumes from the latestTime...
mm66 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
how the interface between 2 solid regions is treater in chtMultiRegionFoam ? Cyp OpenFOAM 2 March 15, 2023 05:35
heat transfer, multiple regions, chtMultiRegionFoam? Ohlzen-Wendy OpenFOAM Pre-Processing 13 February 8, 2022 07:17
Error creating multiple regions with chtmultiregionfoam Jagirhussan OpenFOAM Running, Solving & CFD 0 July 19, 2016 01:25
Error creating multiple regions with chtmultiregionfoam Jagirhussan OpenFOAM 0 July 9, 2016 18:25
chtMultiRegionFoam different properties in (fluid) region(s) volker1 OpenFOAM Pre-Processing 3 February 4, 2015 06:46


All times are GMT -4. The time now is 10:42.