CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

using a custom boundary condition in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2024, 05:58
Default using a custom boundary condition in OpenFOAM
  #1
New Member
 
Join Date: Dec 2023
Posts: 11
Rep Power: 2
smhk is on a distinguished road
Hello,I have a written boundary condition for a case and I need to use that for my case.
I go to its folder (the folder is placed in my case folder) and try to compile it by wmake libso but it gives me this following long error:
(Deleted finction error)


Code:
/rotatingWallTangentialVelocity$ wmake libso
wmake libso .
Making dependency list for source file rotatingWallTangentialVelocityFvPatchVectorField.C
g++ -std=c++14 -m64 -DLIB_NAME=libRotatingWallTangentialVelocityFvPatchVectorField.so -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam11/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam11/src/OpenFOAM/lnInclude -I/opt/openfoam11/src/OSspecific/POSIX/lnInclude   -fPIC -c rotatingWallTangentialVelocityFvPatchVectorField.C -o Make/linux64GccDPInt32Opt/rotatingWallTangentialVelocityFvPatchVectorField.o
rotatingWallTangentialVelocityFvPatchVectorField.C: In copy constructor ‘Foam::rotatingWallTangentialVelocityFvPatchVectorField::rotatingWallTangentialVelocityFvPatchVectorField(const Foam::rotatingWallTangentialVelocityFvPatchVectorField&)’:
rotatingWallTangentialVelocityFvPatchVectorField.C:109:39: error: use of deleted function ‘Foam::fixedValueFvPatchField<Type>::fixedValueFvPatchField(const Foam::fixedValueFvPatchField<Type>&) [with Type = Foam::Vector<double>]’
  109 |     tangVelocity_(pivpvf.tangVelocity_)
      |                                       ^
In file included from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:107:9: note: declared here
  107 |         fixedValueFvPatchField(const fixedValueFvPatchField<Type>&) = delete;
      |         ^~~~~~~~~~~~~~~~~~~~~~
rotatingWallTangentialVelocityFvPatchVectorField.C: In member function ‘virtual void Foam::rotatingWallTangentialVelocityFvPatchVectorField::write(Foam::Ostream&) const’:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: error: no matching function for call to ‘writeEntry(const char [6], Foam::Ostream&)’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.C:226,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:490,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/UListIO.C:85:6: note: candidate: ‘template<class T> void Foam::writeEntry(Foam::Ostream&, const Foam::UList<T>&)’
   85 | void Foam::writeEntry(Ostream& os, const UList<T>& l)
      |      ^~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/UListIO.C:85:6: note:   template argument deduction/substitution failed:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: note:   ‘Foam::Ostream’ is not derived from ‘const Foam::UList<T>’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/HashTable.C:645,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/Istream.H:187,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/token.H:495,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UListIO.C:28,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.C:226,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:490,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/HashTableIO.C:96:6: note: candidate: ‘template<class T, class Key, class Hash> void Foam::writeEntry(Foam::Ostream&, const Foam::HashTable<T, Key, Hash>&)’
   96 | void Foam::writeEntry(Ostream& os, const HashTable<T, Key, Hash>& ht)
      |      ^~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/HashTableIO.C:96:6: note:   template argument deduction/substitution failed:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: note:   ‘Foam::Ostream’ is not derived from ‘const Foam::HashTable<T, Key, Hash>’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/FixedList.C:117,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/FixedList.H:380,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.C:28,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:312,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/FixedListIO.C:35:6: note: candidate: ‘template<class T, unsigned int Size> void Foam::writeEntry(Foam::Ostream&, const Foam::FixedList<T, Size>&)’
   35 | void Foam::writeEntry(Ostream& os, const FixedList<T, Size>& l)
      |      ^~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/FixedListIO.C:35:6: note:   template argument deduction/substitution failed:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: note:   ‘Foam::Ostream’ is not derived from ‘const Foam::FixedList<T, Size>’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/UPtrList.C:188,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UPtrList.H:329,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/PtrList.H:44,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.C:29,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:312,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/UPtrListIO.C:32:6: note: candidate: ‘template<class T> void Foam::writeEntry(Foam::Ostream&, const Foam::UPtrList<T>&)’
   32 | void Foam::writeEntry(Ostream& os, const UPtrList<T>& l)
      |      ^~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/UPtrListIO.C:32:6: note:   template argument deduction/substitution failed:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: note:   ‘Foam::Ostream’ is not derived from ‘const Foam::UPtrList<T>’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/VectorSpace.H:232,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/Vector.H:44,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/vector.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/point.H:35,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/pointField.H:35,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edge.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edgeList.H:32,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/PrimitivePatch.H:56,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/primitivePatch.H:35,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:43,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/VectorSpace.C:79:6: note: candidate: ‘template<class Form, class Cmpt, unsigned char Ncmpts> void Foam::writeEntry(Foam::Ostream&, const Foam::VectorSpace<Form, Cmpt, Ncmpts>&)’
   79 | void Foam::writeEntry(Ostream& os, const VectorSpace<Form, Cmpt, Ncmpts>& value)
      |      ^~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/VectorSpace.C:79:6: note:   template argument deduction/substitution failed:
rotatingWallTangentialVelocityFvPatchVectorField.C:180:15: note:   ‘Foam::Ostream’ is not derived from ‘const Foam::VectorSpace<Form, Cmpt, Ncmpts>’
  180 |     writeEntry("value", os);
      |     ~~~~~~~~~~^~~~~~~~~~~~~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/Field.H:343,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/labelField.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/primitiveFields.H:37,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/pointField.H:36,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edge.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edgeList.H:32,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/PrimitivePatch.H:56,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/primitivePatch.H:35,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:43,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                  from rotatingWallTangentialVelocityFvPatchVectorField.C:26:

Last edited by smhk; May 22, 2024 at 11:55.
smhk is offline   Reply With Quote

Old   May 22, 2024, 06:05
Default
  #2
New Member
 
Join Date: Dec 2023
Posts: 11
Rep Power: 2
smhk is on a distinguished road
Continuation of the error:


Code:
/opt/openfoam11/src/OpenFOAM/lnInclude/bool.H:60:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, bool)’
   60 | inline void writeEntry(Ostream& os, const bool value)
      |             ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/bool.H:60:33: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
   60 | inline void writeEntry(Ostream& os, const bool value)
      |                        ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/int.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/label.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:46,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/int32.H:75:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, int32_t)’
   75 | inline void writeEntry(Ostream& os, const int32_t value)
      |             ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/int32.H:75:33: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
   75 | inline void writeEntry(Ostream& os, const int32_t value)
      |                        ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/int.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/label.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:46,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/int64.H:71:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, int64_t)’
   71 | inline void writeEntry(Ostream& os, const int64_t value)
      |             ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/int64.H:71:33: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
   71 | inline void writeEntry(Ostream& os, const int64_t value)
      |                        ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/floatScalar.H:126,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/scalar.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zeroI.H:27,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zero.H:107,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:49,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, Foam::floatScalar)’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/doubleScalar.H:127,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/scalar.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zeroI.H:27,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zero.H:107,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:49,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, Foam::doubleScalar)’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/longDoubleScalar.H:132,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/scalar.H:41,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zeroI.H:27,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/zero.H:107,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:49,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, Foam::longDoubleScalar)’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/Scalar.H:369:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  369 | void writeEntry(Ostream& os, const Scalar value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/Ostream.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OSstream.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OStringStream.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/error.H:51,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UListI.H:26,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:422,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/verbatimString.H:113:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::verbatimString&)’
  113 | void writeEntry(Ostream& os, const verbatimString& value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/verbatimString.H:113:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  113 | void writeEntry(Ostream& os, const verbatimString& value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/keyType.H:41,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/Ostream.H:41,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OSstream.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OStringStream.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/error.H:51,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UListI.H:26,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:422,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/functionName.H:135:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::functionName&)’
  135 | void writeEntry(Ostream& os, const functionName& value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/functionName.H:135:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  135 | void writeEntry(Ostream& os, const functionName& value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/keyType.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/Ostream.H:41,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OSstream.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/OStringStream.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/error.H:51,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UListI.H:26,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/UList.H:422,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/List.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/wordList.H:42,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/patchIdentifier.H:38,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:42,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/variable.H:133:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::variable&)’
  133 | void writeEntry(Ostream& os, const variable& value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/variable.H:133:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  133 | void writeEntry(Ostream& os, const variable& value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/Field.C:28,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/Field.H:343,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/labelField.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/primitiveFields.H:37,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/pointField.H:36,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edge.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/edgeList.H:32,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/PrimitivePatch.H:56,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/primitivePatch.H:35,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/polyPatch.H:43,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatch.H:39,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:47,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/dictionary.H:889:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::dictionary&)’
  889 | void writeEntry(Ostream& os, const dictionary& dict);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/dictionary.H:889:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  889 | void writeEntry(Ostream& os, const dictionary& dict);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/dimensionedType.H:40,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/DimensionedField.H:43,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fvPatchField.H:48,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchField.H:54,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/fixedValueFvPatchFields.H:29,
                 from rotatingWallTangentialVelocityFvPatchVectorField.H:49,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:26:
/opt/openfoam11/src/OpenFOAM/lnInclude/dimensionSet.H:435:6: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::dimensionSet&)’
  435 | void writeEntry(Ostream& os, const dimensionSet& value);
      |      ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/dimensionSet.H:435:26: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  435 | void writeEntry(Ostream& os, const dimensionSet& value);
      |                 ~~~~~~~~~^~
In file included from /opt/openfoam11/src/OpenFOAM/lnInclude/spatialTransform.H:203,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/transformField.H:39,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/transformer.H:45,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/distributionMap.H:134,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/globalMeshDataTemplates.C:28,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/globalMeshData.H:640,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/GeometricBoundaryField.C:29,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/GeometricBoundaryField.H:228,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/GeometricField.H:43,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/GeometricScalarField.H:3,
                 from /opt/openfoam11/src/OpenFOAM/lnInclude/GeometricFields.H:34,
                 from /opt/openfoam11/src/finiteVolume/lnInclude/volFields.H:37,
                 from rotatingWallTangentialVelocityFvPatchVectorField.C:28:
/opt/openfoam11/src/OpenFOAM/lnInclude/spatialTransformI.H:300:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::spatialTransform&)’
  300 | inline void writeEntry(Ostream& os, const spatialTransform& st)
      |             ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/spatialTransformI.H:300:33: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  300 | inline void writeEntry(Ostream& os, const spatialTransform& st)
      |                        ~~~~~~~~~^~
make: *** [/opt/openfoam11/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/rotatingWallTangentialVelocityFvPatchVectorField.o] Error 1
PC:/mnt/k/openfoamorg_pg/Project/rotatingWallTangentialVelocity$
/opt/openfoam11/src/OpenFOAM/lnInclude/spatialTransformI.H:300:13: note: candidate: ‘void Foam::writeEntry(Foam::Ostream&, const Foam::spatialTransform&)’
  300 | inline void writeEntry(Ostream& os, const spatialTransform& st)
      |             ^~~~~~~~~~
/opt/openfoam11/src/OpenFOAM/lnInclude/spatialTransformI.H:300:33: note:   no known conversion for argument 1 from ‘const char [6]’ to ‘Foam::Ostream&’
  300 | inline void writeEntry(Ostream& os, const spatialTransform& st)
      |                        ~~~~~~~~~^~
make: *** [/opt/openfoam11/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/rotatingWallTangentialVelocityFvPatchVectorField.o] Error 1
smhk is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Cyclic boundary condition in foam-extend 4.0 rellumeister OpenFOAM Pre-Processing 2 March 3, 2020 09:03
Custom boundary condition in OpenFOAM shinjanghosh OpenFOAM Programming & Development 1 August 26, 2019 06:30
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00


All times are GMT -4. The time now is 11:57.