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/)
-   -   cyclicAMILduInterface.H OF 8 and dev (https://www.cfd-online.com/Forums/openfoam-post-processing/230243-cyclicamilduinterface-h-8-dev.html)

ancolli September 14, 2020 15:30

cyclicAMILduInterface.H OF 8 and dev
 
I am trying to run a postprocess application that works well in OF7. But in OF8 and OFdev it gives me the following error:

Code:

Create mesh for time = 211

Using dynamicCode for mixedFvPatchField name at line 90038 in "/home/OF/OpenFOAM/OF-dev/run/folder/211/fi/boundaryField/BC"
Invoking "wmake -s libso /home/OF/OpenFOAM/OF-dev/run/folder/dynamicCode/name"
wmake libso /home/OF/OpenFOAM/OF-dev/run/folder/dynamicCode/name
    Ctoo: mixedFvPatchFieldTemplate.C
In file included from /opt/openfoam8/src/finiteVolume/lnInclude/ddtScheme.C:30,
                from /opt/openfoam8/src/finiteVolume/lnInclude/ddtScheme.H:357,
                from /opt/openfoam8/src/finiteVolume/lnInclude/fvcDdt.C:28,
                from /opt/openfoam8/src/finiteVolume/lnInclude/fvcDdt.H:250,
                from /opt/openfoam8/src/finiteVolume/lnInclude/fvc.H:44,
                from /opt/openfoam8/src/finiteVolume/lnInclude/fvCFD.H:8,
                from /home/OF/OpenFOAM/OF-dev/run/folder/211/fi/boundaryField/BC:91895:
/opt/openfoam8/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:10: fatal error: cyclicAMILduInterface.H: No existe el archivo o el directorio
  39 | #include "cyclicAMILduInterface.H"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/opt/openfoam8/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/mixedFvPatchFieldTemplate.o] Error 1

--> FOAM FATAL IO ERROR:
Failed wmake "dynamicCode/name/platforms/linux64GccDPInt32Opt/lib/libname_d7eda8e32ac9fdc7d43099ed3f35a712b23758a2.so"


file: /home/OF/OpenFOAM/OF-dev/run/folder/211/fi/boundaryField/BC from line 90038 to line 91894.

    From function void Foam::codedBase::createLibrary(Foam::dynamicCode&, const Foam::dynamicCodeContext&) const
    in file db/dynamicLibrary/codedBase/codedBase.C at line 203.

does anyone know what is happening? or how to solve it?

ancolli October 14, 2020 14:48

The problem were the codedMixed BC

by commenting the followign part it is solved

Code:


/*codeInclude
    #{
        #include "fvCFD.H"
        #include "fvcSnGrad.H"
    #};

    codeOptions
    #{
        -I$(LIB_SRC)/finiteVolume/lnInclude \
            -I$(LIB_SRC)/meshTools/lnInclude
    #};*/



All times are GMT -4. The time now is 15:25.