|
[Sponsors] |
[Other] #codeStream error: fvCFD.H: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 14, 2022, 16:05 |
#codeStream error: fvCFD.H: No such file or directory
|
#1 |
New Member
lyb
Join Date: Nov 2022
Posts: 3
Rep Power: 4 |
Hi Foamers! I am using #codeStream for my initial and boundary condition. Here is an excerpt of the 0/q:
Code:
internalField #codeStream { codeInclude #{ #include "fvCFD.H" #include "fvMesh.H" #} codeOptions #{ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/meshTools/lnInclude #} codeLibs #{ -lmeshTools \ -lfiniteVolume #} code #{ const IOdictionary& d = static_cast<const IOdictionary&>(dict); const fvMesh& mesh = refCast<const fvMesh>(d.db()); volscalarField alpha(mesh.nCells(), 0.); forAll (alpha, i) { const scalar y = mesh.C()[i][1]; alpha[i] = y; } writeEntry(os, "", alpha); #}; }; Code:
Create time Create mesh for time = 0 Reading physicalProperties Reading field q Using #codeStream at line 18 in file "/home/openfoam/run/fourgyres/0/q" Using #codeStream with "/home/openfoam/run/fourgyres/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_5afc64c4de7b05b26548eb961278d42f0428417d.so" Invoking "wmake -s libso /home/openfoam/run/fourgyres/dynamicCode/_5afc64c4de7b05b26548eb961278d42f0428417d" wmake libso /home/openfoam/run/fourgyres/dynamicCode/_5afc64c4de7b05b26548eb961278d42f0428417d Ctoo: codeStreamTemplate.C /home/openfoam/run/fourgyres/0/q/#codeStream:22:10: fatal error: fvCFD.H: No such file or directory compilation terminated. make: *** [/opt/openfoam10/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/codeStreamTemplate.o] Error 1 |
|
Tags |
boundary condition, codestream, mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 36 | July 16, 2024 04:52 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |