CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Thin Walls using blockMesh (http://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


All times are GMT -4. The time now is 16:48.