|
[Sponsors] |
November 25, 2022, 13:56 |
openfoam 2206 twoPhaseEulerFoam
|
#1 |
New Member
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5 |
Hi
I am using twoPhaseEulerFoam copied from a tutorial and when I add function objects to the controlDict I get the below written out: Duplicate entry laminar in runtime table TurbulenceModel #0 /usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x42) [0x7faa1bb25b02] #1 /usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib/libreactingMultiphaseSystem.so(+0x144a12) [0x7faa04655a12] # Its actually very long list of libs after this point my function objects look like this: functions { inletFlowPressure // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (p); writeControl writeTime; writeFields no; regionType patch; name inlet; // put the name of your patch/outlet here operation areaAverage; } inletFlowGas // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (phi); writeControl writeTime; writeFields no; regionType patch; name inlet; // put the name of your patch/outlet here operation weightedSum; weightField alpha.gas; } inletFlowWater // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (phi); writeControl writeTime; writeFields no; regionType patch; name inlet; // put the name of your patch/outlet here operation weightedSum; weightField alpha.water; } outletFlowPressure // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (p); writeControl writeTime; writeFields no; regionType patch; name outlet; // put the name of your patch/outlet here operation areaAverage; } outletFlowGas // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (phi); writeControl writeTime; writeFields no; regionType patch; name outlet; // put the name of your patch/outlet here operation weightedSum; weightField alpha.gas; } outletFlowWater // pick your name { type surfaceFieldValue; libs (fieldFunctionObjects); fields (phi); writeControl writeTime; writeFields no; regionType patch; name outlet; // put the name of your patch/outlet here operation weightedSum; weightField alpha.water; } } when I comment these out the error goes. Does any one know what the problem is. |
|
Tags |
openfoam 2206, twophaseeuelrfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |