Contrib/timeVaryingNonuniformFixedValue
This boundary condition can be used to prescribe temporally and spatially varying values on a patch.
1 Usage
In the constant/ directory, create a subdirectory with the name of the patch on which you want to prescribe the fields. You have to specify the entire patch fields for some time instants. The BC will interpolate in time between these instants to the current time step. Create one file for each time instant in this directory. The name of each file must be the corresponding time value. Each file must contain a list with values for each face in the patch.
2 ToDo
- Code for proper error handling has to be added
- Support for domain decomposition should be implemented somehow. So far for parallel computations, the entire inflow patch has to stay on one processor.
3 Download
From this wiki: timeVaryingNonuniformFixedValue.tgz
or get the latest version from our SVN-Repository:
svn co http://139.30.100.250/svn/OpenFOAM/trunk/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/fields/fvPatchFields/derivedFvPatchFields/timeVaryingNonuniformFixedValue
with username 'gast' and password 'gast'
The address above shows where the files go. Do not forget to add the entry fields/fvPatchFields/derivedFvPatchFields/timeVaryingNonuniformFixedValues.C to the file $FOAM_SRC/finiteVolume/Make/files and recompile the libfiniteVolume.