|
[Sponsors] |
June 20, 2014, 05:29 |
Accessing cell values (CFX Pre and CFX Post)
|
#1 |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Hi,
Is it possible to write an expression which needs variable's value in each cell in CFX Pre? Also, would it be possible to access any variable's value cell wise in CFD Post? If yes, plz suggest me some links or documents. Thanks |
|
June 20, 2014, 06:36 |
|
#2 |
Senior Member
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17 |
i dont think so.there is new futures in ansys v15 that makes it possible to observe and call parameters in elements but i have not tried it yet
|
|
June 20, 2014, 08:25 |
|
#3 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
could you plz elaborate a little bit about the v15 feature you are talking about? and whether it is available in CFD Post documentation? |
||
June 21, 2014, 15:47 |
|
#4 |
Senior Member
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17 |
Take a look at ansys.com ir google it;-)
|
|
June 22, 2014, 08:13 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
brahmarishiraj:
Any CEL expression on a field variable is calculated per control volume. So it accesses the variable's value is every cell. Alternately the point() CEL expression can extract values at specific points. But I do not know what you are trying to do so say whether this is relevant or not. |
|
June 23, 2014, 00:22 |
|
#6 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
thanks for the comments. In my modeling there are droplets. I have to write some expressions where I need droplet dia in each cell. Could you please suggest how cells are numbered or how can I access them? Thanks |
||
June 23, 2014, 00:50 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
How are you modelling the droplet? Eularian or lagrangian? If eularian then are you using a free surface model or a droplet model?
Do not jump to the conclusion that you need to know how the cells are numbered - with the way CEL works in CFX you probably do not need to do anything at that level. It probably cal be done as a simple CEL expression. |
|
June 23, 2014, 00:52 |
|
#8 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
May be this would help you to answer better. |
||
June 23, 2014, 00:57 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Have a look in the CFX reference manual, section 16.3.2.3.
The following variables exist for lagrangian simulations: Averaged Mean Particle Diameter Averaged Arithmetic Mean Particle Diameter Averaged Surface Mean Particle Diameter Averaged Volume Mean Particle Diameter Averaged Sauter Mean Particle Diameter Averaged Mass Mean Particle Diameter So the diameter you are looking for looks like it already exists in CEL. |
|
June 23, 2014, 01:02 |
|
#10 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
I agree with you that it is there, I had seen that before posting as you always mention to do. But can I get the values in each cell? |
||
June 23, 2014, 01:47 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
If you do a CEL expression with field variables it will return a variable field.
If you explained what you are trying to do maybe we can help you better. |
|
June 24, 2014, 03:33 |
|
#12 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
Thanks Glen for the help. I have a paper which tells how to calculate the efficiency of the scrubber empirically, I don't know how to implement in CFX. I have attached the equation part here, Plz guide. |
||
June 24, 2014, 03:58 |
|
#13 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
This is easy to write in CEL.
u is Gas_Phase.velocity (assuming the gas phase is a continuous phase) v is droplet_phase.Averaged Velocity (assuming the droplet phase is a lagrangian phase) rho is dust.Dust_Density (assuming lagrangian, and use this CEL variable to set the dust phase density) mu is Gas_Phase.viscosity diameters are described in the CFX reference guide - you get the idea, I trust. |
|
June 24, 2014, 04:07 |
|
#14 | |
New Member
Join Date: Mar 2014
Posts: 23
Rep Power: 12 |
Quote:
Glen, My doubt is- as there is a distribution/spectrum of diameter of droplet, which one should be considered? Also the velocity changes along the length, so at which cross section or which velocity shall i consider? That's why I wanted to this equation in such a way that this parameter gets calculated for each cell. Any further suggestions? |
||
June 24, 2014, 20:12 |
|
#15 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
The variables I mentioned are control volume variables or particle variables.
Can you specify exactly what equation you are trying to implement? Please define which variables are local and which are averaged, and if averaged where the average is taken from. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
different CFX Pre and Post mesh region | mactech001 | CFX | 9 | April 11, 2010 22:08 |
chart for transiente simulation - CFX Post | rogbrito | CFX | 0 | June 22, 2009 13:12 |
No display on CFX Pre and Post | Dipl.-Ing. Jayadi Lukito | CFX | 0 | May 23, 2007 10:30 |
(CFX POST) Rotational Speed | ARJUN | CFX | 9 | July 13, 2006 21:38 |
CFX 10 -pre and -post problams on Linux | Henry Liu | CFX | 3 | June 22, 2006 07:57 |