CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Invalid Normals for source face to target face while making AMI?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2019, 00:58
Default Invalid Normals for source face to target face while making AMI?
  #1
Member
 
Saurabh Das
Join Date: Jul 2018
Posts: 43
Rep Power: 8
Sorabh is on a distinguished road
I was making a stirrer simulation with pimpleDyMFoam. I made AMIs for simulating the moving mesh. While executing the paraFoam command after making the mesh and patching it, I found the following error message on my console.

Code:
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 6171 points 4((-0.0769933 0.155 8.00093e-11) (-0.0748773 0.155 2.39736e-11) (-0.0748734 0.155 0.00250567) (-0.0770568 0.155 0.00252271))
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 3083 points 4((-0.0769933 0.155 8.00093e-11) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 -0.00243401) (-0.0770568 0.155 -0.00252271))
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 1623 points 4((-0.0786529 0.155 0.00243401) (-0.0785225 0.155 2.15921e-10) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 6171 points 4((-0.0769933 0.155 8.00093e-11) (-0.0748773 0.155 2.39736e-11) (-0.0748734 0.155 0.00250567) (-0.0770568 0.155 0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 3083 points 4((-0.0769933 0.155 8.00093e-11) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 -0.00243401) (-0.0770568 0.155 -0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 1623 points 4((-0.0786529 0.155 0.00243401) (-0.0785225 0.155 2.15921e-10) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 0.00252271))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 7917 points 4((0.00250567 0.155 0.0748734) (0.00252271 0.155 0.0770568) (8.00166e-11 0.155 0.0769933) (2.39806e-11 0.155 0.0748773))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 3581 points 4((8.00166e-11 0.155 0.0769933) (2.15926e-10 0.155 0.0785225) (-0.00243401 0.155 0.0786529) (-0.00252271 0.155 0.0770568))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 3589 points 4((0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225) (8.00166e-11 0.155 0.0769933) (0.00252271 0.155 0.0770568))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 7917 points 4((0.00250567 0.155 0.0748734) (0.00252271 0.155 0.0770568) (8.00166e-11 0.155 0.0769933) (2.39806e-11 0.155 0.0748773))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3581 points 4((8.00166e-11 0.155 0.0769933) (2.15926e-10 0.155 0.0785225) (-0.00243401 0.155 0.0786529) (-0.00252271 0.155 0.0770568))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3589 points 4((0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225) (8.00166e-11 0.155 0.0769933) (0.00252271 0.155 0.0770568))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 7284 points 4((-0.0748734 0.155 -0.00250567) (-0.0748773 0.155 2.39736e-11) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 -0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 1623 points 4((-0.0786529 0.155 0.00243401) (-0.0785225 0.155 2.15921e-10) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 3083 points 4((-0.0769933 0.155 8.00093e-11) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 -0.00243401) (-0.0770568 0.155 -0.00252271))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 7901 points 4((8.00166e-11 0.155 0.0769933) (-0.00252271 0.155 0.0770568) (-0.00250567 0.155 0.0748734) (2.39806e-11 0.155 0.0748773))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3589 points 4((0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225) (8.00166e-11 0.155 0.0769933) (0.00252271 0.155 0.0770568))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3581 points 4((8.00166e-11 0.155 0.0769933) (2.15926e-10 0.155 0.0785225) (-0.00243401 0.155 0.0786529) (-0.00252271 0.155 0.0770568))
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 6171 points 4((-0.0769933 0.155 8.00093e-11) (-0.0748773 0.155 2.39736e-11) (-0.0748734 0.155 0.00250567) (-0.0770568 0.155 0.00252271))
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 3083 points 4((-0.0769933 0.155 8.00093e-11) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 -0.00243401) (-0.0770568 0.155 -0.00252271))
--> 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 177 points 4((-0.0796114 0.155 4.82332e-10) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 0.00243401) (-0.0796045 0.155 0.00231293)) target face 1623 points 4((-0.0786529 0.155 0.00243401) (-0.0785225 0.155 2.15921e-10) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 0.00252271))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 7901 points 4((8.00166e-11 0.155 0.0769933) (-0.00252271 0.155 0.0770568) (-0.00250567 0.155 0.0748734) (2.39806e-11 0.155 0.0748773))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3589 points 4((0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225) (8.00166e-11 0.155 0.0769933) (0.00252271 0.155 0.0770568))
--> 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 9159 points 4((4.82333e-10 0.155 0.0796114) (-0.00231293 0.155 0.0796045) (-0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225)) target face 3581 points 4((8.00166e-11 0.155 0.0769933) (2.15926e-10 0.155 0.0785225) (-0.00243401 0.155 0.0786529) (-0.00252271 0.155 0.0770568))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 7917 points 4((0.00250567 0.155 0.0748734) (0.00252271 0.155 0.0770568) (8.00166e-11 0.155 0.0769933) (2.39806e-11 0.155 0.0748773))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 3581 points 4((8.00166e-11 0.155 0.0769933) (2.15926e-10 0.155 0.0785225) (-0.00243401 0.155 0.0786529) (-0.00252271 0.155 0.0770568))
--> 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 6731 points 4((4.82333e-10 0.155 0.0796114) (2.15926e-10 0.155 0.0785225) (0.00243401 0.155 0.0786529) (0.00231293 0.155 0.0796045)) target face 3589 points 4((0.00243401 0.155 0.0786529) (2.15926e-10 0.155 0.0785225) (8.00166e-11 0.155 0.0769933) (0.00252271 0.155 0.0770568))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 7284 points 4((-0.0748734 0.155 -0.00250567) (-0.0748773 0.155 2.39736e-11) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 -0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 1623 points 4((-0.0786529 0.155 0.00243401) (-0.0785225 0.155 2.15921e-10) (-0.0769933 0.155 8.00093e-11) (-0.0770568 0.155 0.00252271))
--> 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 8024 points 4((-0.0796114 0.155 4.82332e-10) (-0.0796045 0.155 -0.00231293) (-0.0786529 0.155 -0.00243401) (-0.0785225 0.155 2.15921e-10)) target face 3083 points 4((-0.0769933 0.155 8.00093e-11) (-0.0785225 0.155 2.15921e-10) (-0.0786529 0.155 -0.00243401) (-0.0770568 0.155 -0.00252271))
On checking the source code faceAreaWeightAMI.c , I found out that this message appears when the magnitude of the vector indicating the normal of a particular face is less than ROOTVMSMALL( A constant with a value 1e-18). But beyond that I dont know much.

Could anyone please help me out with this? If this information is not enough, please notify me.
Sorabh is offline   Reply With Quote

Old   August 3, 2021, 07:35
Default
  #2
New Member
 
Join Date: Aug 2021
Posts: 1
Rep Power: 0
Alatyar is on a distinguished road
Dear Saurabh,
Could you manage to solve this problem?
Alatyar 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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 13:42.