CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

how to calculate scalar data at a particular plane

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 26, 2008, 08:10
Default 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.
  Reply With Quote

Old   May 26, 2008, 08:53
Default 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.
  Reply With Quote

Old   May 27, 2008, 00:36
Default 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.
  Reply With Quote

Old   May 27, 2008, 00:44
Default 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.
  Reply With Quote

Old   May 27, 2008, 10:32
Default 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
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF-How to calculate gradient of a scalar Tony Tonton Fluent UDF and Scheme Programming 16 February 9, 2015 02:12
Write cells and data intersecting a plane cuttingPlane dmoroian OpenFOAM Post-Processing 67 March 2, 2009 04:29
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 XY-plane of data Matt Phoenics 3 October 11, 2001 09:58


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