CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] .msh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2009, 18:02
Question .msh
  #1
s&m
New Member
 
Join Date: Apr 2009
Posts: 14
Rep Power: 16
s&m is on a distinguished road
hi to everyone!

Now gmsh2ToFoam works fine.. however i have a new question now..
after that i convert the .msh into foam.. how i can see and define the boundary condition on the body?
With OF 1.4 seems easy because icofoam works, and from there i can modify it.., but i'm using OF 1.5.. so what i have to do?
thx
s&m is offline   Reply With Quote

Old   May 4, 2009, 22:41
Default
  #2
Super Moderator
 
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20
7islands is on a distinguished road
Hi s&m,

By icofoam you meant FoamX? Anyway you have to set BCs by hand.

I have been asked for improvements around that part, and have some ideas but don't have time to implement...

Takuya
7islands is offline   Reply With Quote

Old   May 5, 2009, 04:21
Default
  #3
s&m
New Member
 
Join Date: Apr 2009
Posts: 14
Rep Power: 16
s&m is on a distinguished road
Quote:
Originally Posted by 7islands View Post
Hi s&m,

By icofoam you meant FoamX? Anyway you have to set BCs by hand.

I have been asked for improvements around that part, and have some ideas but don't have time to implement...

Takuya
yes i meant it, and also paraFoam.. if i have to set BCs by hand, i will learn it..
but how do i know which surface to choose? where Can i define it?
s&m is offline   Reply With Quote

Old   May 5, 2009, 11:40
Default
  #4
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21
kwardle is on a distinguished road
You should have a file constant/polyMesh/boundary which lists all of the boundary fields that were defined in the original mesh (I am not familiar with gmsh but I assume this is the case). They may have retained the names you gave them originally in gmsh, or not. You can rename them here. Also check that the boundaries that are walls are set as 'wall' and thet inlets/outlets are set as 'patches' etc. Then in your 0 directory you will have a file for each field (U, p, etc.) and need to set the boundary conditions for each of the boundaries in your boundary file for each of these field files. Take a look at the directory in one of the tutorials for whatever solver you are using to see what it should look like.
I see you are using icoFoam, have a look at the files in one of the tutorials there.
Hope this is useful.
kwardle is offline   Reply With Quote

Old   May 12, 2009, 12:57
Default
  #5
s&m
New Member
 
Join Date: Apr 2009
Posts: 14
Rep Power: 16
s&m is on a distinguished road
ok i think that the first problem is solved..

but now a new question,, i create this mesh with all Boundary condition.. why this don't work??
it's a simple cilinder with a turbolent flow inside him.. could you control it please?
Attached Files
File Type: zip 0.zip (5.9 KB, 4 views)
File Type: zip system.zip (3.5 KB, 4 views)
File Type: zip constant.zip (1.5 KB, 4 views)
File Type: zip modello2.geo.zip (1.1 KB, 7 views)
s&m is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] How to force meshing to create a mesh in .msh potofus ANSYS Meshing & Geometry 9 August 20, 2021 02:43
[Commercial meshers] covert binary .msh file to ascii .msh file shivani17 OpenFOAM Meshing & Mesh Conversion 0 October 25, 2018 00:59
importing only .msh file from TUI mahserbey FLUENT 4 January 4, 2018 00:46
[ICEM] Edit .msh file (Fluent) in ICEM CFD Keizers ANSYS Meshing & Geometry 5 February 24, 2013 13:07
.msh file cann't be by Fluent nchuche FLUENT 1 June 29, 2010 10:38


All times are GMT -4. The time now is 00:24.