All of the film transport equations are now formulated with respect to the film volume fraction in the region cell layer rather than the film thickness which ensures mass conservation of the film even as it flows over curved surfaces and around corners. (In the previous formulation the conservation error could be as large as 15% for a film flowing around a corner.) The film Courant number is now formulated in terms of the film cell volumetric flux which avoids the stabilised division by the film thickness and provides a more reliable estimate for time-step evaluation. As a consequence the film solution is substantially more robust even though the time-step is now significantly higher. For film flow dominated problem the simulations now runs 10-30x faster. The inconsistent extended PISO controls have been replaced by the standard PIMPLE control system used in all other flow solvers, providing consistent input, a flexible structure and easier maintenance. The momentum corrector has been re-formulated to be consistent with the momentum predictor so the optional PIMPLE outer-corrector loop converges which it did not previously. nonuniformTransformCyclic patches and corresponding fields are no longer needed and have been removed which paves the way for a future rationalisation of the handling of cyclic transformations in OpenFOAM to improve robustness, usability and maintainability. Film sources have been simplified to avoid the need for fictitious boundary conditions, in particular mappedFixedPushedInternalValueFvPatchField which has been removed. Film variables previously appended with an "f" for "film" rather than "face" have been renamed without the unnecessary and confusing "f" as they are localised to the film region and hence already directly associated with it. All film tutorials have been updated to test and demonstrate the developments and improvements listed above. Henry G. Weller CFD Direct Ltd.
74 lines
1011 B
C++
74 lines
1011 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
cyclic
|
|
{
|
|
type cyclic;
|
|
}
|
|
|
|
cyclicAMI
|
|
{
|
|
type cyclicAMI;
|
|
}
|
|
|
|
cyclicACMI
|
|
{
|
|
type cyclicACMI;
|
|
value $internalField;
|
|
}
|
|
|
|
cyclicSlip
|
|
{
|
|
type cyclicSlip;
|
|
}
|
|
|
|
conformalCoupled
|
|
{
|
|
type conformalCoupled;
|
|
}
|
|
|
|
empty
|
|
{
|
|
type empty;
|
|
}
|
|
|
|
cyclicRepeatAMI
|
|
{
|
|
type cyclicRepeatAMI;
|
|
}
|
|
|
|
processor
|
|
{
|
|
type processor;
|
|
value $internalField;
|
|
}
|
|
|
|
processorCyclic
|
|
{
|
|
type processorCyclic;
|
|
value $internalField;
|
|
}
|
|
|
|
symmetryPlane
|
|
{
|
|
type symmetryPlane;
|
|
}
|
|
|
|
symmetry
|
|
{
|
|
type symmetry;
|
|
}
|
|
|
|
wedge
|
|
{
|
|
type wedge;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|