|
[Sponsors] |
March 23, 2014, 04:37 |
foamDataToFluent
|
#1 |
Senior Member
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12 |
hello
I need to export OpenFoam 220 data to fluent for plotting axial velocity contours which I can't plot them with Paraview and I followed this instruction http://www.cfd-online.com/OpenFOAM_D...es/1/1212.html but It didn't solve my problem and I got this error : --> FOAM FATAL IO ERROR: cannot open file file: /home/ali/OpenFOAM/ali-2.2.0/run/tutorials/incompressible/icoFoam/u/system/foamDataToFluentDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 87. I would be so appreciate if someone give me detailed instruction . thanks |
|
March 25, 2014, 17:26 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
In /OpenFOAM-2.2.2/applications/utilities/postProcessing/dataConversion/foamDataToFluent you can find an exampe (which you have to copy into your case's system directory:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; note "OpenFOAM to Fluent interface control dictionary"; class dictionary; object foamDataToFluentDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // p 1; U 2; // ************************************************************************* // Code:
p 1; U 2; U.X 111; U.Y 112; U.Z 113; T 3; h 4; k 5; epsilon 6; gamma 150; |
|
March 30, 2014, 01:10 |
|
#3 |
Senior Member
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12 |
I got it .thanks.
It was really helpful but (.cas) file was not made and I just have (.dat) files for each time step so fluent can't open it and give me an error that (.cas) file in necessary. |
|
March 30, 2014, 09:20 |
|
#4 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
If I remember correctly, the .cas file contains the mesh. You can create it with foamMeshToFluent.
|
|
March 30, 2014, 11:08 |
|
#5 |
Senior Member
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12 |
thanks it works
thanks for your attention and answers. |
|
June 21, 2016, 09:27 |
|
#6 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 10 |
Hi
I use foamDataToFluent and I get the uotput results in openfoam with Suffix .dat then I bring it to CFD post but encounter to this problem : cannot get mesh information.look likes mesh file is missing I don't know how add mesh file to CFD post. It's enough to put polymesh in folder that .dat existence thanks Masoud |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FoamDataToFluent | dnomdec | OpenFOAM Post-Processing | 8 | July 31, 2013 12:07 |
foamDataToFluent gives empty data files | jcn2013 | OpenFOAM Post-Processing | 1 | March 13, 2013 10:12 |
foamDataToFluent command | dogan | Main CFD Forum | 0 | January 22, 2013 13:07 |
foamDataToFluent | greel | OpenFOAM Post-Processing | 0 | October 6, 2011 15:38 |
FoamDatatoFluent BC | achuneka | OpenFOAM Post-Processing | 4 | August 16, 2008 12:21 |