CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Implementing new oscillating boundary condition (http://www.cfd-online.com/Forums/openfoam-solving/57937-implementing-new-oscillating-boundary-condition.html)

chbenz February 19, 2009 03:27

Hi FOAMers, I want to write
 
Hi FOAMers,

I want to write a new oscillatingFixedValue boundary condition for meshMotion. So I copy and rename the following dictionaries

/src/tetDecompositionFiniteElement/fields/tetPolyPatchFields/derived/oscillating FixedValue/

and

/src/OpenFOAM/fields/PointPatchFields/derived/oscillatingFixedValue/.

After that I make "wmake libso Make.cellDecomp" an I get the following compilation error:
Making dependency list for source file fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C
SOURCE=fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFix edValueFFTTetPolyPatchFields.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -DCELL_DECOMP -IlnInclude -I. -I/home/cluster/cbenz/OpenFOAM/OpenFOAM-1.4.1-dev/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make.cellDecomp/linux64GccDPOpt/oscillatingFixedValueFFTTetPolyPatchFields.o
In file included from fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:31:
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.H:49: Fehler: expected initializer before »<« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.H:49: Fehler: expected initializer before »<« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.H:49: Fehler: expected initializer before »<« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.H:49: Fehler: expected initializer before »<« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.H:49: Fehler: expected initializer before »<« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde nicht deklariert (not declared)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde nicht deklariert (not declared)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde nicht deklariert (not declared)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde nicht deklariert (not declared)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Warnung: Variable »Foam::debug« wird nicht verwendet (not used)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde in diesem Gültigkeitsbereich nicht definiert (not declared in this scope)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: Templateargument 1 ist ungültig (Template argument 1 is invalid)
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: invalid type in declaration before »;« token
fields/tetPolyPatchFields/derived/oscillatingFixedValueFFT/oscillatingFixedValue FFTTetPolyPatchFields.C:46: Fehler: »oscillatingFixedValueFFTTetPolyPatchScalarField« wurde in diesem Gültigkeitsbereich nicht definiert (not declared in this scope)


All times are GMT -4. The time now is 10:30.