|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Carmelo Baronetto
Join Date: Dec 2023
Posts: 29
Rep Power: 2 ![]() |
Good morning to all,
I kindly ask if anyone can help me. I'm trying to run rhoCentralRK4Foam by SiboLi666 (https://github.com/SiboLi666/rhoCent...am/tree/master). I copied and renamed rhoCentralFoam folder, and then I replaced all original files, while I didn't chenge Make and BCs folders. However "wmake" gives the following output: Code:
Making dependencies: rhoCentralRK4Foam.C g++ -std=c++14 -m64 -pthread -DOPENFOAM=2312 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -IBCs/lnInclude -I/usr/lib/openfoam/openfoam2312/src/finiteVolume/lnInclude -I/usr/lib/openfoam/openfoam2312/src/meshTools/lnInclude -I/usr/lib/openfoam/openfoam2312/src/transportModels/compressible/lnInclude -I/usr/lib/openfoam/openfoam2312/src/thermophysicalModels/basic/lnInclude -I/usr/lib/openfoam/openfoam2312/src/thermophysicalModels/specie/lnInclude -I/usr/lib/openfoam/openfoam2312/src/TurbulenceModels/turbulenceModels/lnInclude -I/usr/lib/openfoam/openfoam2312/src/TurbulenceModels/compressible/lnInclude -I/usr/lib/openfoam/openfoam2312/src/dynamicFvMesh/lnInclude -iquote. -IlnInclude -I/usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude -I/usr/lib/openfoam/openfoam2312/src/OSspecific/POSIX/lnInclude -fPIC -c rhoCentralRK4Foam.C -o Make/linux64GccDPInt32Opt/rhoCentralRK4Foam.o In file included from rhoCentralRK4Foam.C:61: readThermophysicalProperties.H: In function ‘int main(int, char**)’: readThermophysicalProperties.H:23:1: warning: ‘Foam::dimensioned<Type>::dimensioned(const Foam::word&, const Foam::dimensionSet&, Foam::Istream&) [with Type = double]’ is deprecated: Since 2018-11; use "construct from dictionary or entry" [-Wdeprecated-declarations] 23 | ); | ^ In file included from /usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude/dimensionedType.H:577, from /usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude/dimensionedScalar.H:41, from /usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude/TimeState.H:41, from /usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude/Time.H:50, from /usr/lib/openfoam/openfoam2312/src/finiteVolume/lnInclude/fvCFD.H:4, from rhoCentralRK4Foam.C:36: /usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude/dimensionedType.C:332:1: note: declared here 332 | Foam::dimensioned<Type>::dimensioned | ^~~~ In file included from rhoCentralRK4Foam.C:59: createFieldRefs.H:6:6: warning: variable ‘inviscid’ set but not used [-Wunused-but-set-variable] 6 | bool inviscid(true); | ^~~~~~~~ rhoCentralRK4Foam.C:74:12: warning: unused variable ‘CoNum’ [-Wunused-variable] 74 | scalar CoNum = 0.0; | ^~~~~ g++ -std=c++14 -m64 -pthread -DOPENFOAM=2312 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -IBCs/lnInclude -I/usr/lib/openfoam/openfoam2312/src/finiteVolume/lnInclude -I/usr/lib/openfoam/openfoam2312/src/meshTools/lnInclude -I/usr/lib/openfoam/openfoam2312/src/transportModels/compressible/lnInclude -I/usr/lib/openfoam/openfoam2312/src/thermophysicalModels/basic/lnInclude -I/usr/lib/openfoam/openfoam2312/src/thermophysicalModels/specie/lnInclude -I/usr/lib/openfoam/openfoam2312/src/TurbulenceModels/turbulenceModels/lnInclude -I/usr/lib/openfoam/openfoam2312/src/TurbulenceModels/compressible/lnInclude -I/usr/lib/openfoam/openfoam2312/src/dynamicFvMesh/lnInclude -iquote. -IlnInclude -I/usr/lib/openfoam/openfoam2312/src/OpenFOAM/lnInclude -I/usr/lib/openfoam/openfoam2312/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/rhoCentralRK4Foam.o -L/usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib \ -lfiniteVolume -lfvOptions -lmeshTools -lcompressibleTransportModels -lfluidThermophysicalModels -lspecie -lrhoCentralFoam -lturbulenceModels -lcompressibleTurbulenceModels -lthermoTools -ldynamicFvMesh -ltopoChangerFvMesh -lOpenFOAM -ldl \ -lm -o /home/baronetto/OpenFOAM/baronetto-v2312/platforms/linux64GccDPInt32Opt/bin/rhoCentralRK4Foam Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _c39a0f64-20231220 OPENFOAM=2312 version=2312 Arch : "LSB;label=32;scalar=64" Exec : rhoCentralRK4Foam Date : Jan 08 2024 Time : 13:23:04 Host : baronetto-desktop PID : 5792 I/O : uncollated Case : /home/baronetto/OF/tutorials/compressible/rhoCentralFoam/RK4shockTube nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading thermophysical properties Selecting thermodynamics package { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleInternalEnergy; } Reading field U Creating turbulence model Selecting turbulence model type laminar Selecting laminar stress model Stokes Reading thermophysicalProperties fluxScheme: Kurganov Starting time loop Time = 1e-06 ExecutionTime = 0 s Just enter while loop = 0 s max(rPsi)=max(mag(rPsi)) [0 2 -2 0 0 0 0] 100035 min(rPsi)=min(rPsi) [0 2 -2 0 0 0 0] 80028.5 max(c)=max(mag(c)) [0 1 -1 0 0 0 0] 374.259 --> FOAM FATAL ERROR: (openfoam-2312) Operator + : undefined for oriented and unoriented types From bool Foam::checkTypes(const char*, const Foam::orientedType&, const Foam::orientedType&) in file orientedType/orientedType.C at line 86. FOAM aborting [stack trace] ============= #1 Foam::error::simpleExit(int, bool) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so #2 Foam::operator+(Foam::orientedType const&, Foam::orientedType const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so #3 ? in ~/OpenFOAM/baronetto-v2312/platforms/linux64GccDPInt32Opt/bin/rhoCentralRK4Foam #4 ? in ~/OpenFOAM/baronetto-v2312/platforms/linux64GccDPInt32Opt/bin/rhoCentralRK4Foam #5 ? in ~/OpenFOAM/baronetto-v2312/platforms/linux64GccDPInt32Opt/bin/rhoCentralRK4Foam #6 ? in /lib/x86_64-linux-gnu/libc.so.6 #7 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #8 ? in ~/OpenFOAM/baronetto-v2312/platforms/linux64GccDPInt32Opt/bin/rhoCentralRK4Foam ============= I hope someone has already run this solver and can help me. Thank you so much ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Harshith G
Join Date: Jan 2024
Posts: 1
Rep Power: 0 ![]() |
Hi,
Were you able to resolve the issue ? Even I am getting the same error. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM benchmarks on various hardware | eric | Hardware | 794 | Yesterday 12:04 |
[waves2Foam] waves2Foam on an Ubuntu 18.04 with OpenFOAM 1712 | JGadelho | OpenFOAM Community Contributions | 36 | April 27, 2024 16:46 |
Cannot run phoenix on linux opensuse 13.1 kde | mabal | Phoenics | 0 | June 15, 2014 06:16 |
[mesh manipulation] Cannot get refineMesh to run in parallel | smschnob | OpenFOAM Meshing & Mesh Conversion | 2 | June 3, 2014 11:20 |
First Parallel Run - need some help | Gian Maria | OpenFOAM | 3 | June 17, 2011 12:08 |