|
[Sponsors] |
May 22, 2007, 10:24 |
Hi all,
I am trying to implem
|
#1 |
Member
Ivor Clifford
Join Date: Mar 2009
Location: Switzerland
Posts: 94
Rep Power: 17 |
Hi all,
I am trying to implement a new boundary condition for the solution of the neutron diffusion equation. For this problem we have what is commonly called an extrapolated length boundary condition, i.e. the neutron density goes to zero at some distance past the boundary. I have derived the necessary expressions to be implemented in my extrapolatedLengthFvPatchField class functions (evaluate, gradientInternalCoeffs, etc.) but I'm having problems coding them. I keep getting errors when compiling because the necessary operators aren't found. This is clearly because I don't know how to code the expressions in such a way that they apply to all the templated types (The sphericalTensor class is in particular giving me problems). If anybody could help me, I'd really appreciate it. The gradient at the boundary dF/dx|_B = -1/(deltaX+extrLen)*F_P The value at the boundary F_B = deltaX/(deltaX+extrLen)*F_P where F_P is the cell value (this->internalField()) deltaX is the distance to the boundary (1/deltaCoeffs()) extrLen is the extrapolated length value specified by the user. Any help would be appreciated. Thanks in advance |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Implementing new oscillating boundary condition | chbenz | OpenFOAM Running, Solving & CFD | 0 | February 19, 2009 02:27 |
Implementing PseudoMass Transfer Boundary Condition | rsungkorn | OpenFOAM Running, Solving & CFD | 0 | February 11, 2008 07:28 |
Problems implementing a boundary condition | ogloth | OpenFOAM Running, Solving & CFD | 3 | July 17, 2007 15:36 |
Implementing boundary condition for LES | Linfeng BI | Main CFD Forum | 2 | December 9, 2002 08:58 |
implementing boundary conditions | Andreas Abdon | CFX | 2 | March 15, 2000 13:20 |