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

Boundary condition determine

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Gert-Jan
  • 1 Post By arjun
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2023, 05:32
Default Boundary condition determine
  #1
New Member
 
Super Coi
Join Date: May 2023
Posts: 3
Rep Power: 2
enhox090 is on a distinguished road
Good day everyone, I'm a newbie in CFD - Fluent not sure how to determine the BC for my analysis. I have a small rectangle tank containing PCM, it just has 1 inlet to fill the PCM then it'll be capped. I need to simulate the heat transfer and thermal pressure of PCM to the tank in several temperatures but do not know how to set the BC (

I've already looked for some tutorials on youtube but they all have inlets and outlets and their shape are also different (normally is a cylinder).

If someone can help, I'll be very appreciated.
enhox090 is offline   Reply With Quote

Old   May 18, 2023, 06:16
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
Better ask the fluent forum. There you have a larger audience.

Nevertheless, the simulations you found are mostly steady state, where fluid flows from inlet to outlet.
You have an inherently transient process with 2 fluids. Initially a gas is present in which a fluids is poured. So setup a transient case with gas in the domain and let fluid enter the domain. Either as a function of time, or using a step function. This can be a massflow, or a uniform velocity, or a profile. That depends on what is in front of your inlet.

Where does your gas go? Don't you need an outlet for this? Or is it just pressurized?
enhox090 likes this.
Gert-Jan is offline   Reply With Quote

Old   May 18, 2023, 09:29
Default
  #3
New Member
 
Super Coi
Join Date: May 2023
Posts: 3
Rep Power: 2
enhox090 is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
Where does your gas go? Don't you need an outlet for this? Or is it just pressurized?
For my model, an inlet also acts as an outlet for the gas to go out when I fill the PCM into the container. Furthermore, it is assumed that the tank is filled with PCM and completely sealed, no voids left. The initial condition is to set the temperature for PCM at 303K and then observe the changing of the tank’s temperature and thermal pressure caused by PCM over time.
Btw, thank you for your reply and also for mentioning the appearance of the gas which I didn’t notice. It can be another case for me to analyze this model.
enhox090 is offline   Reply With Quote

Old   May 18, 2023, 09:35
Default
  #4
Senior Member
 
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,272
Rep Power: 34
arjun will become famous soon enougharjun will become famous soon enough
Run the simulation as inlet bc first and then when want to switch change to outlet condition and continue
enhox090 likes this.
arjun is offline   Reply With Quote

Old   May 18, 2023, 09:43
Default
  #5
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You have PCM as well so it actually is 4 phases (a solid and liquid phase for the PCM). These problems can look deceptively simple because you encounter them everyday but end up being complex and computationally expensive when you want to take into account all the physics at the same time.



You can brute force and DNS your way through this case or you can model it further. Either way, it would vastly improve your understanding of the problem if you do some order of magnitude analysis and try to figure out what regimes you even have.


  1. How long does it take for your working fluid to fill up the porous region? What is this flow timescale?
  2. Next, how long does it take for the PCM to respond? Is the timescale similar or is it 100x longer?
  3. Is the change in temperature of the working fluid significant during this process? Is this a high thermal capacity fluid or a low one?


You my be able to reduce the complexity of the problem (from 4 phases down to 3 or 2 or maybe even 1) by coming up with these answers.
enhox090 likes this.
LuckyTran is offline   Reply With Quote

Old   May 18, 2023, 09:44
Default
  #6
New Member
 
Super Coi
Join Date: May 2023
Posts: 3
Rep Power: 2
enhox090 is on a distinguished road
Thank you for your suggestion, I’ll try it then
enhox090 is offline   Reply With Quote

Reply

Tags
boundary condition, heat transfer boundary, pcm modeling


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Constant mass flow rate boundary condition sahm OpenFOAM 0 June 20, 2018 22:45
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 08:02.