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/)
-   -   pimpleDyMFoam: error on sliding AMI normals? (https://www.cfd-online.com/Forums/openfoam-solving/132900-pimpledymfoam-error-sliding-ami-normals.html)

student666 April 7, 2014 16:48

pimpleDyMFoam: error on sliding AMI normals?
 
Hi All

I get following warning (and floating point error) when I run pimpleDyMFoam.

If I understand correctly, there's an error on normal of the surfaces, right?!?

Code:

AMI: Creating addressing and weights between 2464 source faces and 2464 target faces
--> FOAM Warning :
    From function void Foam::faceAreaWeightAMI<SourcePatch, TargetPatch>::interArea(const label, const label) const
    in file lnInclude/faceAreaWeightAMI.C at line 359
    Invalid normal for source face 0 points 3((0.0511611 0.0212333 0.0545942) (0.0509261 0.0193654 0.054328) (0.0531082 0.0203421 0.0538021)) target face 0 points 3((0.0511611 0.0212333 0.0545942) (0.0509261 0.0193654 0.054328) (0.0531082 0.0203421 0.0538021))

How should each normal for every AMI and his/her neighbourPatch be oriented?
Is there a way to fix it in OF maybe by adjusting tollerance between AMI? or should I put it in order on Salome?

thanks a lot for any help

Danillo May 5, 2016 09:45

Hi, I've the same problem, you've found the problem ?

thanks

student666 May 6, 2016 06:26

have you properly set no rotating patches for ami interfaces?

Danillo May 6, 2016 17:02

I've created the mesh in the Salome, after in the folder (boundary) for I to create the cyclicAMI, I've set createPatchDict

Quote:

Reading createPatchDict

Adding new patch AMI1 as patch 9 from
{
type cyclicAMI;
matchTolerance 0.0001;
neighbourPatch AMI2;
transform noOrdering;
}

Adding new patch AMI2 as patch 10 from
{
type cyclicAMI;
matchTolerance 0.0001;
neighbourPatch AMI1;
transform noOrdering;
}


Read 1225 faces from faceSet AMI11
Read 1225 faces from faceSet AMI22

Doing topology modification to order faces.

AMI: Creating addressing and weights between 1225 source faces and 1225 target faces
--> FOAM Warning :
From function void Foam::faceAreaWeightAMI<SourcePatch, TargetPatch>::interArea(const label, const label) const
in file lnInclude/faceAreaWeightAMI.C at line 359
Invalid normal for source face 0 points 4((-2.36869 -0.976098 -10.9557) (-2.45441 -0.976098 -10.9557) (-2.45441 0.995967 -10.9557) (-2.36869 0.995967 -10.9557)) target face 416 points 4((-2.45441 -0.976098 -10.9557) (-2.54012 -0.976098 -10.9557) (-2.54012 0.995967 -10.9557) (-2.45441 0.995967 -10.9557))
.
.
.


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