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

Accessing cell values (CFX Pre and CFX Post)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2014, 05:29
Default Accessing cell values (CFX Pre and CFX Post)
  #1
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
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
brahmarishiraj is offline   Reply With Quote

Old   June 20, 2014, 06:36
Default
  #2
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
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
hmasenger is offline   Reply With Quote

Old   June 20, 2014, 08:25
Default
  #3
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by hmasenger View Post
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

could you plz elaborate a little bit about the v15 feature you are talking about? and whether it is available in CFD Post documentation?
brahmarishiraj is offline   Reply With Quote

Old   June 21, 2014, 15:47
Default
  #4
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
Take a look at ansys.com ir google it;-)
hmasenger is offline   Reply With Quote

Old   June 22, 2014, 08:13
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   June 23, 2014, 00:22
Default
  #6
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Dear Glen,

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
brahmarishiraj is offline   Reply With Quote

Old   June 23, 2014, 00:50
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   June 23, 2014, 00:52
Default
  #8
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
I am using Lagrangian.
May be this would help you to answer better.
brahmarishiraj is offline   Reply With Quote

Old   June 23, 2014, 00:57
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   June 23, 2014, 01:02
Default
  #10
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Glen,

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?
brahmarishiraj is offline   Reply With Quote

Old   June 23, 2014, 01:47
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   June 24, 2014, 03:33
Default
  #12
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.

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.
Attached Files
File Type: docx Efficiency of Venturi.docx (49.8 KB, 27 views)
brahmarishiraj is offline   Reply With Quote

Old   June 24, 2014, 03:58
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   June 24, 2014, 04:07
Default
  #14
New Member
 
Join Date: Mar 2014
Posts: 23
Rep Power: 12
brahmarishiraj is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.

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?
brahmarishiraj is offline   Reply With Quote

Old   June 24, 2014, 20:12
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks 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
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


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