-
Notifications
You must be signed in to change notification settings - Fork 113
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
Comments
I also have the problem,do you solve it yet ? Thank you |
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. |
Thank you for your help!I will try it
在 2024-06-03 02:56:48,Madan B K ***@***.***> 写道:
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.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
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. |
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. |
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
The text was updated successfully, but these errors were encountered: