Coder Social home page Coder Social logo

xiaoh / sedifoam Goto Github PK

View Code? Open in Web Editor NEW
99.0 99.0 48.0 72.12 MB

CFD-DEM Solver with emphasis on sediment transport

License: GNU General Public License v2.0

Shell 2.50% Python 4.55% C++ 53.88% Makefile 0.04% TeX 1.01% C 38.02%
cfd-dem discrete-element-method openfoam-library sediment-transport

sedifoam's People

Contributors

iurnus avatar shelllbw avatar xiaoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sedifoam's Issues

sediFoam

Dear Xiaoh,
I successfully completed steps 1-10 , but I met a problem when I executed the last step"wmake"
/usr/bin/ld: 找不到 -llammps_shanghailinux
collect2: error: ld returned 1 exit status
/home/mcy/OpenFOAM/OpenFOAM-2.3.1/wmake/Makefile:149: recipe for target '/home/mcy/OpenFOAM/mcy-2.3.1/platforms/linux64GccDPOpt/bin/lammpsFoam' failed
make: *** [/home/mcy/OpenFOAM/mcy-2.3.1/platforms/linux64GccDPOpt/bin/lammpsFoam] Error 1
Thanks,
Chengyun Ma

Greetings,

I just started using SediFoam. It would be great if I will get rids of this problem. I am using sediFoam Solver for fluid-particle interaction. I am giving a run time of 50 sec... but, my simulation stops at 0.5 sec. giving below result:

Need the help of experts.

My workstation has a RAM of 32 GB and during the simulation, RAM utilization is around 20- 30% of the total. I think the size of RAM is not the issue, somewhere LAMMPS has the issue which I am not able to figure out.

Time = 0.5069

Courant Number mean: 0.0434342 max: 0.0771597
Max Ur Courant Number = 0.096
Dispersed phase volume fraction = 0.000353135 Min(alpha) = 2.48135e-25 Max(alpha) = 0.0404105
DICPCG: Solving for p, Initial residual = 0.0125163, Final residual = 8.40199e-11, No Iterations 158
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 0.00157104, Final residual = 9.3532e-11, No Iterations 150
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DILUPBiCG: Solving for k, Initial residual = 0.00106239, Final residual = 8.0097e-07, No Iterations 1
bounding k, min: -0.000315745 max: 0.290225 average: 0.00973746
Moving Particles
Time to add particle: 0.0005
is: x0 0.100000, x1 0.300000, y0 0.000000; y1 0.300000 z0 0.000000, z1 0.150000. Incoming drag not consistent with local particle number.
LAMMPS evolving..
Step Temp E_pair E_mol TotEng Press
506800 0.0013906323 0 0 9.6647755e-08 0.025900342
506900 0.0013935887 0 0 9.6853223e-08 0.025881173
Loop time of 0.107697 on 6 procs for 100 steps with 21583 atoms
finished moving the particles in LAMMPS.
the number of particles in LAMMPS now is: 21583
data transformed into each processor!
Incoming drag is: 1584, local particle number is: 1585.--------------------------------------------------------------------------
mpirun noticed that process rank 5 with PID 3219 on node cmg10-HP-Z640-Workstation exited on signal 11 (Segmentation fault).

Originally posted by @Niteshdubey1 in #1 (comment)

dude, how do you create alpha?i don't know how to do it

compilation error

Hi all, I managed to get to step 12.

I get the following error:

In file included from softParticleCloud.H:47:0,
from softParticleIO.C:27:
/home/name/sediFoam-master/lammpsFoam/include/LammpsCollection.H:7:10: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^~~~~~~
compilation terminated.
/home/name/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/softParticleIO.o' failed
make: *** [Make/linux64GccDPInt32Opt/softParticleIO.o] Error 1
make: *** Waiting for unfinished jobs....
lammpsFoam.C:44:10: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^~~~~~~
compilation terminated.
/home/name/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/lammpsFoam.o' failed
make: *** [Make/linux64GccDPInt32Opt/lammpsFoam.o] Error 1
In file included from softParticleCloud.H:47:0,
from softParticle.C:29:
/home/name/sediFoam-master/lammpsFoam/include/LammpsCollection.H:7:10: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^~~~~~~
compilation terminated.
In file included from softParticleCloud.H:47:0,
from softParticleCloud.C:27:
/home/name/sediFoam-master/lammpsFoam/include/LammpsCollection.H:7:10: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^~~~~~~
/home/name/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/softParticle.o' failed
compilation terminated.
make: *** [Make/linux64GccDPInt32Opt/softParticle.o] Error 1
In file included from softParticleCloud.H:47:0,
from enhancedCloud.H:41,
from enhancedCloud.C:27:
/home/name/sediFoam-master/lammpsFoam/include/LammpsCollection.H:7:10: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^~~~~~~
compilation terminated.
/home/name/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/softParticleCloud.o' failed
make: *** [Make/linux64GccDPInt32Opt/softParticleCloud.o] Error 1
/home/name/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/enhancedCloud.o' failed
make: *** [Make/linux64GccDPInt32Opt/enhancedCloud.o] Error 1

--> I have a ubuntu 18.04 Of231 and lammps1Feb-14.

Any ideas ??
Did i set the link in options wrong ???
Best H

Issues about newer versions.

Dear Rui,

I've managed to compile and use sediFoam. I used OpenFoam240 and LAMMPS-1Feb24. Thank you very much! However, I have some other questions. Are there any new versions of sediFoam avaliable or under developed that supports latest LAMMPS? I tried to compile current sediFoam with latest stable LAMMPS but failed at compiling compute_cohe_local.cpp.

Huge Thanks!
An Yan

Simulation stops with segmentation fault

Greetings,

I am a new guy who just started using SediFoam. It would be great if I will get rids of this problem. I am using sediFoam Solver for fluid-particle interaction. I am giving a run time of 50 sec... but, my simulation stops at 0.5 sec. giving below result:

Need the help of experts.

My workstation has a RAM of 32 GB and during the simulation, RAM utilization is around 20- 30% of the total. I think the size of RAM is not the issue, somewhere LAMMPS has the issue which I am not able to figure out.

Time = 0.5069

Courant Number mean: 0.0434342 max: 0.0771597
Max Ur Courant Number = 0.096

Dispersed phase volume fraction = 0.000353135 Min(alpha) = 2.48135e-25 Max(alpha) = 0.0404105
DICPCG: Solving for p, Initial residual = 0.0125163, Final residual = 8.40199e-11, No Iterations 158
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 8.4126e-11, Final residual = 8.4126e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 0.00157104, Final residual = 9.3532e-11, No Iterations 150
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DICPCG: Solving for p, Initial residual = 9.35416e-11, Final residual = 9.35416e-11, No Iterations 0
DILUPBiCG: Solving for k, Initial residual = 0.00106239, Final residual = 8.0097e-07, No Iterations 1
bounding k, min: -0.000315745 max: 0.290225 average: 0.00973746
Moving Particles
Time to add particle: 0.0005
is: x0 0.100000, x1 0.300000, y0 0.000000; y1 0.300000 z0 0.000000, z1 0.150000. Incoming drag not consistent with local particle number.
LAMMPS evolving..
Step Temp E_pair E_mol TotEng Press
506800 0.0013906323 0 0 9.6647755e-08 0.025900342
506900 0.0013935887 0 0 9.6853223e-08 0.025881173
Loop time of 0.107697 on 6 procs for 100 steps with 21583 atoms
finished moving the particles in LAMMPS.
the number of particles in LAMMPS now is: 21583
data transformed into each processor!
Incoming drag is: 1584, local particle number is: 1585.--------------------------------------------------------------------------
mpirun noticed that process rank 5 with PID 3219 on node cmg10-HP-Z640-Workstation exited on signal 11 (Segmentation fault).

xiaocase3: single particle in a 2-D domain

Dear all,
I am new to sedifoam. I simulated xiaocase3 in cases folder in sedifoam directory (/sedifoam/cases/auto-testing/test-cases/xiaocase3),the photo from paraview result is attached, I want to know what is Uc and Ur, I found that Ua, Ub is the velocity for particle and carrier, but I do not know what are Uc and Ur. Does anybody know what are Ur and Uc and what is carrier? is carrier fluid surrounding
pic-paraview
the particle?

Compiler error

(1) I can not find the space package in step 4 ("How to compile?" page) even I install the exact same version with your LAMMPS;

(2) I can not understand the step 8 and could you help me in the specific commands that I should use?

(3) My compiling process was terminated because of lack of a file named "laminar.H" which confused me a lot.

Error code:
In step 5 and 7:
No rule to make target '../../lib/gpu/Makefile.lammps
Makefile:77: recipe for target 'shanghailinux' failed
make: *** [shanghailinux] Error 2

In step 9:
Error: binding 'comst Foam::Field' to reference of type 'Foam::scalarField& {aka Foam::Field}' discards qualifiers
scalarField& KWenYu = tKWenYu();
make: *** [make/linux64Gcc62DPInt320pt/ErgunWenYu/ErgunWenYu.o] Error 1

Package installation error

Dear Xiaoh,
I tried to install this code as you explained in readme with Allwmake.sh but I faced two issue to install the package.

Error:
lammpsFoam.C:41:17: fatal error: mpi.h: No such file or directory
#include "mpi.h"
^
compilation terminated.
make: *** [Make/linux64GccDPInt32Opt/lammpsFoam.o] Error 1

Thanks,
Saeid

lammpsFOAM Compilation Error

I followed the instructions, and I've already installed OpenFOAM & complied the lammps packages. But, there were some errors occurred while I was compiling the softParticleCloud.C (lammpsFOAM).

  • OpenFOAM version: 2.4.0
  • Lammps version: 1Feb14

Issues: (part of commands)

softParticleCloud.C:73:23: note: in expansion of macro ‘MPI_COMM_WORLD’
             MPI_Abort(MPI_COMM_WORLD, 1);
                       ^
softParticleCloud.C:80:21: error: ‘lammps_sync’ was not declared in this scope
     lammps_sync(lmp_);
                     ^
In file included from /home/ay/OpenFOAM/ay-2.4.0/run/sediFoam/lammpsFoam/include/LammpsCollection.H:7:0,
                 from softParticleCloud.H:47,
                 from softParticleCloud.C:27:
/usr/lib/openmpi/include/mpi.h:305:72: warning: use of old-style cast [-Wold-style-cast]
 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
                                                                        ^
/usr/lib/openmpi/include/mpi.h:902:18: note: in expansion of macro ‘OMPI_PREDEFINED_GLOBAL’
 #define MPI_CHAR OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_char)
                  ^
softParticleCloud.C:105:26: note: in expansion of macro ‘MPI_CHAR’
         MPI_Bcast(line,n,MPI_CHAR,0,MPI_COMM_WORLD);
                          ^
/usr/lib/openmpi/include/mpi.h:305:73: warning: use of old-style cast [-Wold-style-cast]
 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
                                                                         ^
/usr/lib/openmpi/include/mpi.h:902:18: note: in expansion of macro ‘OMPI_PREDEFINED_GLOBAL’
 #define MPI_CHAR OMPI_PREDEFINED_GLOBAL(MPI_Datatype, ompi_mpi_char)
                  ^
softParticleCloud.C:105:26: note: in expansion of macro ‘MPI_CHAR’
         MPI_Bcast(line,n,MPI_CHAR,0,MPI_COMM_WORLD);
                          ^
/usr/lib/openmpi/include/mpi.h:305:72: warning: use of old-style cast [-Wold-style-cast]
 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
                                                                        ^
/usr/lib/openmpi/include/mpi.h:879:24: note: in expansion of macro ‘OMPI_PREDEFINED_GLOBAL’
 #define MPI_COMM_WORLD OMPI_PREDEFINED_GLOBAL( MPI_Comm, ompi_mpi_comm_world)
                        ^
softParticleCloud.C:105:37: note: in expansion of macro ‘MPI_COMM_WORLD’
         MPI_Bcast(line,n,MPI_CHAR,0,MPI_COMM_WORLD);
                                     ^
/usr/lib/openmpi/include/mpi.h:305:73: warning: use of old-style cast [-Wold-style-cast]
 #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
                                                                         ^
/usr/lib/openmpi/include/mpi.h:879:24: note: in expansion of macro ‘OMPI_PREDEFINED_GLOBAL’
 #define MPI_COMM_WORLD OMPI_PREDEFINED_GLOBAL( MPI_Comm, ompi_mpi_comm_world)
                        ^
softParticleCloud.C:105:37: note: in expansion of macro ‘MPI_COMM_WORLD’
         MPI_Bcast(line,n,MPI_CHAR,0,MPI_COMM_WORLD);
                                     ^
softParticleCloud.C:119:40: error: ‘lammps_get_global_n’ was not declared in this scope
     nGlobal_ = lammps_get_global_n(lmp_);
                                        ^
softParticleCloud.C:131:40: error: ‘lammps_get_initial_np’ was not declared in this scope
     lammps_get_initial_np(lmp_, npArray);
                                        ^
softParticleCloud.C:163:5: error: ‘lammps_get_initial_info’ was not declared in this scope
     );
     ^
softParticleCloud.C:189:24: error: ‘lammps_step’ was not declared in this scope
     lammps_step(lmp_, 0);
                        ^
softParticleCloud.C:192:46: error: ‘lammps_get_local_domain’ was not declared in this scope
     lammps_get_local_domain(lmp_, lmpLocalBox);
                                              ^
softParticleCloud.C: In member function ‘void Foam::softParticleCloud::adjustLampTimestep()’:
softParticleCloud.C:212:47: error: ‘lammps_get_timestep’ was not declared in this scope
     double dtLampIn = lammps_get_timestep(lmp_);
                                               ^
softParticleCloud.C:227:40: error: ‘lammps_set_timestep’ was not declared in this scope
     lammps_set_timestep(lmp_, dtLampAdj);
                                        ^
In file included from softParticleCloud.C:27:0:
softParticleCloud.H: In constructor ‘Foam::softParticleCloud::softParticleCloud(const volVectorField&, const volScalarField&, Foam::volVectorField&, Foam::dimensionedScalar, Foam::volScalarField&, Foam::IOdictionary&)’:
softParticleCloud.H:109:27: warning: ‘Foam::softParticleCloud::mesh_’ will be initialized after [-Wreorder]
             const fvMesh& mesh_;
                           ^
softParticleCloud.H:103:27: warning:   ‘Foam::dimensionedScalar Foam::softParticleCloud::nu_’ [-Wreorder]
         dimensionedScalar nu_;
                           ^
softParticleCloud.C:421:1: warning:   when initialized here [-Wreorder]
 softParticleCloud::softParticleCloud
 ^
In file included from softParticleCloud.C:27:0:
softParticleCloud.H:181:22: warning: ‘Foam::softParticleCloud::cloudProperties_’ will be initialized after [-Wreorder]
         IOdictionary cloudProperties_;
                      ^
softParticleCloud.H:179:25: warning:   ‘Foam::volVectorField& Foam::softParticleCloud::Ue_’ [-Wreorder]
         volVectorField& Ue_;
                         ^
softParticleCloud.C:421:1: warning:   when initialized here [-Wreorder]
 softParticleCloud::softParticleCloud
 ^
In file included from softParticleCloud.C:27:0:
softParticleCloud.H:225:29: warning: ‘Foam::softParticleCloud::gamma_’ will be initialized after [-Wreorder]
             volScalarField& gamma_;
                             ^
softParticleCloud.H:116:20: warning:   ‘Foam::scalarList Foam::softParticleCloud::cpuTimeSplit_’ [-Wreorder]
         scalarList cpuTimeSplit_;
                    ^
softParticleCloud.C:421:1: warning:   when initialized here [-Wreorder]
 softParticleCloud::softParticleCloud
 ^
softParticleCloud.C: In member function ‘void Foam::softParticleCloud::lammpsEvolveForward(Foam::vector*, Foam::vector*, int*, Foam::vectorList, Foam::vectorList, int)’:
softParticleCloud.C:846:9: error: ‘lammps_put_local_info’ was not declared in this scope
         );
         ^
softParticleCloud.C:876:9: error: ‘lammps_put_local_info’ was not declared in this scope
         );
         ^
softParticleCloud.C:893:28: error: ‘lammps_step’ was not declared in this scope
     lammps_step(lmp_, nstep);
                            ^
softParticleCloud.C:900:44: error: ‘lammps_get_local_n’ was not declared in this scope
     int lmpNLocal = lammps_get_local_n(lmp_);
                                            ^
softParticleCloud.C:922:5: error: ‘lammps_get_local_info’ was not declared in this scope
     );
     ^
softParticleCloud.C: In member function ‘void Foam::softParticleCloud::addNewParticles()’:
softParticleCloud.C:1198:86: error: ‘lammps_create_particle’ was not declared in this scope
     lammps_create_particle(lmp_, npAdd, posArray, tagArray, ds, rhos, types, velArray);
                                                                                      ^
softParticleCloud.C:1104:11: warning: unused variable ‘myrank’ [-Wunused-variable]
     label myrank = Pstream::myProcNo();
           ^
softParticleCloud.C: In member function ‘void Foam::softParticleCloud::addAndDeleteParticle()’:
softParticleCloud.C:1231:61: error: ‘lammps_delete_particle’ was not declared in this scope
             lammps_delete_particle(lmp_, deleteList, nDelete);
                                                             ^
softParticleCloud.C:1264:57: error: ‘lammps_delete_particle’ was not declared in this scope
         lammps_delete_particle(lmp_, deleteList, nDelete);
                                                         ^
softParticleCloud.C: In member function ‘bool Foam::softParticleCloud::pointInRegion(Foam::vector&, Foam::tensor&)’:
softParticleCloud.C:1389:16: warning: unused variable ‘hE’ [-Wunused-variable]
         scalar hE = mag(p2p1E);
                ^
softParticleCloud.C:1391:16: warning: unused variable ‘dotE’ [-Wunused-variable]
         scalar dotE = (p2p1E & pxp1E);
                ^
make: *** [Make/linux64GccDPOpt/softParticleCloud.o] Error 1

There were some errors like xxx not declared. How could I resolve it?

Huge Thanks.

Sedifoam Compilation Error on Last Step (12th)

We successfully went through up to step number 11 but received an error on the 12th step while running the command "wmake" . I am attaching the error for reference:

g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -IammpsFoamTurbulenceModels/include -I/scratch/17cl91f01/sedifoam/sediFoam/lammpsFoam/include -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/ -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/GRANULAR -I/usr/include/openmpi-x86_64/ -I/usr/lib64/openmpi/lib/ -I/scratch/17cl91f01/sedifoam/lammps-1Feb14/src/Obj_shanghailinux -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/lagrangian/basic/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/meshTools/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/cfdTools/incompressible -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/cfdTools/general/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/randomProcesses/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/triSurface/lnInclude -IchPressureGrad/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/transportModels -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/transportModels/incompressible/singlePhaseTransportModel -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/turbulenceModels/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/incompressible/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/TurbulenceModels/phaseIncompressible/lnInclude -IdragModels/lnInclude -IlnInclude -I. -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude -I/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OSspecific/POSIX/lnInclude -fPIC -c lammpsFoam.C -o Make/linux64GccDPInt32Opt/lammpsFoam.o
In file included from createFields.H:243:0,
from lammpsFoam.C:61:
createIBMForce.H: In function ‘int main(int, char**)’:
createIBMForce.H:20:9: error: no matching function for call to ‘Foam::dimensioned::lookupOrDefault(const char [13], Foam::IOdictionary&, double, const Foam::dimensionSet&)’
)
^
createIBMForce.H:20:9: note: candidates are:
In file included from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.H:343:0,
from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedScalar.H:38,
from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/TimeState.H:38,
from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/Time.H:47,
from /scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/fvCFD.H:6,
from lammpsFoam.C:35:
/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:177:25: note: static Foam::dimensioned Foam::dimensioned::lookupOrDefault(const Foam::word&, const Foam::dictionary&, const Foam::dimensionSet&, const Type&) [with Type = double]
Foam::dimensioned Foam::dimensioned::lookupOrDefault
^
/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:177:25: note: no known conversion for argument 3 from ‘double’ to ‘const Foam::dimensionSet&’
/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:197:25: note: static Foam::dimensioned Foam::dimensioned::lookupOrDefault(const Foam::word&, const Foam::dictionary&, const Type&) [with Type = double]
Foam::dimensioned Foam::dimensioned::lookupOrDefault
^
/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/OpenFOAM/lnInclude/dimensionedType.C:197:25: note: candidate expects 3 arguments, 4 provided
In file included from lammpsFoam.C:64:0:
/scratch/17cl91f01/sedifoam/openfoam/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/initContinuityErrs.H:37:8: warning: unused variable ‘cumulativeContErr’ [-Wunused-variable]
scalar cumulativeContErr = 0;
^
make: *** [Make/linux64GccDPInt32Opt/lammpsFoam.o] Error 1

sediFoam

Dear Xiaoh,
I successfully completed steps 1-11 , but I met a problem when I executed the last step"wmake"
/usr/bin/ld: 找不到 -llammps_shanghailinux
collect2: error: ld returned 1 exit status
/home/mcy/OpenFOAM/OpenFOAM-2.3.1/wmake/Makefile:149: recipe for target '/home/mcy/OpenFOAM/mcy-2.3.1/platforms/linux64GccDPOpt/bin/lammpsFoam' failed
make: *** [/home/mcy/OpenFOAM/mcy-2.3.1/platforms/linux64GccDPOpt/bin/lammpsFoam] Error 1
Thanks,
Chengyun Ma

Incoming drag not consistent with local particle number

Hi SediFomers,

I am new to this SediFoam platform. Need your help to tackle this issue. Any help will be appreciated. I am facing an issue of incoming drag not consistent with local particle number.

Step Temp E_pair E_mol TotEng Press
is: x0 -0.500000, x1 0.500000, y0 0.000000; y1 0.024000 z0 -0.100000, z1 0.000000. Incoming drag not consistent with local particle number.
2760 1.7248693e-06 0 0 2.5365726e-08 0.0012405613
2770 1.736207e-06 0 0 2.5532456e-08 0.00115734
Loop time of 0.000226569 on 10 procs for 10 steps with 102 atoms
finished moving the particles in LAMMPS.
the number of particles in LAMMPS now is: 102
data transformed into each processor!
Incoming drag is: 51, local particle number is: 52.
--------------------------------------------------------------------------
mpirun noticed that process rank 4 with PID 4639 on node cmg10 exited on signal 11 (Segmentation fault).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.