|
[Sponsors] |
January 20, 2015, 02:03 |
The patchField type for wedge
|
#1 |
New Member
Join Date: Jan 2015
Location: Shanghai,China
Posts: 13
Rep Power: 11 |
I am sorry that I choosed a wrong icon for my thread, now I have to post it againt with a question icon.
Good afternoon everyone~ Today I am using OpenFOAM to caculate an axi-semmytric flowfield. After checkMesh ,the following message came out: --> FOAM FATAL IO ERROR: inconsistent patch and patchField types for patch type wedge and patchField type zeroGradient file: /opt/OpenFOAM-2.3.0/FOAM_RUN/tutorials/nozzle/0/p.boundaryField.wedge_front from line 48 to line 48. From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&) in file /home/sergio/rpmbuild/BUILD/OpenFOAM-2.3.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 172. FOAM exiting Does this mens that I set a wrong patchField type(zeroGradient) for my patches typed "wedge"? If this is the problem, where can I find the correct patchField type for "wedge" patch? That's all, thank you ~ |
|
January 21, 2015, 04:12 |
|
#2 |
Senior Member
|
Hi,
You have indeed read the error message correctly. For a wedge patch all the fields should have a fieldType wedge, like this: Code:
boundaryField { wedgePatchName { type wedge; } } Regards, Tom |
|
January 21, 2015, 05:59 |
|
#3 |
New Member
Join Date: Jan 2015
Location: Shanghai,China
Posts: 13
Rep Power: 11 |
Hi, Mr. Tom:
your methord solved my problem and I've learned more about "empty", thank you very much. |
|
September 30, 2016, 14:08 |
|
#4 |
Member
Ashish Magar
Join Date: Jul 2016
Location: Mumbai, India
Posts: 81
Rep Power: 9 |
Hii,
i am also having the same problem, but i cant use wedge. can someone help me please error>>inconsistent patch and patchField types for patch type empty and patchField type zeroGradient file: /home/magar/OpenFOAM/magar-4.0/run/USER_DIR/my_Cases/rotorCases/case4/0/k.boundaryField.defaultFaces from line 33 to line 33. From function static Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double] in file /home/openfoam/OpenFOAM/OpenFOAM-4.0/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 160. thanks. |
|
October 3, 2016, 04:12 |
|
#5 | |
Senior Member
|
Quote:
Code:
boundaryField { patchName { type empty; } } Tom |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 01:47 |
Strange high velocity in centrifugal pump simulation | huangxianbei | OpenFOAM Running, Solving & CFD | 26 | August 15, 2014 02:27 |
Problems with a barrier in a river | faerber | OpenFOAM Running, Solving & CFD | 2 | July 6, 2014 22:29 |
Simulation won't show turbulence | pete_87 | OpenFOAM Running, Solving & CFD | 4 | June 25, 2014 11:35 |
Flow Around a Cylinder | ronaldo | OpenFOAM | 5 | September 18, 2009 08:13 |