CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Thin Walls using blockMesh (https://www.cfd-online.com/Forums/openfoam-solving/58486-thin-walls-using-blockmesh.html)

varun June 16, 2008 08:50

Hi I want to create a thin
 
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

gschaider June 16, 2008 09:17

Hi Varun! Just define a wal
 
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

ivan_cozza October 3, 2008 11:13

Hi Bernard! It seems not to
 
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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) 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

gschaider October 8, 2008 12:38

Hi Ivan! you have to define
 
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

ivan_cozza October 9, 2008 08:16

I triyed both defining one pat
 
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!!!

jpsinger May 4, 2009 14:33

same issue
 
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

Forbraer December 8, 2020 13:18

Similar problem
 
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.


All times are GMT -4. The time now is 05:54.