# how to calculate scalar data at a particular plane

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

 May 26, 2008, 08:10 how to calculate scalar data at a particular plane #1 premchand 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 James 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 Pauli 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 premchand 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 Pauli Guest   Posts: n/a Here are a few commands that will give you individual cell values. sprint savuser print

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Tony Tonton Fluent UDF and Scheme Programming 17 September 21, 2015 09:13 dmoroian OpenFOAM Post-Processing 67 March 2, 2009 04:29 Kordou CFX 1 October 14, 2008 16:39 Fabian CFX 2 June 27, 2005 02:38 Matt Phoenics 3 October 11, 2001 09:58

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