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

Thin Walls using blockMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 4,225
Rep Power: 51
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: 210
Rep Power: 18
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: 4,225
Rep Power: 51
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: 210
Rep Power: 18
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

Old   December 8, 2020, 13:18
Default Similar problem
  #7
New Member
 
Fortunato Neto
Join Date: Dec 2020
Location: Brazil
Posts: 3
Rep Power: 5
Forbraer is on a distinguished road
Hello everyone, i'm troubles. Having a similar problem. I trying to model a vertical thin plate, to make some dsmcFoam simulations. But, using this blockmeshDict i'm not having sucess.

Quote:
vertices
(
(-5 0 0) // 0
(0 0 0) // 1
(0 10 0) // 2
(-5 10 0) // 3
(-5 0 36) // 4
(0 0 36) // 5
(0 10 36) // 6
(-5 10 36)// 7
(-5 0 18) // 8
(0 0 18) // 9
(0 10 18) // 10
(-5 10 18)// 11
(20 0 36) // 12
(20 10 36)// 13
(20 0 18) // 14
(20 10 18)// 15
(20 0 0) // 16
(20 10 0) // 17

(0 0 0) // 18 -1
(0 0 18) // 19 -9
(0 10 18) // 20 -10
(0 10 0) // 21 -2


);

blocks
(
hex (0 1 2 3 8 9 10 11) (10 36 36) simpleGrading (1 1 1) // Block 1
hex (8 9 10 11 4 5 6 7) (10 36 36) simpleGrading (1 1 1) // Block 2
//hex (1 16 17 2 9 14 15 10) (40 36 36) simpleGrading (1 1 1) // Block 3
//hex (9 14 15 10 5 12 13 6) (40 36 36) simpleGrading (1 1 1) // Block 4

hex (18 16 17 21 19 14 15 20) (40 36 36) simpleGrading (1 1 1) // Block 3
hex (19 14 15 20 5 12 13 6) (40 36 36) simpleGrading (1 1 1) // Block 4

);

boundary
(
flow
{
type patch;
faces
(
(4 5 6 7)
(5 12 13 6)
(0 8 11 3)
(8 4 7 11)
(3 11 10 2)
(11 7 6 10)
(6 13 15 20)
(21 20 15 17)
(0 8 9 1)
(8 4 5 9)
(18 19 14 16)
(19 5 12 14)
(12 13 15 14)
(14 15 17 16)
);
}

plan1
{
type symmetryPlane;
faces
(
(0 1 2 3)
);
}

plan2
{
type symmetryPlane;
faces
(
(18 16 17 21)
);
}

walls1
{
type wall;
faces
(
(2 10 9 1)
);
}

walls2
{
type wall;
faces
(
(18 19 20 21)
);
}
)
The problem starts running but, stops in "particles inserted" and no longer runs.
__________________
Santos Dumont - Father of Aviation
Forbraer 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
Use wall function on some walls (not all walls) Mahdi10 FLUENT 1 February 16, 2009 11:52
shell conduction @ thin walls Jiri Beran FLUENT 0 May 18, 2008 14:08
[blockMesh] BC with blockMesh ville OpenFOAM Meshing & Mesh Conversion 1 December 4, 2006 05:11
How to define thin walls in Gambit or Fluent? Meenu FLUENT 1 March 23, 2006 15: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 15:40.