|
[Sponsors] |
June 6, 2011, 07:23 |
extracting value at particular location
|
#1 |
New Member
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14 |
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 !! |
|
June 6, 2011, 08:46 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
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.
|
|
June 6, 2011, 08:55 |
|
#3 |
New Member
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14 |
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."
|
|
June 6, 2011, 08:59 |
|
#4 |
New Member
Churamani Prasad
Join Date: May 2011
Posts: 16
Rep Power: 14 |
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.. |
|
June 7, 2011, 20:04 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143 |
Why don't you use the built in mass transfer stuff at an interface?
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |