CFD Online Logo CFD Online URL
Home > Forums > Phoenics

Outputting a XY-plane of data

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

LinkBack Thread Tools Display Modes
Old   October 10, 2001, 16:39
Default Outputting a XY-plane of data
Posts: n/a
Hello, I am running a simulation, and I need PHOENICS to dump to the results file the calculated data at one particular XY-plane for the variables TMP1, TMP2, C1, R1, and R2. The plane of interest is on a Y-grid line, if that helps (one that divides the y-axis into divisions). Does anyone have an economical way of doing this besides dumping all of the calculated data to the results file?

Thanks in advance,

  Reply With Quote

Old   October 10, 2001, 22:19
Default Re: Outputting a XY-plane of data
Posts: n/a
Can you tell me what you want to do in details?
  Reply With Quote

Old   October 11, 2001, 08:22
Default Re: Outputting a XY-plane of data
Mark Russell
Posts: n/a
A little while ago I wrote a FORTRAN routine that reads the data of the PHI file to do a similar thing to what you want. This routine could find the value of individual variables at specific points, show data such as what you need, or do some simple analysis, find highest, lowest, average etc and write this to a text file.

I wrote the code to help ME and hence it was configured to specifically undertake some work based on my problems. i.e. it is not a generic data reader and the code reflects my needs.

For instance I was working with structured co-ordinates and essentially two dimensional problems. I did extend it to three dimensions but can't recall its current status with this regard.

I suggest you post a few more details of what you need the code to do and in the meantime I will look at my code to see if can match your requirements.

If it seems promising we can then talk further.

  Reply With Quote

Old   October 11, 2001, 09:58
Default Re: Outputting a XY-plane of data
Posts: n/a
I am trying to sort through the data of a simulation with the following attributes. #X-cells: 33 #Y-cells: 17 #Z-cells: 24

It is a 2-phase simulation, and I solve for: P1, P2, U1, U2, V1, V2, W1, W2, R1, R2, H1, H2, and C1.

I store these additional variables: PRPS, TMP1, LTLS, WDIS, and TMP2.

The data that I am trying to get is for a XZ-plane located at the junction of the 6th and 7th cells along the y-axis. So that would be the data from 1 XZ-plane which is made up of 33 X-cells and 24 Z-cells.

The data I would like to pick out of that plane are: TMP1, TMP2, C1, R1, and R2. After that I need to do some additional calculations, but if I can get the data into a format that is managable, then I can manipulate the data to a form that suits my analysis, either through a custom program or spreadsheet.

The way I see it, I have 3 choices:

1) Do the data retrevial by hand through VR_Viewer. 2) Print out all my data for each cell to the results file and go from there by hand. 3) Write a program to do the data conversion for me.

Option 1 sounds like suicide to me, but is possible. Option 2 I do not know how to do, but I am working on that now, since I should be able to fairly easily figure that out. Option 3 would be the best way to go, except I do not know the format of the Phi file, and the learning curve would eat up precious time.

If more detail than that is needed, let me know. Thanks,

  Reply With Quote


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
Write cells and data intersecting a plane cuttingPlane dmoroian OpenFOAM Post-Processing 67 March 2, 2009 04:29
How to create an contour plot for arbitrary plane with interpolated data navaladi OpenFOAM Paraview & paraFoam 0 June 4, 2008 07:57
how to calculate scalar data at a particular plane premchand CD-adapco 4 May 27, 2008 10:32
write transient data of plane Fabian CFX 2 June 27, 2005 02:38
Outputting data noName FLUENT 0 April 7, 2005 18:29

All times are GMT -4. The time now is 12:22.