CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Thin Walls using blockMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 16, 2008, 08:50
Default Hi I want to create a thin
  #1
New Member
 
Varun Vikas
Join Date: Mar 2009
Posts: 17
Rep Power: 8
varun is on a distinguished road
Hi

I want to create a thin wall in OpenFOAM using block Mesh utility. Actually, my problem is similar to supersonic flow over two thin flat plates aligned horizonatlly and separated by a vertical distance say h.
---->
----> --------PLATE 1---------
---->
----> --------PLATE 2---------
---->

How can I create a emsh with thin walls using blockMesh?

Varun
varun is offline   Reply With Quote

Old   June 16, 2008, 09:17
Default Hi Varun! Just define a wal
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Varun!

Just define a wall patch that contains the border between two blocks (that should be the plate) TWICE, just change the order of the points. That way you will have the wall "look" into both blocks (which is what you want, if I understand you correctly)

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   October 3, 2008, 11:13
Default Hi Bernard! It seems not to
  #3
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Bernard!

It seems not to work!
I'm doing as you said, but blockMesh tells me:

Default patch type set to empty


Trying to specify a boundary face 4(1 8 10 5) on the face on cell 1 which is either an internal face or already belongs to some other patch. This is face 0 of patch 4 named Wall.#0 Foam::error::printStack(Foam:stream&) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::cellshape> const&, Foam::List<foam::list<foam::face> > const&, Foam::List<foam::word> const&, Foam::List<foam::word> const&, Foam::word const&, Foam::word const&, Foam::List<foam::word> const&, bool) in "/opt/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#3 Foam::blockMesh::createTopology(Foam::IOdictionary &) in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh"
#4 Foam::blockMesh::blockMesh(Foam::IOdictionary&) in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh"
#5 main in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh"
#6 __libc_start_main in "/lib64/libc.so.6"
#7 __gxx_personality_v0 in "/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh"


From function polyMesh::polyMesh
(
const IOobject& io,
const pointField& points,
const cellShapeList& cellsAsShapes,
const faceListList& boundaryFaces,
const wordList& boundaryPatchTypes,
const wordList& boundaryPatchNames,
const word& defaultBoundaryPatchType
)

What's wrong?
Bye, Ivan
ivan_cozza is offline   Reply With Quote

Old   October 8, 2008, 12:38
Default Hi Ivan! you have to define
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Ivan!

you have to define the "wall" twice. Once as a patch of the "upper" and once as a patch of the "lower" block. Did you do that?

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   October 9, 2008, 08:16
Default I triyed both defining one pat
  #5
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
I triyed both defining one patch with both of the sides, and two separate wall patch, it don't works!
I catch something with createBaffles, but the results are very bad!!!
ivan_cozza is offline   Reply With Quote

Old   May 4, 2009, 14:33
Default same issue
  #6
New Member
 
Jon Singer
Join Date: May 2009
Posts: 1
Rep Power: 0
jpsinger is on a distinguished road
I am getting the same error on blockmesh word for word (I cannot paste the txt as I ssh in sorry) with a similar scenario (I am trying to make a simulated fan). I am fairly new to all this so forgive me if I am missing something basic. I tried:

patches
(
wall top
(
(1 9 14 6)
)

wall bottom
(
(14 6 1 9)
)
)

and:
patches
(
wall internal
(
(1 9 14 6)
(14 6 1 9)
)
)

What is it I am missing?
Thanks,
Jon
jpsinger 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
Use wall function on some walls (not all walls) Mahdi10 FLUENT 1 February 16, 2009 12:52
shell conduction @ thin walls Jiri Beran FLUENT 0 May 18, 2008 14:08
BC with blockMesh ville OpenFOAM Native Meshers: blockMesh 1 December 4, 2006 06:11
How to define thin walls in Gambit or Fluent? Meenu FLUENT 1 March 23, 2006 16:30
Thin Walls in CFX5 Dave Hargreaves Main CFD Forum 1 April 14, 1999 12:08


All times are GMT -4. The time now is 06:18.