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

New boundary condition and %23ifdef NoRepository

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 13, 2007, 04:58
Default Hello everybody, I am once
  #1
Senior Member
 
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17
tehache is on a distinguished road
Hello everybody,

I am once again trying to implement a new boundary condition. To have a starting point, I simply copied the uniformFixedValueFvPatchField to a new subdirectory and just changed names to something different (uniform to linear ...).
Now, when compiling, something throws in a definition of NoRepository, which makes the header file include the source, resulting in duplicate definitions of everything I define in the source file. If I comment out the inclusion of the source file, it compiles fine, but when running a testcase with such a BC, I get this:

--> FOAM FATAL ERROR : gradientInternalCoeffs cannot be called for a defaultFvPatchField.
(Actual type linearFixedValue)
You are probably trying to solve for a field with a default boundary conditions.

Is this related to commenting out the inclusion of the source file?

Or what is the meaning of this NoRepository definition?

Thank you very much for any hint!
tehache is offline   Reply With Quote

 


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
Which Boundary Condition To Use??? Learner FLUENT 0 October 11, 2008 03:25
Boundary condition of the third kind or Danckwertz boundary condition plage OpenFOAM Running, Solving & CFD 4 October 3, 2006 12:21
Boundary Condition???? Anant FLUENT 0 September 7, 2006 03:41
Slip Boundary Condition for Moving Boundary Shukla Main CFD Forum 3 November 11, 2005 15:02
Boundary Condition KIAN FLUENT 6 February 17, 2000 10:09


All times are GMT -4. The time now is 23:01.