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

Boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2020, 12:47
Default Boundary conditions
  #1
Member
 
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 7
virothi is on a distinguished road
Hi all,,
You may find this question funny or easy, but I have to ask.
Imagine a cube (fluid: air) and there is a small inlet on the left side where a specific gas (say methane) with temperature 400k with pressure 2 bar. It expands inside the fluid domain. The rest are walls and we have an outlet on the right side.
My question: how to define the cube as air and how to provide the inlet with methane?
virothi is offline   Reply With Quote

Old   November 19, 2020, 13:32
Default
  #2
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
What you're defining is basically a flow from a pipe to a large domain.


You may find your problem statement to be very similar to that of a rocket nozzle simulation.


https://youtu.be/qPYso99wMyw




Edit : Found a better solution for you. Since I don't do gas injection simulations, I didn't know of examples.


Search "CFD gas injection" in youtube.

https://youtu.be/wTwd1xYhgKI


Here's an ANSYS tutorial on methane combustion : https://youtu.be/Miib-owkq-Q https://youtu.be/1ncUfEVcfbc

Last edited by aerosayan; November 19, 2020 at 13:44. Reason: added info
aerosayan is offline   Reply With Quote

Old   November 20, 2020, 05:14
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Your problem requires a multi-species formulation, or any other mean to track, for any given cell/volume, how much air and how much methane you have.

Without going into the details of specific models and staying on the math side, this means you need an additional pde to specify this information, including in bc, and the rest of your solver needs to be able to manage that in computing properties, etc.
sbaffini is offline   Reply With Quote

Old   November 20, 2020, 11:41
Default
  #4
Member
 
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 7
virothi is on a distinguished road
Sayan, thank you for your quick reply.
But I don't model combustion. I just want to simulate heat transfer.
I just want to make it clear.
When I define the cube as a fluid domain, I can only choose either air or methane as a fluid.
But I need the cube with air and there should be a methane inlet. Is this is possible with fluent?
virothi is offline   Reply With Quote

Old   November 20, 2020, 11:49
Default
  #5
Member
 
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 7
virothi is on a distinguished road
Dear Paolo,

I strongly believe that you gave good information, but honestly, to my knowledge, I understood a little.

If I understand you correctly, you recommend me to use Mutispecies flow. I thought about this, but as I said earlier,
I have a cube with quiescent air (there is no inlet for air, I want to define the cube is containing air), and a methane jet comes into it through a small inlet (on the right side of the cube with a small imprinted face). I simply didn't understand or I couldn't find a way to define these conditions.

Any suggestions?

Quote:
Originally Posted by sbaffini View Post
Your problem requires a multi-species formulation, or any other mean to track, for any given cell/volume, how much air and how much methane you have.

Without going into the details of specific models and staying on the math side, this means you need an additional pde to specify this information, including in bc, and the rest of your solver needs to be able to manage that in computing properties, etc.
virothi is offline   Reply With Quote

Old   November 20, 2020, 12:04
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Provided that Fluent has the multi-species feature and you can use it straightforwardly for your problem (just look the manual and/or some tutorial), I want to give you a grasp of how this would work in general, so that you understand better how to move.

The idea in multi-species formuation is that, besides the classical NS equations you also have N-1 additional equations (with N total number of species) that will track, for each cell, the fraction of a given specie with respect to the total mass. While the model is typically used for combustion, you can just avoid defining any reaction between the species and you will just track them in their transport and mixing.

The fact that you have additional N-1 equations also means that you have to specify boundary and initial conditions for them.

In your case of 2 species, air and methane, this will imply an additional equation with its own initial and boundary condition. In multi-species approach you are free to assign the additional equations to whatever specie you want but, it is common practice to assign them to the less abundant ones and leave the most abundant specie tracking to the global mass equation (as a complement to one).

For you this translates to assigning the additional equation to the methane mass fraction. Which, in turn, means that the additional equation (methane mass fraction) will have a 0 initial condition in the domain (as it is all air) and a 1 as inlet condition (it is only methane that enters the domain). It is just that simple.

The rest of the matter is how to tell Fluent to use this model and how to specify the material properties of the two species and the mixture. But that's what manuals are for.
sbaffini is offline   Reply With Quote

Old   November 20, 2020, 12:27
Default
  #7
Member
 
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 7
virothi is on a distinguished road
Dear Paolo,

Thanks for your quick reply.

Now, I understood better. I'll get back to you once I finish or after I achieve some progress or if any new questions arise.

Once again, thank you

Quote:
Originally Posted by sbaffini View Post
Your problem requires a multi-species formulation, or any other mean to track, for any given cell/volume, how much air and how much methane you have.

Without going into the details of specific models and staying on the math side, this means you need an additional pde to specify this information, including in bc, and the rest of your solver needs to be able to manage that in computing properties, etc.
Quote:
Originally Posted by sbaffini View Post
Provided that Fluent has the multi-species feature and you can use it straightforwardly for your problem (just look the manual and/or some tutorial), I want to give you a grasp of how this would work in general, so that you understand better how to move.

The idea in multi-species formuation is that, besides the classical NS equations you also have N-1 additional equations (with N total number of species) that will track, for each cell, the fraction of a given specie with respect to the total mass. While the model is typically used for combustion, you can just avoid defining any reaction between the species and you will just track them in their transport and mixing.

The fact that you have additional N-1 equations also means that you have to specify boundary and initial conditions for them.

In your case of 2 species, air and methane, this will imply an additional equation with its own initial and boundary condition. In multi-species approach you are free to assign the additional equations to whatever specie you want but, it is common practice to assign them to the less abundant ones and leave the most abundant specie tracking to the global mass equation (as a complement to one).

For you this translates to assigning the additional equation to the methane mass fraction. Which, in turn, means that the additional equation (methane mass fraction) will have a 0 initial condition in the domain (as it is all air) and a 1 as inlet condition (it is only methane that enters the domain). It is just that simple.

The rest of the matter is how to tell Fluent to use this model and how to specify the material properties of the two species and the mixture. But that's what manuals are for.
virothi is offline   Reply With Quote

Old   November 24, 2020, 11:50
Unhappy
  #8
Member
 
Sesh
Join Date: Dec 2018
Posts: 42
Rep Power: 7
virothi is on a distinguished road
Dear Paolo,
I've done multi species flow and initialized the solution to run. But I had to stop it in-between. Could you please comment on the below problem?

I modeled a conjugate heat transfer but I'm not certain about the results. Your opinion and suggestions really matter.

I have an 18mm dia cylinder(solid at 293[K]) and it is placed inside a cube (fluid at 293[K]). I have a pressure inlet (CO2 gas) with a high temperature (1273[K]) and Pressure 2[bar].

1. I've used the k-omega SST turbulence model for fluid flow.

2. I've used the 'coupled' condition at the interface created by the fluent. Since I used the 'coupled' option, I gave the heat flux as 'zero' at the cylinder wall. I've patched all the domains with the temperature '293.15[K]' during initialization.

I stopped the simulation in-between.

Reason: I've seen the rise in temperature of the solid cylinder by 1 degC for 0.17 sec. Is this is possible? Please comment with your experiences.


Quote:
Originally Posted by sbaffini View Post
Provided that Fluent has the multi-species feature and you can use it straightforwardly for your problem (just look the manual and/or some tutorial), I want to give you a grasp of how this would work in general, so that you understand better how to move.

The idea in multi-species formuation is that, besides the classical NS equations you also have N-1 additional equations (with N total number of species) that will track, for each cell, the fraction of a given specie with respect to the total mass. While the model is typically used for combustion, you can just avoid defining any reaction between the species and you will just track them in their transport and mixing.

The fact that you have additional N-1 equations also means that you have to specify boundary and initial conditions for them.

In your case of 2 species, air and methane, this will imply an additional equation with its own initial and boundary condition. In multi-species approach you are free to assign the additional equations to whatever specie you want but, it is common practice to assign them to the less abundant ones and leave the most abundant specie tracking to the global mass equation (as a complement to one).

For you this translates to assigning the additional equation to the methane mass fraction. Which, in turn, means that the additional equation (methane mass fraction) will have a 0 initial condition in the domain (as it is all air) and a 1 as inlet condition (it is only methane that enters the domain). It is just that simple.

The rest of the matter is how to tell Fluent to use this model and how to specify the material properties of the two species and the mixture. But that's what manuals are for.
virothi is offline   Reply With Quote

Old   November 25, 2020, 07:02
Default
  #9
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Not really possible to give any advice on such specific results. However, no bc has to be set on the coupled interface between the coupled zones
sbaffini is offline   Reply With Quote

Reply

Tags
boundary condition, fluid


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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


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