|
[Sponsors] |
September 22, 2010, 16:30 |
Recycled inflow using directMappedFixedValue
|
#1 | |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
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. |
||
Tags |
directmappedfixedvalue, recycled inflow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turbulence inflow generation - recycling method | panda60 | OpenFOAM Running, Solving & CFD | 15 | April 25, 2013 02:34 |
Turbulent Inflow Conditions | ali | OpenFOAM Running, Solving & CFD | 2 | July 9, 2009 10:55 |
inflow condition | Feitoudaer | Main CFD Forum | 7 | March 25, 2007 17:09 |
Prescribed inflow velocity profile - how to? | Alan | Main CFD Forum | 10 | October 28, 2005 13:14 |
Inflow condition for the liquid fuel pool fire | Jianping Zhang | Main CFD Forum | 0 | May 1, 2003 08:24 |