
[Sponsors] 
May 26, 2008, 08:10 
how to calculate scalar data at a particular plane

#1 
Guest
Posts: n/a

Dear Friends,
My problem involves some chemical reactions which had modeled by using diffusion reaction model and chemical kinetics. Now I want to calculate the scalar data involved in chemical reactions at a particular plane.Suppose If I want to calculate concentration of H2O at a particular plane in the geometry, how should I proceed? I tried to load the mass fraction of a scalar into a register and then to save it as data output file through operate command. but Its giving me the all cells data. but I want only a particular set of cells data. How can I get it? please help me in this regard. Thanks in advance. 

May 26, 2008, 08:53 
Re: how to calculate scalar data at a particular p

#2 
Guest
Posts: n/a

Within Prostar you can use INTE or SUMM, depending on what you want to do. You can then *GET these values and put them in a graph register which you can then either plot or write out.


May 27, 2008, 00:36 
Re: how to calculate scalar data at a particular p

#3 
Guest
Posts: n/a

If your grid allows, you could build a set of one cell layer. Then operate on the cell set.
But, if you want a plane (no thickness): Use spoint & snorm to define the plane. Use pscreate to create post shells. Use pmap to map the results to the post shells Use summ and/or integrate on the post shells. I think their is an easier way but can't remember it off the top of my head. 

May 27, 2008, 00:44 
Re: how to calculate scalar data at a particular p

#4 
Guest
Posts: n/a

Thank you Pauli. I can collect a layer of cells. If I do integration command INTE, it will give average of all the cells in the cellset.But I want to have the data of cell set, like for this cell this much mass fraction like that for all the cells in the cell set. I have to estimate the uniformity of a scalar at a particular section( at a layer of cells), for this I have to find the difference between the cell calue and the average value of all the cells. For this I need individual cell values. Please help me in this regard. How can I extract each cell data of a particular cell set. thank you so much.


May 27, 2008, 10:32 
Re: how to calculate scalar data at a particular p

#5 
Guest
Posts: n/a

Here are a few commands that will give you individual cell values.
sprint savuser print 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Write cells and data intersecting a plane cuttingPlane  dmoroian  OpenFOAM PostProcessing  68  May 12, 2017 15:37 
UDFHow to calculate gradient of a scalar  Tony Tonton  Fluent UDF and Scheme Programming  17  September 21, 2015 09:13 
Post, Calculate Variable in plane  Kordou  CFX  1  October 14, 2008 16:39 
write transient data of plane  Fabian  CFX  2  June 27, 2005 02:38 
Outputting a XYplane of data  Matt  Phoenics  3  October 11, 2001 09:58 