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

This issue is related to OFv10 #1

Open
arezayan opened this issue Nov 30, 2022 · 1 comment
Open

This issue is related to OFv10 #1

arezayan opened this issue Nov 30, 2022 · 1 comment

Comments

@arezayan
Copy link

Hello dear @AndreaDesan

I want to compile the "passiveScalarSimpeFoam" with my OFv10, but I got errors after running the "wmake" command:

wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
wmakeLnInclude error: base directory /opt/openfoam10/src/TurbulenceModels/turbulenceModels/ does not exist
wmakeLnInclude error: base directory /opt/openfoam10/src/TurbulenceModels/incompressible/ does not exist
Making dependency list for source file passiveScalarSimpleFoam.C
could not open file singlePhaseTransportModel.H for source file passiveScalarSimpleFoam.C due to No such file or directory
could not open file turbulentTransportModel.H for source file passiveScalarSimpleFoam.C due to No such file or directory
could not open file fvOptions.H for source file passiveScalarSimpleFoam.C due to No such file or directory
could not open file createFvOptions.H for source file passiveScalarSimpleFoam.C due to No such file or directory
g++ -std=c++14 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam10/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam10/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam10/src/transportModels -I/opt/openfoam10/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam10/src/finiteVolume/lnInclude -I/opt/openfoam10/src/meshTools/lnInclude -I/opt/openfoam10/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam10/src/OpenFOAM/lnInclude -I/opt/openfoam10/src/OSspecific/POSIX/lnInclude -fPIC -c passiveScalarSimpleFoam.C -o Make/linux64GccDPInt32Opt/passiveScalarSimpleFoam.o
passiveScalarSimpleFoam.C:34:10: fatal error: singlePhaseTransportModel.H: No such file or directory
34 | #include "singlePhaseTransportModel.H"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/opt/openfoam10/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/passiveScalarSimpleFoam.o] Error 1
.
what's the problem with "singlePhaseTransportModel.H"? doesnt it exist in this version(v10)?

linux64GccDPInt32Opt.zip

@AndreaDesan
Copy link
Owner

I've developed this solver ~3 years ago using pimpleFoam's implementation from OFv6 or OFv7 (can't remember right now!) as a starting point - I'm assuming the structure of the code has changed since then, so you're probably better off cloning the existing pimpleFoam solver in OFv10 and adding the equation for the passive scalar in that solver.

Closing the issue as I'm not planning to do any further work to upgrade this solver for newer OF releases.

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