Skip to content

RerefiedMultiphaseFoam/ error #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MadanBK1 opened this issue Feb 28, 2024 · 5 comments
Open

RerefiedMultiphaseFoam/ error #156

MadanBK1 opened this issue Feb 28, 2024 · 5 comments

Comments

@MadanBK1
Copy link

I'm trying to install the rarefield multiphase foam solver with openfoam 2.4.0 MNF. When I tried to compile code using the install documentation from source, I received the error(faceNormal), which is shown at the bottom. Can anyone help me?.


/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:259:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
SOURCE=boundaries/derived/solidPatchBoundaries/dsmcSolidDeletionPatch/dsmcSolidDeletionPatch.C ; g++ -m64 -Dlinux64 -DWM_DP -DUSE_RANDOM -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -march=native -DNoRepository -ftemplate-depth-100 -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/finiteVolume/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/basic/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/meshTools/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/molecularDynamics/general/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/parallel/decompose/decompositionMethods/lnInclude -IlnInclude -I. -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/OpenFOAM/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccMNFDPOpt/dsmcSolidDeletionPatch.o
In file included from lnInclude/solidParticleCouplingCloud.H:54:0,
from boundaries/derived/solidPatchBoundaries/dsmcSolidDeletionPatch/dsmcSolidDeletionPatch.H:49,
from boundaries/derived/solidPatchBoundaries/dsmcSolidDeletionPatch/dsmcSolidDeletionPatch.C:29:
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:256:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:257:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:258:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:259:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
SOURCE=boundaries/derived/solidPatchBoundaries/solidSimpleDiffuseWallPatch/solidSimpleDiffuseWallPatch.C ; g++ -m64 -Dlinux64 -DWM_DP -DUSE_RANDOM -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -march=native -DNoRepository -ftemplate-depth-100 -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/finiteVolume/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/basic/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/meshTools/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/molecularDynamics/general/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/parallel/decompose/decompositionMethods/lnInclude -IlnInclude -I. -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/OpenFOAM/lnInclude -I/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccMNFDPOpt/solidSimpleDiffuseWallPatch.o
In file included from lnInclude/solidParticleCouplingCloud.H:54:0,
from boundaries/derived/solidPatchBoundaries/solidSimpleDiffuseWallPatch/solidSimpleDiffuseWallPatch.H:49,
from boundaries/derived/solidPatchBoundaries/solidSimpleDiffuseWallPatch/solidSimpleDiffuseWallPatch.C:29:
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:256:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:257:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:258:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
/mnt/home/k0006390/OpenFOAM/OpenFOAM-2.4.0-MNF/src/lagrangian/dsmc/lnInclude/dsmcCloud.H:259:22: warning: \u2018Foam::solidParticleCouplingCloud\u2019 is already a friend of \u2018Foam::dsmcCloud\u2019 [enabled by default]
friend class solidParticleCouplingCloud;
^
boundaries/derived/solidPatchBoundaries/solidSimpleDiffuseWallPatch/solidSimpleDiffuseWallPatch.C: In member function \u2018virtual void Foam::solidSimpleDiffuseWallPatch::controlParticle(Foam::solidParticleCoupling&, Foam::solidParticleCoupling::trackingData&)\u2019:
boundaries/derived/solidPatchBoundaries/solidSimpleDiffuseWallPatch/solidSimpleDiffuseWallPatch.C:100:19: error: \u2018class Foam::solidParticleCoupling\u2019 has no member named \u2018faceNormal\u2019
vector nw = p.faceNormal();
^
make: *** [Make/linux64GccMNFDPOpt/solidSimpleDiffuseWallPatch.o] Error 1

@WangQi0112
Copy link

I also have the problem,do you solve it yet ? Thank you

@MadanBK1
Copy link
Author

MadanBK1 commented Jun 2, 2024

I was able to compile the code with Ubuntu 18.04, which includes GCC compiler 7. However, the cluster I was supposed to use had CentOS 7.9. With the same method, I get the same error.

@WangQi0112
Copy link

WangQi0112 commented Jun 3, 2024 via email

@happypeiso
Copy link

I wasn't able to compile the code with Ubuntu 1804 either,and got the same error of faceNormal,is there any good solution?Thank you so much.

@MadanBK1
Copy link
Author

I was able to compile the code a while ago, but when I try to compile on Ubuntu 18.0, it does not compile. The reason is unknown. I do not want to waste my time with this code because there is no help from the developer. So I'm building my own solver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants