matching variable data with grid point data
1 Attachment(s)
Hi,
I want to extract data point values and grid/mesh point information/location from OF, specifically fireFoam, but the solver should not matter here. Moreover, I do not only want to extract them, I also want to match that information, meaning I want to be sure which value belongs to which mesh point. So far, I have been able to extract that data (see below), but I am not 100% sure, if the label for the value corresponds to the label of the mesh point. So the QUESTION here is: can anyone verify that the label associated with a data point is the same label that is associated with a mesh point that corresponds to that very same data point? Thanks! Andreas P.S.: Extracting and outputting the data into a external file has been accomplished by: Code:
#include "OFstream.H" Code:
forAll(rho,rholbl) which will result in the following output: rhoi: data point value rholbl: rho-label associated with that datapoint rhopos: grid point location (coordinates) associated with that label "rho":rhoi:rholbl:rhopos Code:
rho:1.17195:0:(-0.5 0 -0.01) |
All times are GMT -4. The time now is 07:34. |