Skip to content
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

RerefiedMultiphaseFoam/ error #156

Open
mpr7366 opened this issue Feb 28, 2024 · 3 comments
Open

RerefiedMultiphaseFoam/ error #156

mpr7366 opened this issue Feb 28, 2024 · 3 comments

Comments

@mpr7366
Copy link

mpr7366 commented Feb 28, 2024

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

@mpr7366
Copy link
Author

mpr7366 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

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

2 participants