CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Mesh conversion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2012, 15:59
Default Mesh conversion
  #1
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
I tried to convert .msh file to openfoam mesh file. and I used fluentMeshToFoam command but I faced an error.
Could someone help me in mesh conversion? I'm new in OpenFoam and have several problems in running my case.
MultiphaseFlowsLab is offline   Reply With Quote

Old   April 10, 2012, 16:10
Default
  #2
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 5
falke126 is on a distinguished road
Could you post the error message?

Then itīs easier to give hints, what the problem is...
falke126 is offline   Reply With Quote

Old   April 10, 2012, 16:23
Default
  #3
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
Thanks for your reply.
my error is:


--> FOAM FATAL IO ERROR:
cannot find file

file: /home/maryam/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.

FOAM exiting
MultiphaseFlowsLab is offline   Reply With Quote

Old   April 11, 2012, 06:30
Default
  #4
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
You have to go into your case folder and then execute your mesh conversion command. Make sure there is also a system folder, containing a controlDict.
flowris is offline   Reply With Quote

Old   April 11, 2012, 14:01
Default
  #5
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road


Thanks for your help. I did it and when I try to convert fluent mesh file to OF following results are shown .
My geometry is complex and 3D.

Found end of section in unknown:�
� �Embedded blocks in comment or unknown:�
�Embedded blocks in comment or unknown:]
Found end of section in unknown:�
Found end of section in unknown:�
� ݙFound end of section in unknown:�
Embedded blocks in comment or unknown:`
Found end of section in unknown
Embedded blocks in comment or unknown:��
Embedded blocks in comment or unknown:��
� [Embedded blocks in comment or unknown:`
Embedded blocks in comment or unknown:�
Embedded blocks in comment or unknown:��
Found end of section in unknown:�
��{ 'Embedded blocks in comment or unknown:��
Embedded blocks in comment or unknown:
Embedded blocks in comment or unknown:
Embedded blocks in comment or unknown:��
Embedded blocks in comment or unknown:�
Embedded blocks in comment or unknown:��
��-w?Embedded blocks in comment or unknown:U�
Embedded blocks in comment or unknown:
Found end of section in unknown:?
�� Found end of section in unknown:�
Embedded blocks in comment or unknown:��
�|Embedded blocks in comment or unknown:}�
Found end of section in unknown:�
�Found end of section in unknown:?

j?h Aq?t;M ��8
MultiphaseFlowsLab is offline   Reply With Quote

Old   April 12, 2012, 04:30
Default Mesh convertion
  #6
Member
 
ahmed
Join Date: Sep 2011
Location: Pune-INDIA
Posts: 34
Rep Power: 5
ahmed_khatibs is on a distinguished road
make sure that ascii or binary (u have given in controlDict file ) or use only ascii formate.
  • Save .msh in ascii formate.
  • use fluentMeshToFoam for convert.

thank u
ahmed_khatibs is offline   Reply With Quote

Old   April 12, 2012, 08:37
Default
  #7
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 5
falke126 is on a distinguished road
E.g. in Ansys Meshing you have to change an environment variable to get the Fluent Mesh files saved in ascii format. By default, they are saved in binary format.
falke126 is offline   Reply With Quote

Old   April 18, 2012, 12:35
Default
  #8
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
Thanks everybody. Finally it works.
MultiphaseFlowsLab is offline   Reply With Quote

Old   April 27, 2012, 13:28
Default Boiling model
  #9
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
I need to simulate boiling flow, I went through cavity tutorial. But I am very new to OF and I don't know how can I use its applications and utilities. I really appreciate if someone can tell me step by step creating my own case.
(I really have time limit so it takes too much time to find it from several articles)
MultiphaseFlowsLab is offline   Reply With Quote

Old   April 28, 2012, 11:07
Default
  #10
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 5
falke126 is on a distinguished road
Quote:
Originally Posted by MultiphaseFlowsLab View Post
I need to simulate boiling flow, I went through cavity tutorial. But I am very new to OF and I don't know how can I use its applications and utilities. I really appreciate if someone can tell me step by step creating my own case.
(I really have time limit so it takes too much time to find it from several articles)
The best way is to look for a tutorial case, that is similar to your problem.
You can modify the existing case, so that it fits to your problem.

Can you give a short describtion of the case that you want to simulate?
falke126 is offline   Reply With Quote

Old   May 1, 2012, 12:08
Default
  #11
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
My case is a annuli which has heater inside, so I need to have constant Q B.C. and I have single phase flow inlet but at the end it becomes two phase. I need to track bubbles behavior.
MultiphaseFlowsLab is offline   Reply With Quote

Old   May 1, 2012, 14:14
Default
  #12
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 5
falke126 is on a distinguished road
2-phase flow (VOF-Model) with a one phase Q-Inlet should be no problem (e.g. interFoam).
But I donīt know, if a boiling model exists in OpenFoam...
falke126 is offline   Reply With Quote

Old   May 2, 2012, 12:43
Default
  #13
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
Thanks ,You mean that I can use interFoam /damBreak and I should add boiling model to it?!
MultiphaseFlowsLab is offline   Reply With Quote

Old   May 2, 2012, 12:52
Default
  #14
New Member
 
Join Date: Apr 2012
Posts: 19
Rep Power: 5
MultiphaseFlowsLab is on a distinguished road
And I have no idea what is the usage of Utilities in OF?
MultiphaseFlowsLab is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Icem cfd multidomain mesh conversion Attesz OpenFOAM Meshing & Mesh Conversion 2 May 2, 2013 11:03
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
[ICEM] Problem making structured mesh on a surface froztbear ANSYS Meshing & Geometry 4 November 10, 2011 09:52
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 06:23.