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

[blockMesh] I thought about this solution to create a spherical mesh.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2008, 11:24
Default I thought about this solution to create a spherical mesh.
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hello World.

I thought about this solution to create a spherical mesh.
Unfortunately it contains some stretched elements.

Do you think this is the best of maybe the only way of creating a spherical grid?


__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 13, 2008, 11:25
Default Sorry, there was a problem wit
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Sorry, there was a problem with the upload.


__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 13, 2008, 12:05
Default Hi Sebastian I have come to
  #3
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Sebastian

I have come to think about it, and if you make a block with "corners" in 45, 135, 225 and 315 degrees and make arcs which connects to 0, 90, 180 and 270 degrees, then you will get a perfect circle.

Best regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   May 13, 2008, 12:43
Default What we used to do, is to put
  #4
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
What we used to do, is to put all the block points except the one on the axis on the same radius from the axis. There is still some distortion, but less than what you have.

I.e. if the square block is defined by

2----3
|......|
|......|
0----1

And the coordinates are

p0 = (0, 0, 0)
p1 = (1, 0, 0)
p2 = (0, 1, 0)

Then

p3 = (sqrt(0.5), sqrt(0.5), 0)

not

p3 = (1, 1, 0)

like you have it.
eugene is offline   Reply With Quote

Old   May 13, 2008, 13:08
Default Hi Sebastian, I think you w
  #5
Senior Member
 
Cedric DUPRAT
Join Date: Mar 2009
Location: Nantes, France
Posts: 195
Rep Power: 17
cedric_duprat is on a distinguished road
Hi Sebastian,

I think you will find what you are looking for here :
http://openfoamwiki.net/index.php/Si...e_next_meeting

there, you will find an sourceForge adress where all the cases are avaiable. (http://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Breeder /OSIG/TurboMachinery/ercoftacConicalDiffuser)
These are not just pipes but, you can modify (m4 files) the mesh file easily to get what you want.
there are lot of parameters avaiable to make your own mesh.

I hope it will be helpfull

Cedric
cedric_duprat is offline   Reply With Quote

Old   May 14, 2008, 02:56
Default Now I get it. You mean someht
  #6
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Now I get it.
You mean somehting like that:


__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 14, 2008, 03:57
Default Exactly. I know its not ideal,
  #7
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
Exactly. I know its not ideal, especially at the 3 block junction, but I think it is the best compromise given the available resources.
eugene is offline   Reply With Quote

Old   May 23, 2008, 11:06
Default Hey. Me again. So, I did it
  #8
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Hey. Me again.

So, I did it and created a circular mesh out of about 20 hex-blocks:



The problem is, that when I'm trying to solve my problem on this grid I get this message:

--> FOAM FATAL ERROR : This mesh contains patches of type empty but is not 1D or 2D
by virtue of the fact that the number of faces of this
empty patch is not divisible by the number of cells.


I'm not sure what to think, but is this because of the internal faces connecting the blocks?
I read the User Guide about Miltiple Blocks but I'm not sure I understood it. Maybe I'm not, because I don't know if my problem has something to do with this...

If you want to have a look:
http://therealsega.th.funpic.de/open...ourMesh.tar.gz

Thanks so far!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 23, 2008, 11:13
Default Sorry, the Image was too large
  #9
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Sorry, the Image was too large.

http://therealsega.th.funpic.de/openfoam/mesh.png
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 24, 2008, 06:15
Default Hello, Theres a face missin
  #10
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hello,

Theres a face missing in your patch fixedWalls. Open your case in Paraview, and you'll see that there is a face at the top that is not included in fixedWalls, rather in defaultFaces.

Regards,
Jose Santos
santos 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 01:07
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Mesh for 3 dim Geometry Phil FLUENT 9 July 12, 2000 04:39


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