Will Bainbridge 925e6b5b02 particleForces: New scaled force, and optional alternate syntax
In addition to the current syntax, particle forces can now also be
specified with a named dictionary and a type entry. This allows multiple
forces of the same type to be used. For example:

    particleForces
    {
        // Existing syntax. The model typename, either on it's own
        // or heading a dictionary of model parameters.

        gravity;

        ErgunWenYuDrag
        {
            alphac alpha.air;
        }

        // New syntax. An arbitrary name, followed by a dictionary
        // containing a type entry, and any model parameters.

        gravity2
        {
            type gravity;
        }

        drag2
        {
            type ErgunWenYuDrag;
            alphac alpha.air;
        }
    }

A scaled force has also been added. This is a wrapper around another
particle force model, and applies a scaling factor to the force value.
It can be used to tune the models, or to blend two or more models.

    particleForces
    {
        // Tuning the simulation by reducing the pressure gradient force

        scaled1
        {
            type scaled;
            factor 0.94;
            forceType pressureGradient;
            U U;
        }

        // Blending two drag models

        scaled2
        {
            type scaled;
            factor 0.2;
            forceType sphereDrag;
        }

        scaled3
        {
            type scaled;
            factor 0.8;
            forceType ErgunWenYuDrag;
            alphac alpha.air;
        }
    }

This work was supported by Moritz Hoefert, at Evonik
2018-08-15 10:39:24 +01:00
2018-04-14 23:13:00 +01:00
2018-01-03 17:18:12 +00:00

README for OpenFOAM-dev

#

About OpenFOAM

OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.

Description
Description: OpenFOAM Foundation repository for OpenFOAM version 12
Readme 304 MiB
Languages
C++ 97.4%
Shell 1.8%
Lex 0.4%
Liquid 0.2%
C 0.1%