|
[Sponsors] |
January 4, 2012, 17:39 |
What's wrong with the patch / p...?
|
#1 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
I want to test a hydrofoil (symmetry case based on motorBike case) and keep getting error messages from potentialFoam and simpleFoam. What's wrong? Find attached the error messages and the case (without the foil, as the file exceeds 97kB). E.g. potentialFoam log: /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.1-5ae28021cd90 Exec : potentialFoam -noFunctionObjects -writep Date : Jan 04 2012 Time : 22:25:53 Host : tenno-EP45-UD3R PID : 7255 Case : /home/tenno/OpenFOAM/tenno-2.0.1/run/tutorials/incompressible/simpleFoam/wing nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p --> FOAM FATAL IO ERROR: patch type 'patch' not constraint type 'symmetryPlane' for patch maxY_domain_upper_wall of field p in file "/home/tenno/OpenFOAM/tenno-2.0.1/run/tutorials/incompressible/simpleFoam/wing/0/p" file: /home/tenno/OpenFOAM/tenno-2.0.1/run/tutorials/incompressible/simpleFoam/wing/0/p::boundaryField::maxY_domain_upper_wall from line 27 to line 27. From function symmetryFvPatchField<Type>::symmetryFvPatchField ( const fvPatch& p, const Field<Type>& field, const dictionary& dict ) in file fields/fvPatchFields/constraint/symmetry/symmetryFvPatchField.C at line 99. FOAM exiting |
|
January 4, 2012, 18:57 |
|
#2 |
New Member
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16 |
Your symmetry planes are defined as patches in:
/constant/polyMesh/boundary You need to change those to symmetry plane. The error message is telling you that you are trying to apply a symmetry condition to a patch. |
|
January 5, 2012, 08:01 |
Now I am running into the next problem - patch name .stl ...
|
#3 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Thank you!
But now I am running into the next patch problem. SimpleFoam doesn't get the patch name of the wing. The wing is represented through wing.stl and the name defined in that file is also wing (first line is: solid wing). Error: Cannot find any patch names matching wing_wing SimpleFoam is looking for a patch name wing_wing which is to my knowledge made up internaly: name of wing.stl defined in sHMDict+ _name defined in the wing.stl file. My trial & error approach didn't work. Any idea, what needs to be changed? Find attached the simpleFoam log file. Klaus |
|
January 5, 2012, 14:33 |
Case file - I am still not able to define the patch name
|
#4 |
Senior Member
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22 |
Hello,
find attached my case file - I am still not able to define the patchname for my wing (wing.stl). I need to fix the following SimpleFoam error: Reading surface description: yNormal --> FOAM Warning : From function polyBoundaryMesh::patchSet(const wordReList&, const bool) const in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 573 Cannot find any patch names matching wing_wing --> FOAM Warning : From function polyBoundaryMesh::patchSet(const wordReList&, const bool) const in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 573 Cannot find any patch names matching wing_wing Any ideas how to do that? Klaus |
|
January 7, 2012, 14:24 |
|
#5 |
New Member
Michael Ahlmann
Join Date: Feb 2010
Posts: 27
Rep Power: 16 |
Sorry for the slow response. The error message I get when running your case is:
Code:
--> FOAM FATAL ERROR: Invalid wall function specification Patch type for patch minX_inlet must be wall Current patch type is patch Code:
minX_inlet { type nutkWallFunction; value uniform 0; } Code:
minX_inlet { type calculated; } Additionally, the case also complains about use of deprecated syntax. This is not a big deal (and does not cause the code to stop); however, I recommend reviewing the messages and adjusting your input files per the instructions. The case will run without doing so. With the above two modifications, the case successfully ran the first iteration on my machine. I did not check your boundary condition types in any level of detail as there are several examples on the forums of people modeling airfoils, and personally, I do not have much experience doing so, but I would recommend reviewing your wing boundary condition. Wouldn't it be more common to use a wall function than a fixed value for an object in the flow? Best of luck! |
|
March 9, 2016, 02:08 |
|
#6 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
hi danish i am also getting the same error which you have mentioned. i changed it to type calculated. but still getting the same error. i think it is because in constant/polymesh/boundary i mentioned it as patch.
is there any other way to eliminate this error? |
|
May 11, 2020, 21:44 |
|
#7 |
New Member
Mateus
Join Date: Apr 2020
Posts: 6
Rep Power: 6 |
Hello!
I having the same error message. I trying run a landing gear fairing in OpenFoam, but the mesage that the cpolaina cannot be found on polyBoundaryMesh. Do you know what can be wrong? Is this patch created when I run the file snappyHexMesh, right? Thank you by your attention. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
udf error | srihari | FLUENT | 1 | October 31, 2016 15:18 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |