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

Mass sink: Complete removal of a species at defined region

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2018, 09:04
Default Mass sink: Complete removal of a species at defined region
  #1
New Member
 
Join Date: Sep 2017
Location: Dortmund, Germany
Posts: 11
Rep Power: 8
Torsten is on a distinguished road
Hi,

I investigate a filter and consider for my simulations only one fiber. A sketch of the issue is attached.

For that model the particles within my fluid are considered as dispered fluid (thus a Euler-Euler view). The particle is going to be absorbed if it is within the circle d_{fiber} + d_{particle}, dashed circle in the sketch.

Therefore I introduced a (continuity) mass sink through a subdomain in my CFX model (version 14.5). (Subdomain -> Fluid sources -> Continuity)

My issue lies in the sink intensity. I created an expression, if the the particle is not within that circle, my source term is zero kg/m3/s annd if it is within it becomes a high negative value multiplied by the volume fraction of the particle to prevent problems if the volume fraction is already zero.

- If I choose a too high value, the continuty equation wants to remove to much particles, which are not there. --> computational error
- If I choose a too small value, the volume fraction is not becoming zero --> physical error

Does anyone know a way to implement that mass sink properly: all particles which are within that circle are going to be removed from the calculation? Just like what the minimal absorption radius does for dispered solids.

Thanks in advance
Torsten
Attached Images
File Type: png Filter sketch.png (10.4 KB, 17 views)
Torsten is offline   Reply With Quote

Old   January 11, 2018, 09:14
Default
  #2
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
You have to set up this source sink to work with your time step. The Dirichlet boundary condition must not take out more than all of the fluid in that time step or it becomes negative or unstable.
This means with a larger removal constant you need a smaller time step.

There are ways to do source term linearization instead, but I have just used the time step method in the past.

Source = -Constant * AdditionalVariableValue
where:
Constant <= (1 / timeStep)
evcelica is offline   Reply With Quote

Old   January 11, 2018, 09:55
Default
  #3
New Member
 
Join Date: Sep 2017
Location: Dortmund, Germany
Posts: 11
Rep Power: 8
Torsten is on a distinguished road
Thank you for your quick reply

with timeStep you are talking about the (physical) TimeScale, right?
For that I created an expression, too.

TimeScale = \frac{d_{fiber}}{u_0}

Applying your suggestion to my description above the expression should look like:

source = if(\sqrt{x^2+z^2} \leq \frac{d_{fiber} + d_{particle}}{2}, \frac{-1 [kg/m^3]}{TimeScale} * Particle.Volume Fraction, 0 [kg/m^3/s])

Did I get it right?
Torsten is offline   Reply With Quote

Old   January 11, 2018, 12:33
Default
  #4
Senior Member
 
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,167
Rep Power: 23
evcelica is on a distinguished road
Yes that looks right.
I would probably make a separate meshed zone for the area in the absorption region, and just apply the subdomain to that volume instead of using the whole sqrt(x^2+z^2) thing, which will be subject to discretation errors and possibly impossible to get grid independence.

You could look into source term linearization as well, but I don't know how to do it.
evcelica 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
mass fraction of species Lilly FLUENT 5 March 13, 2022 17:52
using METIS functions in fortran dokeun Main CFD Forum 7 January 29, 2013 04:06
mass fraction of species Ahmed FLUENT 0 April 18, 2007 11:57
species mass source in porous media ? PK FLUENT 0 February 16, 2007 11:12
species mass fractions Mark Austin FLUENT 0 October 28, 2004 13:46


All times are GMT -4. The time now is 09:05.