|
[Sponsors] |
May 4, 2009, 18:02 |
.msh
|
#1 |
New Member
Join Date: Apr 2009
Posts: 14
Rep Power: 17 |
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 |
|
May 4, 2009, 22:41 |
|
#2 |
Super Moderator
Takuya OSHIMA
Join Date: Mar 2009
Location: Niigata City, Japan
Posts: 518
Blog Entries: 1
Rep Power: 20 |
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 |
|
May 5, 2009, 04:21 |
|
#3 | |
New Member
Join Date: Apr 2009
Posts: 14
Rep Power: 17 |
Quote:
but how do i know which surface to choose? where Can i define it? |
||
May 5, 2009, 11:40 |
|
#4 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
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. |
|
May 12, 2009, 12:57 |
|
#5 |
New Member
Join Date: Apr 2009
Posts: 14
Rep Power: 17 |
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? |
|
|
|
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 |