conversion fluent
hi
to convert in my results in ''file.dat'' , I used the conversion to fluent, I managed to do this step. then I opened Fluent 3ddp and reading file.msh and case, then I have to save my results in format file.dat was using "export-ASCII", the problem is, I did not find VOF function called phi in OpenFOAM , Please tell me how I find this phi, I need it. If there is another proposal to work only on OpenFOAM and have the results directly in extension .dat without using other software, please give it to me. Thanks Lyna |
conversion fluent
hi
to convert in my results in ''file.dat'' , I used the conversion to fluent, I managed to do this step. then I opened Fluent 3ddp and reading file.msh and case, then I have to save my results in format file.dat was using "export-ASCII", the problem is, I did not find VOF function called phi in OpenFOAM , Please tell me how I find this phi, I need it. If there is another proposal to work only on OpenFOAM and have the results directly in extension .dat without using other software, please give it to me. Thanks Lyna |
Greetings Lyna,
Instead of posting the exact same thing again, you could've done a simple "bump" post: http://en.wikipedia.org/wiki/Bump_%28Internet%29 Anyway, it's difficult to understand the exact problem you're having. I can only figure out that:
Bruno |
conversion in .dat
hi bruno
I trying to convert both mesh and data from OpenFOAM to Fluent. I used OpenFOAM 1.7.1 version . I explain why I need to convert the results of OpenFOAM to fluent. because I want to draw for example the average pressure along the pipe, the shear stress ....... etc, these results are not given by OpenFOAM, So I have to convert them into fluent just to convert these files to .dat files. after I have recuperated and stored in ASCII format .dat. This makes my reading of these results by another program in Fortran language that can read and calculate the parameters I want. Thanks Lyna |
Hi Lyna,
OK, the problem is that "phi" is a "surfaceScalarField", which is a kind of field not exported by foamDataToFluent; it only exports "volScalarFields" and "volVectorFields". You have several options:
Best regards, Bruno |
Hi Bruno
to get my results (x, Y, U, V, P, Phi) format. cvs (x, Y, U, V, P, Phi) Please, give me your opinion, what is the correct method is as follows: Once paraFoam launches, select all variables that one wishes to extract and export data (by selecting the option points) is what I get correct values of the variable phi (surfaceScalarFields question which we have already spoken). Thanks Lynda |
Greetings Lynda,
By what you describe, it doesn't look like you understood the steps I described. The idea is to ignore the fields that paraFoam gives you at the start; instead, open the file "VTK/surfaceFields/surfaceFields_0.vtk" and export that one to CSV! The file that ends with ".OpenFOAM" can be removed from the "pipeline browser" in ParaView, because it does not have the "phi" field. Best regards, Bruno |
Hi
it's good I have done all the steps you had to explain before, I'll correct values of phi, points0, point1, Point 2, that is to say phi, x, y, z, however, I will also have null values u0 speeds, U1, U2, therefore there is a problem. thanks Lynda |
Hi Lynda,
It took me longer to answer this time because I needed time to look into this. Apparently it was necessary to interpolate the U field to a surface vector field, so it can be present in the same level of data as the "phi" field. So, instead of simply telling you that you need to use "fvc::interpolate", I've built a nice little toolkit for interpolating and reconstructing fields:
Best regards, Bruno |
All times are GMT -4. The time now is 13:32. |