Skip to content

This issue is related to OFv10 #1

@arezayan

Description

@arezayan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions