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

How to Give Pressure Boundary Enclosed Fluid

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2020, 00:15
Default How to Give Pressure Boundary Enclosed Fluid
  #1
New Member
 
Abid Khan
Join Date: Dec 2017
Posts: 23
Rep Power: 8
abidkhan is on a distinguished road
Hello,

I've a gas enclosed inside a container at 2bar and there is no inlet or outlet. I want to study temperature profile on different components of the container as a result of heat source inside and outside of the container. How to give this 2bar pressure to the fluid because Only boundary condition I can specify is symmetry and heat source inside the fluid. I tried setting reference pressure to 2bar but even then it shows message during the solution that no pressure is specified at any boundary condition. How can handle this case?

Best Regards,
Abid
abidkhan is offline   Reply With Quote

Old   August 25, 2020, 02:11
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
I didn't use it so far, but there is an option to set the Relative Pressure Level in Solver Control -> Advanced Options -> Pressure Level Information.
AtoHM is offline   Reply With Quote

Old   August 25, 2020, 06:42
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Are you sure this is a CFD problem? It sounds like a heat transfer thing as the fluid does not appear to be moving. Please correct me if I am wrong.

If it is just heat transfer then you can use CFX to do a thermal only model. Simply define everything as solids (including the stationary fluids) and you will have a heat transfer only model.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 25, 2020, 08:24
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Careful with the boundary conditions.

If your thermal model only has the heat source, I assume you have the container walls set as adiabatic, correct? If that is the case, your system is not well defined since there is no reference temperature to anchor the solution to. Perhaps the container is not perfectly insulated, and there are some heat losses and you can then use the heat transfer coefficient option. The outside temperature will become the anchor then.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   August 25, 2020, 12:33
Default
  #5
New Member
 
Abid Khan
Join Date: Dec 2017
Posts: 23
Rep Power: 8
abidkhan is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
I didn't use it so far, but there is an option to set the Relative Pressure Level in Solver Control -> Advanced Options -> Pressure Level Information.
Thanks for reply, I'll look into this option.



Quote:
Originally Posted by ghorrocks View Post
Are you sure this is a CFD problem? It sounds like a heat transfer thing as the fluid does not appear to be moving. Please correct me if I am wrong.
Actually buoyancy is activated and fluid also transfer some heat to container components due to its circulation within the container. Due to this, I am using it as a fluid.



Quote:
Originally Posted by Opaque View Post
If your thermal model only has the heat source, I assume you have the container walls set as adiabatic, correct? If that is the case, your system is not well defined since there is no reference temperature to anchor the solution to. Perhaps the container is not perfectly insulated, and there are some heat losses and you can then use the heat transfer coefficient option. The outside temperature will become the anchor then.
An outer surface of the container is given a high temperature from which it is getting the heat while rest of the surfaces are defined heat transfer coefficient and temperature.

I am not clear how to define Pressure value inside the fluid domain because there there is no such boundary available and solver is giving warning as I stated in my initial post.

Best Regards
Abid
abidkhan is offline   Reply With Quote

Old   August 25, 2020, 18:34
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The pressure level warning is just that, only a warning. A valid transient simulation is to define the pressure in the initial condition, but have a closed domain where the pressure can vary. If your simulation is like this then you can ignore the warning and proceed.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 27, 2020, 06:40
Default
  #7
New Member
 
Abid Khan
Join Date: Dec 2017
Posts: 23
Rep Power: 8
abidkhan is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The pressure level warning is just that, only a warning. A valid transient simulation is to define the pressure in the initial condition, but have a closed domain where the pressure can vary. If your simulation is like this then you can ignore the warning and proceed.
So let's say gas is filled in the container at say 2bar amd then heating is started. Solving such case in a steady state analysis, if I give initialize the setup at 2bar (when reference pressure is set 0bar) or at 1bar (when reference pressure is set 1bar), will it be correct pressure setup for the case?
abidkhan is offline   Reply With Quote

Old   August 27, 2020, 07:09
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the gas starts at 2 bar and it a sealed, rigid container then the pressure will increase. CFX can model this, and in fact it is a good test case to use as there are analytical solutions to compare to and you can see what mesh, time step and convergence you need for accurate results.

You always set the reference pressure to a typical pressure in the simulation. So if it starts at 2 bar absolute and will get to about 4 bar absolute then a reference pressure of 3 bar would be appropriate (but setting the reference pressure to anywhere between 2 and 4 bar should be fine).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 27, 2020, 11:45
Default
  #9
New Member
 
Abid Khan
Join Date: Dec 2017
Posts: 23
Rep Power: 8
abidkhan is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If the gas starts at 2 bar and it a sealed, rigid container then the pressure will increase. CFX can model this, and in fact it is a good test case to use as there are analytical solutions to compare to and you can see what mesh, time step and convergence you need for accurate results.
So kind of you you for detailed reply. And yes, had starts at 2 bar and then container is sealed. No inlet. No outlet. So in this case just initializing it at 2bar would simulate the case correctly?

Quote:
Originally Posted by ghorrocks View Post
You always set the reference pressure to a typical pressure in the simulation. So if it starts at 2 bar absolute and will get to about 4 bar absolute then a reference pressure of 3 bar would be appropriate (but setting the reference pressure to anywhere between 2 and 4 bar should be fine).
So if reference pressure is set to 3bar, what would initial pressure in initialization setup? Will it be 2bar or -1bar (to count for reference pressure)?
abidkhan is offline   Reply With Quote

Old   August 27, 2020, 19:12
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
All pressures (well, almost all) are relative to the reference pressure. So if your device starts at 2 bar absolute and goes to 4 bar, then set the reference pressure at 3 bar and the initial pressure as -1 bar.
abidkhan likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   August 28, 2020, 05:47
Default
  #11
New Member
 
Abid Khan
Join Date: Dec 2017
Posts: 23
Rep Power: 8
abidkhan is on a distinguished road
Thank you very much for replies.
abidkhan is offline   Reply With Quote

Reply

Tags
cfx, gas heating


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 16:36
Setting rotating frame of referece. RPFigueiredo CFX 3 October 28, 2014 04:59
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17


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