|
[Sponsors] |
February 19, 2022, 06:34 |
FOAM Fatal Error wmake failed
|
#1 |
New Member
Max Vorstadt
Join Date: May 2016
Posts: 28
Rep Power: 10 |
Hi, I was trying to run a case with buoyantBoussinesqSimpleFoam and it kept giving me the following error:
Code:
Reading thermophysical properties Reading field T Using dynamicCode for patch slipWall on field T at line 44 in "/home/username/Downloads/case_name/0/T.boundaryField.slipWall" Could not load "/home/username/Downloads/case_name/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcustomSlipWall_f1f1ebc50acbbc2a63e2b97341909b084905be35.so" /home/username/Downloads/case_name/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcustomSlipWall_f1f1ebc50acbbc2a63e2b97341909b084905be35.so: cannot open shared object file: No such file or directory Creating new library in "dynamicCode/customSlipWall/platforms/linux64GccDPInt32Opt/lib/libcustomSlipWall_f1f1ebc50acbbc2a63e2b97341909b084905be35.so" Invoking wmake libso /home/username/Downloads/case_name/dynamicCode/customSlipWall --> FOAM FATAL ERROR: (openfoam-2112) exec(wmake, ...) failed From int Foam::system(const Foam::CStringList&, bool) in file POSIX.C at line 1638. FOAM exiting error::stream() : error stream has failed �%�MV(openfoam-2112) From void Foam::codedBase::createLibrary(Foam::dynamicCode&, const Foam::dynamicCodeContext&) const in file db/dynamicLibrary/codedBase/codedBase.C at line 240. FOAM aborting
Thanks in advance! Oh and btw here's the bit of the 0/T file where it crashes: Code:
slipWall { type codedFixedValue; value uniform 0; name customSlipWall; code #{ scalarField& field = *this; scalar Twall = 1; scalar lambda = 0.01; scalar sigma = 1; scalar Pr = 0.71; scalar gamma = 1.4; scalar rlx = 0.95; // DT/dn scalarField gradient = this->snGrad(); field = rlx*(*this) + (1-rlx)*(Twall - lambda/Pr*(2-sigma)/sigma*2*gamma/(gamma+1)*gradient); #}; codeOptions #{ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude #}; codeInclude #{ #include "fvCFD.H" #include <cmath> #include <iostream> #}; } |
|
Tags |
error, fatal error, make, openfoam, wmake |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 03:35 |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
[Salome] Salome import "Cannot find file "points" in directory..." | mismichael | OpenFOAM Meshing & Mesh Conversion | 5 | June 22, 2019 02:56 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |