Replies: 2 comments 1 reply
-
As an update, I have changed the solver and settings to DATurboFoam, the same solver used for the tutorial of Rotor_37_Compressor and the simulation works. However, this is a compressible solver and is not what I am looking for. This makes me think that there may be a bug with the DASimpleFoam solver and MRF regions. I have seen that a file called runTests_DASimpleFoamMRF.py exists in dafoam/tests/ but I cannot run it to compare settings since the test case is missing |
Beta Was this translation helpful? Give feedback.
-
Not sure what caused the issue. But you can use runTests_DASimpleFoamMRF.py as a template to test your case. The test file can be downloaded using this command: Line 13 in a42fe6c |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am trying to run an MRF simulation in DAFoam and I get the following error:
.....................................................................................................
Create mesh for time = 0
Initializing mesh and runtime for DASolver
DAOpton initialized
Duplicate entry ac in runtime selection table MeshedSurface
#0 /home/dafoamuser/dafoam/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+0x49) [0x7fe5acacfe99]
#1 /home/dafoamuser/dafoam/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/libsurfMesh.so(_ZN4Foam13MeshedSurfaceINS_4faceEE34addfileExtensionConstructorToTableINS_11fileFormats17AC3DsurfaceFormatIS1_EEEC2ERKNS_4wordE+0x100) [0x7fe5ac16b6f0]
#2 /home/dafoamuser/dafoam/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/libsurfMeshADR.so(+0x7a46c) [0x7fe5a45a746c]
#3 /lib64/ld-linux-x86-64.so.2(+0x11b9a) [0x7fe6b8726b9a]
[...]
Duplicate entry tri in runtime selection table MeshedSurface
[...]
Duplicate entry labelToPoint in runtime selection table topoSetPointSource
[...]
.....................................................................................................
I have read online similar errors reporting problems of libraries being named the same way, for instance, in different solver versions, so maybe there is a bug between OpenFOAM and DAFoam libraries?
About my case:
MRF1
{
cellZone cellZone1;
active yes;
// Fixed patches (by default they 'move' with the MRF zone)
nonRotatingPatches ();
origin (0 0 0);
axis (0 0 1);
omega constant 314.16; // 3000 rpm
}
Does anyone know what may be the issue?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions