SOWFA问题请教
-
Overview of the Simulator fOr Wind Farm Application(SOWFA)是美国能源实验室基于OpenFOAM平台开发的一些求解器。
我的问题如下:
1.Precursor atmospheric simulation得到的数据如速度等在边界面上如何提取?需要一系列时间的边界面数据。
2.需要将1.提取的边界数据作为wind farm simulation的入口条件,网上查询到要使用TimeVaryingMappedFixedValue边界条件,该边界该如何使用?
恳请大家赐教。 -
我一直做致动线的很多年,有问题一起可以交流学习,我Email:jrw1992@163.com
-
@vortex 你好,请问您解决了么?
-
这个边界条件我也没有用过。不过我刚才看了一下源代码。你看一下mapped和TimeVaryingMappedFixedValue的区别:
//- Name of the field data table, defaults to the name of the field word fieldTableName_; //- If true adjust the mapped field to maintain average value Switch setAverage_; //- Fraction of perturbation (fraction of bounding box) to add scalar perturb_; //- Interpolation scheme to use word mapMethod_; //- 2D interpolation (for 'planarInterpolation' mapMethod) autoPtr<pointToPointPlanarInterpolation> mapperPtr_; //- List of boundaryData time directories instantList sampleTimes_; //- Current starting index in sampleTimes label startSampleTime_; //- Interpolated values from startSampleTime Field<Type> startSampledValues_; //- If setAverage: starting average value Type startAverage_; //- Current end index in sampleTimes label endSampleTime_; //- Interpolated values from endSampleTime Field<Type> endSampledValues_; //- If setAverage: end average value Type endAverage_; //- Time varying offset values to interpolated data autoPtr<Function1<Type>> offset_;
Example of the boundary condition specification: \verbatim <patchName> { type mapped; fieldName T; setAverage no; average 0; interpolationScheme cell; value uniform 0; } \endverbatim
TimeVaryingMappedFixedValue看起来就是附加了开始sample的时间以及结束sample时间的mapped边界条件。在时间之外,就是fixedValue。你核实下。