I want to simulate a laval-nozzle with the CfdOF addon.
In a first step I prefer a 2D simulation to save calculation time and get a first impression of the behaviour. Now I'm at the point where I could make a mesh which looks not too bad in my opinion (2D, cfMesh, 0.8mm base size, Surface Mesh refinement, rel. element size 0.1, 3 boundary layers with expansion ratio 1.2). Two pitcures can be found in the attachement just to get an impression of the model (attached files for more detailes):
After defining the boundary conditions (Inlet on the left--> Uniform Velocity, Outlet on the right --> Static pressure, Symmetry condition at the bottom, Rest of faces as walls, please see attached files) i try to solve the Problem. Now I have the problem that I get the following error:
Code: Select all
-> FOAM FATAL IO ERROR:
Cannot find patchField entry for cyclic _master
Is your field uptodate with split cyclics?
Run foamUpgradeCyclics to convert mesh and fields to split cyclics.
file: C:/Users/SIMON~1.MUE/AppData/Local/Temp/casexy/0/p.boundaryField from line 26 to line 58.
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 X:/OpenFOAM-5.x/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C at line 180.
FOAM exiting
deleted part:
Code: Select all
{
name _master;
patchInfo
{
type cyclic;
matchTolerance 1e-04;
neighbourPatch _slave;
}
constructFrom patches;
patches (None);
}
{
name _slave;
patchInfo
{
type cyclic;
matchTolerance 1e-04;
neighbourPatch _master;
}
constructFrom patches;
patches ( None);
}
Next error:
Code: Select all
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0035343493, No Iterations 2
[2] Generating stack trace...
[2]
Backtrace:
ZN10StackTraceC1Ev [0x705c1465+0x25]
module: C:\BLUECF~1\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
ZN4Foam5error10printStackERNS_7OstreamE [0x1051c88+0x218]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZN4Foam6sigFpe13sigFpeHandlerEi [0x1052af3+0x33]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x403cad]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
_C_specific_handler [0x7fff63cc8068+0x98]
module: C:\WINDOWS\System32\msvcrt.dll
0_chkstk [0x7fff6688477f+0x11f]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
RtlWalkFrameChain [0x7fff667e4bef+0x14bf]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
KiUserExceptionDispatcher [0x7fff668834ee+0x2e]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi [0xef88fc+0x3ac]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi [0xef8d2f+0x3f]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h [0xef35ea+0x2da]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
(No symbol) [0x42b02e]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42c235]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x42c535]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x44e045]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x4013f7]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
(No symbol) [0x40152b]
module: C:\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\simpleFoam.exe
BaseThreadInitThunk [0x7fff64037974+0x14]
module: C:\WINDOWS\System32\KERNEL32.DLL
RtlUserThreadStart [0x7fff6684a271+0x21]
module: C:\WINDOWS\SYSTEM32\ntdll.dll
job aborted:
[ranks] message
[0-1] terminated
[2] process exited without calling finalize
[3] terminated
---- error analysis -----
[2] on WSBOX16
simpleFoam ended prematurely and may have crashed. exit code 3
---- error analysis -----
C:\Program Files\FreeCAD 0.18\bin\lib\site-packages\matplotlib\axes\_base.py:3443: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=1.0, top=1.0
'bottom=%s, top=%s') % (bottom, top))
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)