|
[Sponsors] |
October 10, 2001, 17:39 |
Outputting a XY-plane of data
|
#1 |
Guest
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, Matt |
|
October 10, 2001, 23:19 |
Re: Outputting a XY-plane of data
|
#2 |
Guest
Posts: n/a
|
Can you tell me what you want to do in details?
|
|
October 11, 2001, 09:22 |
Re: Outputting a XY-plane of data
|
#3 |
Guest
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. |
|
October 11, 2001, 10:58 |
Re: Outputting a XY-plane of data
|
#4 |
Guest
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, Matt |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Write cells and data intersecting a plane cuttingPlane | dmoroian | OpenFOAM Post-Processing | 68 | May 12, 2017 16:37 |
[OpenFOAM] How to create an contour plot for arbitrary plane with interpolated data | navaladi | ParaView | 0 | June 4, 2008 08:57 |
how to calculate scalar data at a particular plane | premchand | Siemens | 4 | May 27, 2008 11:32 |
write transient data of plane | Fabian | CFX | 2 | June 27, 2005 03:38 |
Outputting data | noName | FLUENT | 0 | April 7, 2005 19:29 |