|
[Sponsors] |
March 16, 2023, 04:54 |
[SOLVED] Cannot find patchField entry for AMI
|
#1 |
New Member
Join Date: Apr 2022
Posts: 7
Rep Power: 0 |
*** OpenFoam 9 / Ubuntu ***
Hi I'm having troubles with an AMI simulation (a simple FAN in a fluid). I run a parallel PimpleFoam and i obtain this message : Code:
--> FOAM FATAL IO ERROR: Cannot find patchField entry for AMI file: /home/nico/OpenFOAM/nico-9/run/CE-MOD1-AMI-V1/0/T/boundaryField from line 25 to line 55. From function void Foam::GeometricField<Type, PatchField, GeoMesh>::Boundary::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = double; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh] in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 184. FOAM exiting Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 9 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 1 0 0 0]; internalField uniform 275; boundaryField { inlet { type fixedValue; value uniform 275; } outlet { type zeroGradient; } walls { type fixedValue; value uniform 275; } fan { type fixedValue; value uniform 500; } AMI1 { type cyclicAMI; value uniform 275; } AMI2 { type cyclicAMI; value uniform 275; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 9 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object createBafflesDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // internalFacesOnly true; baffles { baffleFaces { type faceZone; zoneName rotatingZone; patches { master { name AMI1; type cyclicAMI; matchTolerance 0.0001; neighbourPatch AMI2; transform none; } slave { $master; name AMI2; neighbourPatch AMI1; } } } } // ************************************************************************* // Code:
[0] --> FOAM FATAL ERROR: [0] cannot find file "/home/nico/OpenFOAM/nico-9/run/CE-MOD1-AMI-V1/processor0/0/p" [0] [0] From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const [0] in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line [14] [14] [14] --> FOAM FATAL ERROR: [14] cannot find file "/home/nico/OpenFOAM/nico-9/run/CE-MOD1-AMI-V1/processor14/0/p" [14] [14] From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const [14] in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 539. [14] FOAM parallel run exiting Last edited by gart04; March 17, 2023 at 03:37. |
|
March 17, 2023, 03:35 |
|
#2 |
New Member
Join Date: Apr 2022
Posts: 7
Rep Power: 0 |
Hi
I found my pb if it can help somebody : I see in the mesh log that my baffleFaces did not convert faces into boundary faces in patches. In the snappyhexmesh i had a faceType boundary which block the patches creation. I suppress the line and the solver run, with another problems ... Code:
refinementSurfaces { AMI { level (2 2); // Note: better: levels 3 3 faceType boundary; cellZone rotatingZone; faceZone rotatingZone; cellZoneInside inside; } fan{ level (2 4);} // Note: better: levels 3 3 outlet{ level (0 0);} inlet{ level (0 0);} walls{ level (1 1);} } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Cannot find patchField entry for *** | mbox97 | OpenFOAM Meshing & Mesh Conversion | 2 | November 25, 2021 11:06 |
Cannot find patchField entry for InletWall | range_rover | OpenFOAM Running, Solving & CFD | 5 | November 18, 2020 22:21 |
Parallel snappyHexMesh problem: Cannot find patchField entry for procBoundary2to7 | hconel | OpenFOAM Pre-Processing | 0 | October 5, 2018 18:22 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |