|
[Sponsors] |
PBM for polydisperse flow using MUSIG in a porous filter |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 10 ![]() |
Hello all,
I am trying to model a eulerian multiphase polydisperse flow using homogenous MUSIG. The system is air(continuous) and water(polydispersed) To implement the mass transfer, I need to put a sink/source term for each size group. The problem is, I want to retrieve the number/mass of each group size in the element to calculate the source term for mass transfer. I tried using the existing CFX variables like mass(), mf and mfc, but I am not sure about the location(location should be the element itself). I also went through the "variables" file and found variables like Group I&J mass, number density etc which could be used but CFX is not accepting these variables( Form: WaterOnFilter.Group1.Mass etc) Any help or information is highly appreciated! Thanks |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,979
Rep Power: 145 ![]() ![]() ![]() ![]() |
Are you applying the source in the volume or a subdomain or on a surface?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 10 ![]() |
Hey Glenn,
I am applying the source in a subdomain |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,979
Rep Power: 145 ![]() ![]() ![]() ![]() |
The x,y,z variables give the location if that is what you mean. Or did you mean some other location function?
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 10 ![]() |
Thanks Glenn. The mass transfer source term depends upon the mass/number of different bins in the particular mesh element. That's why the location term should change depending upon the position of the solver. I am new to cfx and i hope it clears the problem.
Thanks again for your help! |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,979
Rep Power: 145 ![]() ![]() ![]() ![]() |
If you are saying that you need to get the element number (or a pointer to it or equivalent) so you can get the flow variables at that element number - CFX does not work that way.
If you want the distance from the point in a 3D domain for every node (ie a 3D field variable) you define the function sqrt(x*x+y*y+z*z). The function is evaluated at each node in the 3D domain and returns a scalar variable field. You do not need to refer to element numbers. Or have I misinterpeted your question? |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Lakshay Garg
Join Date: Jan 2017
Posts: 9
Rep Power: 10 ![]() |
Hey Glenn,
Many thanks for your help. Just one question, can the return variable from the function be used as a location parameter? I will try to implement it and post the result! |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,979
Rep Power: 145 ![]() ![]() ![]() ![]() |
Yes, a function can return a length, and the length can be used to define a position, such as Cartesian x,y,z.
|
|
![]() |
![]() |
![]() |
Tags |
cel expression, musig |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modeling a filter bag (porous media) while having a compressible flow | SFRazavi | STAR-CCM+ | 2 | May 16, 2016 14:04 |
Laminar flow inside a filter holder problem with convergence | sachinip | FLUENT | 0 | September 4, 2015 10:53 |
unexpected flow speeds within porous zones | MasterCooler | OpenFOAM | 11 | May 2, 2012 07:48 |
Porous media flow with diffusion | albertinho | OpenFOAM | 0 | March 31, 2010 17:14 |
Two phase flow in porous media | Madhavi Krishnan | FLUENT | 3 | June 6, 2005 05:52 |