|
[Sponsors] |
problem with foamMeshToFluent and foamDataToFluent |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 27, 2015, 23:31 |
problem with foamMeshToFluent and foamDataToFluent
|
#1 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
Hi,
1,I installed an openfoam for Windows,I need to use foamMeshToFluent.But I get the following error: Quote:
2,I also need to use foamDataToFluent,but I don't know the fluentUnitNumbers of phi,rho,and machnumber like that P U T are 1 2 3. Who can tell how do I write my foamDataToFluentDict? |
||
October 28, 2015, 04:10 |
|
#2 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
I have solved the first problem.And I haven't solved the second problem.
Quote:
|
||
October 31, 2015, 11:03 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Check the list given in this file: https://github.com/OpenFOAM/OpenFOAM...nitNumbers.txt
You have it in your installation if you run: Code:
ls -l $FOAM_UTILITIES/postProcessing/dataConversion/foamDataToFluent/fluentUnitNumbers.txt |
|
November 3, 2015, 22:57 |
|
#4 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
Hi,Bruno
I have checked the fluentUnitNumbers.txt. I think the number of phi is: Quote:
And another problem I cannot find the number of Urel in fluentUnitNumbers.txt,could you help me? |
||
November 7, 2015, 13:00 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I don't know much about Fluent's file format, but from what I know, it only supports a specific list of fields. It's possible that "Urel" and "phi" simply don't exist in Fluent's format specification.
My suggestion is to check with Fluent support at ANSYS. Or check Fluent's documentation on this topic. |
|
March 14, 2016, 16:24 |
|
#6 |
Member
Join Date: Oct 2015
Posts: 63
Rep Power: 11 |
Hey,
I've added the temperature field to the icoFoam solver and am able to compile and run my case. I'm able to view the temperature and velocity contours in Paraview. No problem there whatsoever. However, when I convert the data to Fluent format (foamDataToFluent & foamMeshToFluent), Fluent is not showing temperature in the list of contours that it can display. I'm able to see the velocity contours. The .dat file in openFOAM and the converted .dat file show the tempertaures at different time steps. I don't know if there's a bug or if I'm doing something wrong. Thanks, Ram |
|
March 14, 2016, 21:32 |
|
#7 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
When you use foamDataToFluent, you should follow the numble list of fluent in foamtofluentdict.
PHP Code:
Quote:
|
||
March 14, 2016, 21:57 |
|
#8 |
Member
Join Date: Oct 2015
Posts: 63
Rep Power: 11 |
Hey Thomas,
Here's my foamDataToFluentDict file. I had added the numbers corresponding to p,U and T. Still I'm not able to see the contours in Fluent. The OpenFOAM .dat file however shows the temperature at different time steps. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / 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; T 3; // ************************************************** *********************** // |
|
March 15, 2016, 02:57 |
|
#9 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
In my opinion, your problem isn't caused by OF but Fluent. You can check your fluent case setting, such as you have not turn on energy equation.
Quote:
|
||
March 15, 2016, 11:50 |
|
#10 |
Member
Join Date: Oct 2015
Posts: 63
Rep Power: 11 |
Hey Thomas,
I enabled the energy equation in Fluent and now I'm able to select the temperature field. However, I'm only able to 300K in the contour plot which is my inlet temperature. The velocity plot shows a boundary layer being formed at the walls and is similar to the one displayed in ParaFoam. The temperature contour in ParaFoam shows a thermal boundary layer but in the one shown by Fluent, the temperature is uniform throughout (300 K). I have changed the controlDict file as well such that the startTime is the latestTime. The .dat file generated by OpenFOAM shows that the temperature is varying from 300 K to 330 K (which is the wall temperature of the channel). Sorry am not able to attach the .dat file and .msh file as they exceed 150 MB. Thanks! Ram |
|
March 15, 2016, 21:33 |
|
#11 | |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
I have the same problem. My outlet temperature isn't uniform, but it appears 300K too in fluent. And it is no problem in paraFoam. I haven't find the solution now. If you solve the problem, please tell me. thanks!
Quote:
|
||
June 26, 2016, 07:51 |
|
#12 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 11 |
Hi
I want to CONVERT Openfoam to fluent so I use foamDataToFluent It gives me data for mesh I use foamMeshToFluent but in fluent I should have .cas How can I get .cas thanks |
|
June 26, 2016, 12:52 |
|
#13 |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
Just read mesh in fluent. a case will be produced.
|
|
June 26, 2016, 14:14 |
|
#14 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 11 |
Hi Thomas
thanks for your reply how can I produce .cas ? thanks |
|
June 26, 2016, 23:59 |
|
#15 |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
||
June 27, 2016, 07:08 |
|
#16 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 11 |
I do that but I encounter this error
''Warning: case and data files are inconsistent zone 10[xxxx,xxxx] data [xxxx,xxxxx]" This error is repeated for all zones in the mesh. |
|
June 27, 2016, 08:21 |
|
#17 |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
Does your‘s mesh provided by foamMeshToFluent? Tell me how do you do by step and show the errors.
|
|
June 27, 2016, 08:36 |
|
#18 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 11 |
1 : I prepare the foamDataToFluentDict in system file
2 : I run the openFoam tutorial 3 . I use foamDataToFluent,It gives me data 4 . I use foamMeshToFluent,I can't see .cas. 5 . open the fluent,read meah and data ''Warning: case and data files are inconsistent zone 10[xxxx,xxxx] data [xxxx,xxxxx]" This error is repeated for all zones in the mesh. http://s6.uplod.ir/i/00793/w6qf7md8zvvj.png Last edited by masoudsh; June 27, 2016 at 10:16. |
|
June 27, 2016, 12:15 |
|
#19 |
Member
pan
Join Date: May 2015
Posts: 30
Rep Power: 11 |
1,foamMeshToFluent, get the .msh file.
2, foamDataToFluent, get the .dat flie. 3, read .msh file in fluent. 4, read .dat file in fluent. That is OK. Don't use the original .msh file. |
|
June 27, 2016, 16:08 |
|
#20 |
Member
Join Date: Oct 2015
Posts: 48
Rep Power: 11 |
what do you mean "Don't use the original .msh file. "
|
|
Tags |
foamdatatofluent, foammeshtofluent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FoamDataToFluent | dnomdec | OpenFOAM Post-Processing | 8 | July 31, 2013 12:07 |
Suse10 FoamX problem | frank178 | OpenFOAM Installation | 6 | January 14, 2010 05:18 |
FoamDataToFluent Problem | aganesan | OpenFOAM Post-Processing | 8 | June 4, 2008 18:15 |