Recycled inflow using directMappedFixedValue
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:
Would somebody have an insight on what I might be doing wrong?
Thank you in advance!
|All times are GMT -4. The time now is 13:10.|