Recycled inflow using directMappedFixedValue
Dear Foamers,
I'm trying to implement a recycling inflow somewhat similar to that of Lund, Wu and Squires. OpenFOAM has two pre-programmed boundary conditions allowing a one-to-one remapping of a velocity field taken from a plane in the domain to the inflow, through directMappedFixedValueFvPatchField and through directMappedVelocityFluxFixedValueFvPatchField. My idea was to take the directMappedFixedValue boundary condition and start from there. Soon enough I encountered my first problem when trying to access the "nu" value read in during the initialization of pisoFoam. I'm using the following code: Code:
const dimensionedScalar& readNu = db().lookupObject<IOdictionary>("transportProperties").lookup("nu"); Quote:
Would somebody have an insight on what I might be doing wrong? Thank you in advance! Francois. |
All times are GMT -4. The time now is 04:49. |