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

extracting value at particular location

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2011, 07:23
Question extracting value at particular location
  #1
New Member
 
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14
cprasad111 is on a distinguished road
There is an interface in the YZ plane at x=xo(known value).
A material is present on both sides of the interface which diffuses from the left side to right side. Is it possible to extract the mol concentration/average mol concentratoin (or mass fraction or volume fraction) of the material at the mesh cells lying just to the left and just to the right of the interface using some User-Fortran Code for every time step?/ These extracted values are to be used later....

Or may be at the mesh cells which are within some distance to the interface, like average concentration of the material from x=(xo-dx) to xo, where dx is small (can be 2-5 mesh cells wide)??

Are there any tutorials which demonstrate this type of requirements??

Need help !!
cprasad111 is offline   Reply With Quote

Old   June 6, 2011, 08:46
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, you can extract values as the simulation progresses. Use a transient results file which only has the variables you want. Then you can post-process that in CFD-Post and extract it if necessary for later analysis.
ghorrocks is offline   Reply With Quote

Old   June 6, 2011, 08:55
Default
  #3
New Member
 
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14
cprasad111 is on a distinguished road
I have read one paper and I think they have done this, extracting/updating value at particular mesh cells.

Here, is the paper paragraph :
"
The recirculating flow patterns act to refresh the acid
concentration at the interface of the organic and inorganic
segments. In the aqueous segment, the recirculating
flow draws the acid away from the interface along
the centre line. A true representation of movement of
acetic acid from kerosene to water is partitioning 85:1 in
favour of the water phase. The source terms of the scalar
equation representing dissolved acid were calculated
to represent the partitioning movement of acetic acid
across the water/kerosene interface. Fig. 7 illustrates
how the concentration of acid was recalculated for the
mesh cells either side of the fluid interface. In the diagram


a
1 and a2 represent the total mass of acid in water

and kerosene respectively. The numerical expressions
below the mesh cell diagram indicate how


a1 and a2 were

redefined in the source terms of the scalar equation

representing dissolved acid."
Attached Images
File Type: jpg untitled.JPG (8.1 KB, 3 views)
cprasad111 is offline   Reply With Quote

Old   June 6, 2011, 08:59
Default
  #4
New Member
 
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14
cprasad111 is on a distinguished road
Thanks for the reply..

But the "extracted values" have to be used in the CFX-pre only...not in post...

I have successfully extracted the values of some variables in domains, at boundary, at walls, interfaces..but never at mesh cells near the interface(as i mentioned in my question)
I m going through some materials but unable to do it..
cprasad111 is offline   Reply With Quote

Old   June 7, 2011, 20:04
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Why don't you use the built in mass transfer stuff at an interface?
ghorrocks is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Wind turbine simulation Saturn CFX 58 July 3, 2020 02:13
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Location of cells Short FLUENT 2 July 19, 2005 11:38
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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