|
[Sponsors] |
New boundary condition and %23ifdef NoRepository |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 13, 2007, 04:58 |
Hello everybody,
I am once
|
#1 |
Senior Member
Thomas Jung
Join Date: Mar 2009
Posts: 102
Rep Power: 17 |
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! |
|
|
|
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 |