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

probleme withe my new solver

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Laisa

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2014, 13:58
Default probleme withe my new solver
  #1
New Member
 
abdessamad
Join Date: Apr 2014
Posts: 9
Rep Power: 12
abdessamad is on a distinguished road
Hello everybody, I created my solver "myInterFoam" is based on a "interFoam" solver I added her temperature but when I want to run a simulation with him it does not work. knowing that all steps of implementation of new solver are are correct (no error when i tape wmake libso ... wmake):
when i want to use this new solver he give me this long message:


Duplicate entry Newtonian in runtime selection table viscosityModel
#0 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7fc3b62036f5]
#1 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libmyincompressibleTransportModels.so(+0x208ad) [0x7fc3b9d8c8ad]
#2 /lib64/ld-linux-x86-64.so.2(+0xf306) [0x7fc3b9ff2306]
#3 /lib64/ld-linux-x86-64.so.2(+0xf3df) [0x7fc3b9ff23df]
#4 /lib64/ld-linux-x86-64.so.2(+0x16ea) [0x7fc3b9fe46ea]
Duplicate entry powerLaw in runtime selection table viscosityModel
#0 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7fc3b62036f5]
#1 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libmyincompressibleTransportModels.so(+0x20a62) [0x7fc3b9d8ca62]
#2 /lib64/ld-linux-x86-64.so.2(+0xf306) [0x7fc3b9ff2306]
#3 /lib64/ld-linux-x86-64.so.2(+0xf3df) [0x7fc3b9ff23df]
#4 /lib64/ld-linux-x86-64.so.2(+0x16ea) [0x7fc3b9fe46ea]
Duplicate entry CrossPowerLaw in runtime selection table viscosityModel
#0 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7fc3b62036f5]
#1 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libmyincompressibleTransportModels.so(+0x20c0d) [0x7fc3b9d8cc0d]
#2 /lib64/ld-linux-x86-64.so.2(+0xf306) [0x7fc3b9ff2306]
#3 /lib64/ld-linux-x86-64.so.2(+0xf3df) [0x7fc3b9ff23df]
#4 /lib64/ld-linux-x86-64.so.2(+0x16ea) [0x7fc3b9fe46ea]
Duplicate entry BirdCarreau in runtime selection table viscosityModel
#0 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7fc3b62036f5]
#1 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libmyincompressibleTransportModels.so(+0x20dc2) [0x7fc3b9d8cdc2]
#2 /lib64/ld-linux-x86-64.so.2(+0xf306) [0x7fc3b9ff2306]
#3 /lib64/ld-linux-x86-64.so.2(+0xf3df) [0x7fc3b9ff23df]
#4 /lib64/ld-linux-x86-64.so.2(+0x16ea) [0x7fc3b9fe46ea]
Duplicate entry HerschelBulkley in runtime selection table viscosityModel
#0 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x25) [0x7fc3b62036f5]
#1 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/lib/libmyincompressibleTransportModels.so(+0x20f72) [0x7fc3b9d8cf72]
#2 /lib64/ld-linux-x86-64.so.2(+0xf306) [0x7fc3b9ff2306]
#3 /lib64/ld-linux-x86-64.so.2(+0xf3df) [0x7fc3b9ff23df]
#4 /lib64/ld-linux-x86-64.so.2(+0x16ea) [0x7fc3b9fe46ea]
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : myInterFoam
Date : May 22 2014
Time : 17:44:38
Host : "abdessamad-Aspire-E1-571"
PID : 30749
Case : /home/abdessamad/Bureau/temp_drop
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading field T

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar

Reading g
Calculating field g.h

No finite volume options present

time step continuity errors : sum local = 0.00496057, global = -0.00349517, cumulative = -0.00349517
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.0127256, No Iterations 4
time step continuity errors : sum local = 6.31265e-05, global = -1.5248e-05, cumulative = -0.00351041
Courant Number mean: 0.466106 max: 1.11756

Starting time loop

Courant Number mean: 0.416911 max: 0.999602
Interface Courant Number mean: 0.00480189 max: 0.869325
deltaT = 8.94454e-05
Time = 8.94454e-05

smoothSolver: Solving for alpha.water, Initial residual = 0.00483725, Final residual = 1.42992e-09, No Iterations 3
Phase-1 volume fraction = 0.071287 Min(alpha1) = 0 Max(alpha1) = 1.00003
MULES: Correcting alpha.water
MULES: Correcting alpha.water
Phase-1 volume fraction = 0.071287 Min(alpha1) = -0.000942524 Max(alpha1) = 1.00003
smoothSolver: Solving for Ux, Initial residual = 0.192993, Final residual = 7.58645e-07, No Iterations 27
smoothSolver: Solving for Uy, Initial residual = 0.198859, Final residual = 8.19993e-07, No Iterations 24
GAMG: Solving for p_rgh, Initial residual = 0.210275, Final residual = 0.00105549, No Iterations 4
time step continuity errors : sum local = 5.40386e-05, global = -1.33186e-05, cumulative = -0.00352373
GAMG: Solving for p_rgh, Initial residual = 0.00420036, Final residual = 9.22092e-07, No Iterations 7
time step continuity errors : sum local = 1.11871e-06, global = 1.91106e-07, cumulative = -0.00352354


--> FOAM FATAL ERROR:
updateCoeffs(const scalarField& snGradp) MUST be called before updateCoeffs() or evaluate() to set the boundary gradient.

From function fixedFluxPressureFvPatchScalarField::updateCoeffs( )
in file fields/fvPatchFields/derived/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C at line 151.

FOAM exiting

*** glibc detected *** myInterFoam: corrupted double-linked list: 0x0000000001f79d10 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fc3b4edcb96]
/lib/x86_64-linux-gnu/libc.so.6(+0x7ef00)[0x7fc3b4edcf00]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fb89)[0x7fc3b4eddb89]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b968)[0x7fc3b4e99968]
/lib/x86_64-linux-gnu/libc.so.6(+0x3b985)[0x7fc3b4e99985]
/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam5error4exitEi+0x163)[0x7fc3b5e4b203]
/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam35fixedFluxPressureFvPa tchScalarField12updateCoeffsEv+0xab)[0x7fc3b7ad47fb]
/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(+0xe82b73)[0x7fc3b81e5b73]
/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSche meIddE23fvmLaplacianUncorrectedERKNS_14GeometricFi eldIdNS_13fvsPatchFieldENS_11surfaceMeshEEES8_RKNS 3_IdNS_12fvPatchFieldENS_7volMeshEEE+0x70)[0x7fc3b81fced0]
/opt/openfoam230/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam2fv20gaussLaplacianSche meIddE12fvmLaplacianERKNS_14GeometricFieldIdNS_13f vsPatchFieldENS_11surfaceMeshEEERKNS3_IdNS_12fvPat chFieldENS_7volMeshEEE+0xa7)[0x7fc3b81ebbe7]
myInterFoam[0x47a2a7]
myInterFoam[0x441999]
myInterFoam[0x43177b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fc3b4e7f76d]
myInterFoam[0x435d2d]
======= Memory map: ========
00400000-004b1000 r-xp 00000000 08:06 1078069 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/bin/myInterFoam
006b0000-006b3000 r--p 000b0000 08:06 1078069 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/bin/myInterFoam
006b3000-006b4000 rw-p 000b3000 08:06 1078069 /home/abdessamad/OpenFOAM/abdessamad-2.3.0/platforms/linux64GccDPOpt/bin/myInterFoam
01dd0000-032bc000 rw-p 00000000 00:00 0 [heap]
7fc3af83f000-7fc3afc45000 rw-p 00000000 00:00 0
7fc3afc45000-7fc3afc51000 r-xp 00000000 08:06 937343 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc3afc51000-7fc3afe50000 ---p 0000c000 08:06 937343 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc3afe50000-7fc3afe51000 r--p 0000b000 08:06 937343 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc3afe51000-7fc3afe52000 rw-p 0000c000 08:06 937343 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7fc3afe52000-7fc3afe5c000 r-xp 00000000 08:06 937377 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fc3afe5c000-7fc3b005c000 ---p 0000a000 08:06 937377 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fc3b005c000-7fc3b005d000 r--p 0000a000 08:06 937377 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fc3b005d000-7fc3b005e000 rw-p 0000b000 08:06 937377 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
7fc3b005e000-7fc3b0066000 r-xp 00000000 08:06 937341 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fc3b0066000-7fc3b0265000 ---p 00008000 08:06 937341 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fc3b0265000-7fc3b0266000 r--p 00007000 08:06 937341 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fc3b0266000-7fc3b0267000 rw-p 00008000 08:06 937341 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
7fc3b0267000-7fc3b0289000 r-xp 00000000 08:06 442696 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fc3b0289000-7fc3b0489000 ---p 00022000 08:06 442696 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fc3b0489000-7fc3b048a000 r--p 00022000 08:06 442696 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fc3b048a000-7fc3b048b000 rw-p 00023000 08:06 442696 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libthermophysicalFunctions.so
7fc3b048b000-7fc3b057a000 r-xp 00000000 08:06 442717 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fc3b057a000-7fc3b077a000 ---p 000ef000 08:06 442717 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fc3b077a000-7fc3b077e000 r--p 000ef000 08:06 442717 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fc3b077e000-7fc3b077f000 rw-p 000f3000 08:06 442717 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidProperties.so
7fc3b077f000-7fc3b078f000 r-xp 00000000 08:06 442742 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fc3b078f000-7fc3b098e000 ---p 00010000 08:06 442742 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fc3b098e000-7fc3b098f000 r--p 0000f000 08:06 442742 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fc3b098f000-7fc3b0990000 rw-p 00010000 08:06 442742 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidProperties.so
7fc3b0990000-7fc3b0997000 r-xp 00000000 08:06 442710 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidMixtureProperties.so
7fc3b0997000-7fc3b0b96000 ---p 00007000 08:06 442710 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidMixtureProperties.so
7fc3b0b96000-7fc3b0b97000 r--p 00006000 08:06 442710 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidMixtureProperties.so
7fc3b0b97000-7fc3b0b98000 rw-p 00007000 08:06 442710 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libliquidMixtureProperties.so
7fc3b0b98000-7fc3b0b9c000 r-xp 00000000 08:06 442740 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidMixtureProperties.so
7fc3b0b9c000-7fc3b0d9b000 ---p 00004000 08:06 442740 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidMixtureProperties.so
7fc3b0d9b000-7fc3b0d9c000 r--p 00003000 08:06 442740 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidMixtureProperties.so
7fc3b0d9c000-7fc3b0d9d000 rw-p 00004000 08:06 442740 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidMixtureProperties.so
7fc3b0d9d000-7fc3b0da3000 r-xp 00000000 08:06 442683 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libSLGThermo.so
7fc3b0da3000-7fc3b0fa2000 ---p 00006000 08:06 442683 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libSLGThermo.so
7fc3b0fa2000-7fc3b0fa3000 r--p 00005000 08:06 442683 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libSLGThermo.so
7fc3b0fa3000-7fc3b0fa4000 rw-p 00006000 08:06 442683 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libSLGThermo.so
7fc3b0fa4000-7fc3b153b000 r-xp 00000000 08:06 442673 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so
7fc3b153b000-7fc3b173a000 ---p 00597000 08:06 442673 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so
7fc3b173a000-7fc3b175d000 r--p 00596000 08:06 442673 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so
7fc3b175d000-7fc3b1761000 rw-p 005b9000 08:06 442673 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libreactionThermophysicalModels.so
7fc3b1761000-7fc3b1863000 r-xp 00000000 08:06 442724 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libradiationModels.so
7fc3b1863000-7fc3b1a63000 ---p 00102000 08:06 442724 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libradiationModels.so
7fc3b1a63000-7fc3b1a68000 r--p 00102000 08:06 442724 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libradiationModels.so
7fc3b1a68000-7fc3b1a6a000 rw-p 00107000 08:06 442724 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libradiationModels.so
7fc3b1a6a000-7fc3b1a95000 r-xp 00000000 08:06 442660 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidSpecie.so
7fc3b1a95000-7fc3b1c95000 ---p 0002b000 08:06 442660 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidSpecie.so
7fc3b1c95000-7fc3b1c96000 r--p 0002b000 08:06 442660 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidSpecie.so
7fc3b1c96000-7fc3b1c97000 rw-p 0002c000 08:06 442660 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidSpecie.so
7fc3b1c97000-7fc3b1fba000 r-xp 00000000 08:06 442765 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libspecie.so
7fc3b1fba000-7fc3b21b9000 ---p 00323000 08:06 442765 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libspecie.so
7fc3b21b9000-7fc3b21cb000 r--p 00322000 08:06 442765 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libspecie.so
7fc3b21cb000-7fc3b21cc000 rw-p 00334000 08:06 442765 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libspecie.so
7fc3b21cc000-7fc3b21ce000 rw-p 00000000 00:00 0
7fc3b21ce000-7fc3b237a000 r-xp 00000000 08:06 442704 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so
7fc3b237a000-7fc3b257a000 ---p 001ac000 08:06 442704 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so
7fc3b257a000-7fc3b2587000 r--p 001ac000 08:06 442704 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so
7fc3b2587000-7fc3b2589000 rw-p 001b9000 08:06 442704 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so
7fc3b2589000-7fc3b263e000 r-xp 00000000 08:06 442762 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidThermo.so
7fc3b263e000-7fc3b283e000 ---p 000b5000 08:06 442762 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidThermo.so
7fc3b283e000-7fc3b2842000 r--p 000b5000 08:06 442762 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidThermo.so
7fc3b2842000-7fc3b2843000 rw-p 000b9000 08:06 442762 /opt/openfoam230/platforms/linux64GccDPOpt/lib/libsolidThermo.so
7fc3b2843000-7fc3b285b000 r-xp 00000000 08:06 937378 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fc3b285b000-7fc3b2a5a000 ---p 00018000 08:06 937378 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fc3b2a5a000-7fc3b2a5b000 r--p 00017000 08:06 937378 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fc3b2a5b000-7fc3b2a5c000 rw-p 00018000 08:06 937378 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fc3b2a5c000-7fc3b2a60000 rw-p 00000000 00:00 0
7fc3b2a60000-7fc3b2a62000 r-xp 00000000 08:06 916616 /lib/x86_64-linux-gnu/libutil-2.15.so
7fc3b2a62000-7fc3b2c61000 ---p 00002000 08:06 916616 /lib/x86_64-linux-gnu/libutil-2.15.so
7fc3b2c61000-7fc3b2c62000 r--p 00001000 08:06 916616 /lib/x86_64-linux-gnu/libutil-2.15.so
7fc3b2c62000-7fc3b2c63000 rw-p 00002000 08:06 916616 /lib/x86_64-linux-gnu/libutil-2.15.so
7fc3b2c63000-7fc3b2c7a000 r-xp 00000000 08:06 937389 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fc3b2c7a000-7fc3b2e79000 ---p 00017000 08:06 937389 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fc3b2e79000-7fc3b2e7a000 r--p 00016000 08:06 937389 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fc3b2e7a000-7fc3b2e7b000 rw-p 00017000 08:06 937389 /lib/x86_64-linux-gnu/libnsl-2.15.so
7fc3b2e7b000-7fc3b2e7d000 rw-p 00000000 00:00 0
7fc3b2e7d000-7fc3b2ecd000 r-xp 00000000 08:06 158819 /usr/lib/openmpi/lib/libopen-pal.so.0.0.0
7fc3b2ecd000-7fc3b30cd000 ---p 00050000 08:06 158819 /usr/lib/openmpi/lib/libopen-pal.so.0.0.0
7fc3b30cd000-7fc3b30ce000 r--p 00050000 08:06 158819 /usr/lib/openmpi/lib/libopen-pal.so.0.0.0
7fc3b30ce000-7fc3b30d0000 rw-p 00051000 08:06 158819 /usr/lib/openmpi/lib/libopen-pal.so.0.0.0
7fc3b30d0000-7fc3b30d4000 rw-p 00000000 00:00 0
7fc3b30d4000-7fc3b311d000 r-xp 00000000 08:06 158820 /usr/lib/openmpi/lib/libopen-rte.so.0.0.0
7fc3b311d000-7fc3b331d000 ---p 00049000 08:06 158820 /usr/lib/openmpi/lib/libopen-rte.so.0.0.0
7fc3b331d000-7fc3b331e000 r--p 00049000 08:06 158820 /usr/lib/openmpi/lib/libopen-rte.so.0.0.0
7fc3b331e000-7fc3b3320000 rw-p 0004a000 08:06 158820 /usr/lib/openmpi/lib/libopen-rte.so.0.0.0
7fc3b3320000-7fc3b3322000 rw-p 00000000 00:00 0
7fc3b3322000-7fc3b33b7000 r-xp 00000000 08:06 158815 /usr/lib/openmpi/lib/libmpi.so.0.0.2
7fc3b33b7000-7fc3b35b7000 ---p 00095000 08:06 158815 /usr/lib/openmpi/lib/libmpi.so.0.0.2
7fc3b35b7000-7fc3b35b8000 r--p 00095000 08:06 158815 /usr/lib/openmpi/lib/libmpi.so.0.0.2
7fc3b35b8000-7fc3b35c9000 rw-p 00096000 08:06 158815 /usr/lib/openmpi/lib/libmpi.so.0.0.2
7fc3b35c9000-7fc3b35d3000 rw-p 00000000 00:00 0
7fc3b35d3000-7fc3b35e9000 r-xp 00000000 08:06 916394 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc3b35e9000-7fc3b37e8000 ---p 00016000 08:06 916394 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fc3b37e8000-7fc3b37e9000 r--p 00015000 08:06 916394 /lib/x86_64-linux-gnu/libz.so.1.2.3.4Abandon (core dumped)

please someone give me a hint about this problem.Thank you
abdessamad is offline   Reply With Quote

Old   April 15, 2015, 20:37
Default
  #2
New Member
 
Mike Foster
Join Date: Feb 2015
Posts: 12
Rep Power: 11
mfoster is on a distinguished road
Quote:
Originally Posted by abdessamad View Post
Hello everybody, I created my solver "myInterFoam" is based on a "interFoam" solver I added her temperature but when I want to run a simulation with him it does not work. knowing that all steps of implementation of new solver are are correct (no error when i tape wmake libso ... wmake):
when i want to use this new solver he give me this long message:


Duplicate entry Newtonian in runtime selection table viscosityModel
Don't know if this response will still be valuable for you, but I had the same issue when working from a couple tutorials in order to include the energy equation into interFoam.

What happened for me is that I copied the $FOAM_SRC/transportModels/incompressible folder over to my local directory in order to change a few files. In the process, the viscosityModels folder comes with it. The duplicate entries error is due to the Make/options file in your new solver folder "seeing" both the new Models (Newtonian, powerLaw, etc.) you just copied over as well as the old ones in $FOAM_SRC.

Assuming you already added the following line in the Make/options file in your new solver folder...
Code:
EXE_INC = \

-I$(WM_PROJECT_USER_DIR)/src/transportModels/incompressible/lnInclude \
...then you just need to remove the following line:
Code:
-I$(LIB_SRC)/transportModels/incompressible/lnInclude \
Hope this helps!
Mike
mfoster is offline   Reply With Quote

Old   November 1, 2016, 14:19
Default
  #3
New Member
 
Join Date: Oct 2016
Posts: 1
Rep Power: 0
Laisa is on a distinguished road
Hello Mike!
I did it and yet still gives the same error. You have idea of any other solution?
cdunn6754 likes this.
Laisa is offline   Reply With Quote

Old   May 26, 2017, 16:09
Default
  #4
New Member
 
Clint
Join Date: Sep 2015
Posts: 10
Rep Power: 11
cdunn6754 is on a distinguished road
Quote:
Originally Posted by Laisa View Post
Hello Mike!
I did it and yet still gives the same error. You have idea of any other solution?
Did you ever make any progress here? I have a similar situation, I got rid of the link to the original library but it still tells me I have duplicate entries.
cdunn6754 is offline   Reply With Quote

Old   June 2, 2017, 23:38
Default
  #5
New Member
 
Mike Foster
Join Date: Feb 2015
Posts: 12
Rep Power: 11
mfoster is on a distinguished road
What if you go to transportModels/incompressible/Make/files and remove all lines except for the location of your edited incompressibleTwoPhaseMixture?

You should have something like this:
Code:
myIncompressibleTwoPhaseMixture/myIncompressibleTwoPhaseMixture.C

LIB = $(FOAM_USER_LIBBIN)/libmyIncompressibleTransportModels
mfoster is offline   Reply With Quote

Reply


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
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
Interfoam blows on parallel run danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 03:09
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


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