|
[Sponsors] |
June 14, 2012, 14:46 |
conversion fluent
|
#1 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
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 Last edited by lyna; June 15, 2012 at 09:44. |
|
June 15, 2012, 09:44 |
conversion fluent
|
#2 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
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 |
|
June 16, 2012, 08:35 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
June 18, 2012, 14:07 |
conversion in .dat
|
#4 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
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 |
|
June 18, 2012, 17:20 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
July 12, 2012, 12:37 |
|
#6 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
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 |
|
July 13, 2012, 05:25 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
July 13, 2012, 05:39 |
|
#8 |
Member
lynda
Join Date: Oct 2009
Posts: 52
Rep Power: 17 |
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 |
|
July 14, 2012, 20:13 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh conversion exits prematurely (Salome to OF) | DMcP | OpenFOAM | 1 | May 16, 2024 10:35 |
Pointwise segment file or .dat file example | RuiVO | Pointwise & Gridgen | 5 | November 23, 2015 11:46 |
[Commercial meshers] Several problems with the mesh conversion utility when converting the meshes from Gridgen | su_junwei | OpenFOAM Meshing & Mesh Conversion | 2 | July 27, 2008 00:58 |
problem with reading the .dat file,error object:#f | Paulina | FLUENT | 6 | November 7, 2006 16:49 |
ACCESS VIOLATION error opening a .dat file | DavidSF | FLUENT | 12 | April 8, 2005 16:37 |