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

how to calculate scalar data at a particular plane

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2008, 09: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, 09: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, 01: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, 01: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, 11: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


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
UDF-How to calculate gradient of a scalar Tony Tonton Fluent UDF and Scheme Programming 19 November 20, 2023 09:13
Write cells and data intersecting a plane cuttingPlane dmoroian OpenFOAM Post-Processing 68 May 12, 2017 16:37
Post, Calculate Variable in plane Kordou CFX 1 October 14, 2008 17:39
write transient data of plane Fabian CFX 2 June 27, 2005 03:38
Outputting a XY-plane of data Matt Phoenics 3 October 11, 2001 10:58


All times are GMT -4. The time now is 21:31.