CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

.msh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 4, 2009, 18:02
Question .msh
  #1
s&m
New Member
 
Join Date: Apr 2009
Posts: 14
Rep Power: 9
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: 12
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: 9
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: 208
Rep Power: 13
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: 9
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, 6 views)
s&m 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
Skiping elements in .msh file Sergiog FLUENT 0 October 28, 2008 13:01
.gg files to .msh ricky FLUENT 2 September 20, 2008 17:08
Error for exporting files .msh to FLUENT Maria FLUENT 1 October 28, 2006 18:15
grouping of elements in .msh jemteo CFX 0 April 29, 2006 00:10
It's possible to get any free .msh files??? Jiri Novak FLUENT 2 March 16, 2006 06:11


All times are GMT -4. The time now is 13:36.