CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   blockMesh error with wedge bc (https://www.cfd-online.com/Forums/openfoam/85036-blockmesh-error-wedge-bc.html)

GGerber February 15, 2011 15:08

blockMesh error with wedge bc
 
Hi OpenFoamers,

Can anyone tell me what the following error means:

--> FOAM FATAL ERROR:
wedge slices centre plane does not align with a coordinate plane by 1

I am trying to create a wedge geometry with main axis along the z-axis.

Thank you,
George

pbryant February 15, 2011 16:28

I am new to this also, but it may be that the two planes of your wedge are not centered about one of the coordinate planes, in your case that would be either the xz plane or the yz plane, ie the two wedge planes should be on opposite sides of one coordinate plane.

GGerber February 17, 2011 14:50

Ok. Thanks I managed to get the mesh to build.
G

Quentin Chevalier February 25, 2022 03:41

4 Attachment(s)
Hi,


I'm having the same problem. I have a gmsh created mesh that I try to use as a wedge. It's aligned with x, but that used to work with with another wedge mesh I used.


Attached are the gmsh .geo file, the generated .msh file, as well as my full case. The nozzle.msh file must be placed inside the case file for ./Allrun to work.


I obtain the following error from createPatch :



Code:

--> FOAM FATAL ERROR: (openfoam-2112)
wedge back plane aligns with a coordinate plane.
    The wedge plane should make a small angle (~2.5deg) with the coordinate plane
    and the pair of wedge planes should be symmetric about the coordinate plane.
    Normal of wedge plane is (-1 0 0) , implied coordinate plane direction is (-1 0 0)

    From virtual void Foam::wedgePolyPatch::calcGeometry(Foam::PstreamBuffers&)
    in file meshes/polyMesh/polyPatches/constraint/wedge/wedgePolyPatch.C at line 112.


I also have a screen of the mesh attached. I'm pretty sure the large side plane closest to the viewer is the 'front' plane, and the point the pointer is on is off the y axis by 0.5 degree (it doesn't change anything to increase or decrease this number).


I would have expected the normal of this plane to be something like (0,-eps,1-eta), not (-1 0 0). What am I missing ?


All times are GMT -4. The time now is 07:23.