-
Henry Weller authored
This is useful when applying an experimentally obtained profile as an inlet condition: Example of the boundary condition specification: \verbatim myPatch { type fixedProfile; profile csvFile; profileCoeffs { nHeaderLine 0; // Number of header lines refColumn 0; // Reference column index componentColumns (1 2 3); // Component column indices separator ","; // Optional (defaults to ",") mergeSeparators no; // Merge multiple separators fileName "Uprofile.csv"; // name of csv data file outOfBounds clamp; // Optional out-of-bounds handling interpolationScheme linear; // Optional interpolation scheme } direction (0 1 0); origin 0; } \endverbatim or a simple polynomial profile: Example setting a parabolic inlet profile for the PitzDaily case: \verbatim inlet { type fixedProfile; profile polynomial ( ((1 0 0) (0 0 0)) ((-6200 0 0) (2 0 0)) ); direction (0 1 0); origin 0.0127; } \endverbatim Based on code provided by Hassan Kassem: http://www.openfoam.org/mantisbt/view.php?id=1922
7321a5ee