• General

    How to quickly export points for a timeVaryingFixedValue boundary in OpenFOAM

    The timeVaryingFixedValue boundary in OpenFOAM allows data extracted from other simulations or experimental data to be mapped to be used as boundary condition. The boundary requires a directory structure containing the data to be set up as follows: caseName 0 constant boundaryData/<boundaryName> TimeFolder0 TimeFolder1 points system The points file contains the coordinates of the points used to perform the data mapping. If data originate from another boundary conditions (e.g., the outlet of another simulation), it is straightforward to automatically generate such file.  Let us assume, for convenience, that the field p needs to be patched, and that the original simulation was executed with pimpleFoam. To extract the values of p…