|
[Sponsors] |
April 23, 2012, 21:09 |
how to mesh a cylinder fixed in water tank
|
#1 |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 15 |
hi,
I would to add a cylinder(fixed) in the middle of a wave tank, how to do the mesh generation? I learned from tutorial "flow around a cylinder" http://www.foamcfd.org/Nabla/guides/...Guidese12.html and divided the tank into 20 blocks. The first problem is about "inequality of cells number between neighbour blocks" I dont quite understand about how to set the red part of each block, the order or the numbers after it: hex (4 9 10 5 23 28 29 24) (100 20 50) simpleGrading (1 1 1) The second problem is after mesh generation (I just set all the numbers of cells in each direction equals the same) I use waveFOAM to generate wave and finally I got floating point exception issue, i am not sure if it is caused by wrong mesh generation, is there any way to solve it? Regards, Vricc |
|
April 24, 2012, 03:11 |
|
#2 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Hi,
Would you like to take another approach of importing "cylinder.STL" file and meshing around it , instead of generating the way described in above link ? ( Mostly this is approach i take!! )
__________________
________________________________________ Regards, CFDkid It never gets easier You just get Better |
|
April 24, 2012, 04:37 |
|
#3 | |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 15 |
Quote:
Thanks for ur reply,Could you link me a tutorial about your approach since I am fresh to cfd software and have no idea what is "cylinder.STL". Many thanks Vricc |
||
April 24, 2012, 04:59 |
|
#4 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Ok
Do you have geometry modeling software. "cylinder.stl" It is just a name , it can be a cylinder generated using geometry modeling software. "xyz.stl" here stl is a format in which a given geometry could be imported in OpenFOAM. So my question is again do u have modeling s/w?
__________________
________________________________________ Regards, CFDkid It never gets easier You just get Better |
|
April 24, 2012, 05:06 |
|
#5 | |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 15 |
Quote:
|
||
April 24, 2012, 05:14 |
|
#6 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Then get one .
"Salome" is a free-ware. Then we can discuss. Here is a image of your case generated in OpenFOAM.
__________________
________________________________________ Regards, CFDkid It never gets easier You just get Better |
|
April 24, 2012, 06:26 |
|
#7 |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 15 |
||
April 24, 2012, 08:27 |
|
#8 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
@ llh
Yes, why not find a sample case. Here http://db.tt/Fsn0siFa Note: make suitable changes for your case.
__________________
________________________________________ Regards, CFDkid It never gets easier You just get Better |
|
April 24, 2012, 09:36 |
|
#9 |
New Member
llh
Join Date: Jan 2012
Posts: 22
Rep Power: 15 |
Thanks again for you help
|
|
April 24, 2012, 19:26 |
|
#10 |
Senior Member
|
Simple geometries such as this one can be also generated using paraview-->sources, then use the triangulate filter and then save data to save as a .stl
Anyway seems like you are having problems even with blockMesh, I would suggest you to read at least the first part of the openFoam manual before doing anything else… |
|
April 30, 2012, 12:49 |
|
#11 |
Member
Björn Windén
Join Date: Feb 2012
Location: National Maritime Research Institute, Tokyo, Japan
Posts: 37
Rep Power: 14 |
If you will be using snappyHexMesh to get the mesh around the cylinder you don't need an stl, just use searchableCylinder.
//Björn |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is best mesh for cylinder tube? | olivia | FLUENT | 7 | January 16, 2014 06:55 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
[snappyHexMesh] external flow with snappyHexMesh | chelvistero | OpenFOAM Meshing & Mesh Conversion | 11 | January 15, 2010 20:43 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |