CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   fatal error: cyclicAMILduInterface.H: No such file or directory (https://www.cfd-online.com/Forums/openfoam-post-processing/233162-fatal-error-cyclicamilduinterface-h-no-such-file-directory.html)

yoshimi January 15, 2021 20:52

fatal error: cyclicAMILduInterface.H: No such file or directory
 
Hello experts,

I installed OpenFOAM 8 today, and the installation went fine. I ran an OpenFOAM example and it worked just fine.

However, when I tried to run 'wmake' on custom code files, I got the following error:
Code:

/opt/openfoam8/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:10: fatal error: cyclicAMILduInterface.H: No such file or directory
  39 | #include "cyclicAMILduInterface.H"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/opt/openfoam8/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/ysofcFoam.o] Error 1

I figured the issue must be with my options. I followed the advice in this post from 2016:
https://github.com/wyldckat/wallShearStressLES/issues/1
to no avail.
Currently, this is what my Make/options file looks like:
Code:

EXE_INC = \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

EXE_LIBS = \
    -lfiniteVolume \
    -lmeshTools

Any help will be much appreciated!
~yoshimi

hdotyao May 21, 2022 08:46

Hi,
I am having the same problem when compiling a viscosity model from foam-extend 4.1.
Have you solve this problem?


All the best!:)

Marpole June 19, 2023 18:45

In my case, I first searched the file.
Code:

  $ src
  $ find ./ -name cyclicAMILduInterface.H

The results were,
Code:

./meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMILduInterfaceField/cyclicAMILduInterface.H
./meshTools/lnInclude/cyclicAMILduInterface.H

Adding /meshTools/lnInclude/ to the file options in folder Make as below.
Code:

EXE_INC = \
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

It solved the issue.


All times are GMT -4. The time now is 21:35.