CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

openfoam 2206 twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2022, 12:56
Default openfoam 2206 twoPhaseEulerFoam
  #1
New Member
 
London
Join Date: Dec 2020
Posts: 10
Rep Power: 5
CBranch171 is on a distinguished road
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.
CBranch171 is offline   Reply With Quote

Reply

Tags
openfoam 2206, twophaseeuelrfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 07: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 06:25
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 21:17.