CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problems with interDyMFOAM controldict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2013, 10:43
Default Problems with interDyMFOAM controldict
  #1
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Dear all:

I am trying to use the following code in controldict for the sloshingTank2D case.

forces
{
type forces;
functionObjectLibs ("libforces.so"); //Lib to load
outputControl outputTime;
patches (leftWall rightWall);
pName p;
UName U;
rhoName rhoInf;
rhoInf 998.2; //Reference density for fluid
nuInf 1e-06;
CofR (0 0 0); //Origin for moment calculations

outputControl timeStep;
outputInterval 1;
}

My settings in RASproperties file is as follows:

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

RASModel laminar;

turbulence off;

printCoeffs on;

// ************************************************** *********************** //

My settings in turbulence properties is as follows:

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// simulationType laminar;

simulationType RASModel;

// ************************************************** *********************** //

The above settings are based on a post in this forum by mturcios777 dated December 5 2012 where he states that the above settings are required to address the way interDyMFoam deals with laminar flow for two phase problems. After doing this, and running the case in parallel, I get the following error. Can anyone tell me what this error means. It looks like something is being duplicated somewhere, but I dont know where and why.

Thanks in advance.

Duplicate entry alphatJayatillekeWallFunction in runtime selection table fvPatchField
#0 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7f221a8c95c5]
#1 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so(_ZN4Foam12fvPatchField IdE31adddictionaryConstructorToTableINS_12compress ible47alphatJayatillekeWallFunctionFvPatchScalarFi eldEEC1ERKNS_4wordE+0x9f) [0x7f220a06c2ef]
#2 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so(+0xc235b) [0x7f2209f9735b]
#3 /lib64/ld-linux-x86-64.so.2(+0xf876) [0x7f221ec2d876]
#4 /lib64/ld-linux-x86-64.so.2(+0xf930) [0x7f221ec2d930]
#5 /lib64/ld-linux-x86-64.so.2(+0x13fdf) [0x7f221ec31fdf]
#6 /lib64/ld-linux-x86-64.so.2(+0xf706) [0x7f221ec2d706]
#7 /lib64/ld-linux-x86-64.so.2(+0x13809) [0x7f221ec31809]
#8 /lib/x86_64-linux-gnu/libdl.so.2(+0x1026) [0x7f221a12e026]
#9 /lib64/ld-linux-x86-64.so.2(+0xf706) [0x7f221ec2d706]
#10 /lib/x86_64-linux-gnu/libdl.so.2(+0x163c) [0x7f221a12e63c]
#11 /lib/x86_64-linux-gnu/libdl.so.2(dlopen+0x31) [0x7f221a12e0c1]
#12 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6dlOpenERKNS_8fileNameEb+0x 43) [0x7f221a8c36c3]
#13 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam14dlLibraryTable4openERKNS_ 8fileNameEb+0x69) [0x7f221a643e59]
#14 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam14dlLibraryTable4openIPNS_9 HashTableIPFNS_7autoPtrINS_14functionObjectEEERKNS _4wordERKNS_4TimeERKNS_10dictionaryEES6_NS_6string 4hashEEEEEbSE_S8_RKT_+0x150) [0x7f221a64e710]
#15 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam14functionObject3NewERKNS_4 wordERKNS_4TimeERKNS_10dictionaryE+0x100) [0x7f221a64d8a0]
#16 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList4readEv +0x4f8) [0x7f221a64f968]
#17 /opt/openfoam221/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam4Time3runEv+0xdc) [0x7f221a65b3cc]
#18 interDyMFoam() [0x434c8d]
#19 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f2219568ea5]
#20 interDyMFoam() [0x43c56d]
musahossein is offline   Reply With Quote

Old   February 15, 2014, 22:24
Default
  #2
Member
 
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 13
MaLa is on a distinguished road
Hi Musaddeque

Did you figure out a solution to 'Duplicate entry ...'. I have the same error message.
MaLa is offline   Reply With Quote

Old   February 15, 2014, 22:34
Default
  #3
Member
 
Manan
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 13
MaLa is on a distinguished road
Okay, figured it out. If you delete the dep file and re-run wmake libso, the problem gets solved.

I think the problem arises because the library doesn't delete the old existing *.o files and there was one such file with the same name as an implemented turbulence model, that was causing a conflict.
MaLa is offline   Reply With Quote

Old   December 12, 2014, 04:00
Default
  #4
Senior Member
 
Freedom
Join Date: May 2014
Posts: 209
Rep Power: 13
wenxu is on a distinguished road
Dear,Manan,
Where is the dep file ? In which folder? I can not find it, I encounter the same problem.
Thank you in advance.

regards,
wenxu
wenxu is offline   Reply With Quote

Old   December 12, 2014, 22:15
Default
  #5
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by wenxu View Post
Dear,Manan,
Where is the dep file ? In which folder? I can not find it, I encounter the same problem.
Thank you in advance.

regards,
wenxu
The bunch of messages you see do not affect the analysis. There is a patch available that stops the solver from sending these messages to the screen. I will try and put a link here once I find it.
musahossein is offline   Reply With Quote

Old   December 12, 2014, 22:23
Default
  #6
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Quote:
Originally Posted by MaLa View Post
Hi Musaddeque

Did you figure out a solution to 'Duplicate entry ...'. I have the same error message.
Check out this link to posts on this issue. Scroll down a few messages and look at the one by wyldcat. He discusses this problem and fixes.


http://www.cfd-online.com/Forums/ope...tml#post463184
musahossein is offline   Reply With Quote

Reply

Tags
controldict, duplicate entry, interdymfoam, sloshingtank2d


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
Needed Benchmark Problems for FSI Mechstud Main CFD Forum 4 July 26, 2011 13:13
Weird problems running unsteady braennstroem OpenFOAM Running, Solving & CFD 5 June 8, 2011 21:38
Problems with interDyMFoam myheroisalex OpenFOAM 4 September 22, 2009 20:02
Problems with interDyMFoam qinnan OpenFOAM Running, Solving & CFD 0 December 20, 2008 12:56
Help required to solve Hydraulic related problems aero CFX 0 October 30, 2006 12:00


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