functionObject,fvModel,fvConstraint: Added automatic library loading

If the libs entry is not provided and the name of the library containing the
functionObject, fvModel or fvConstraint corresponds to the type specified the
corresponding library is automatically loaded, e.g. to apply the
VoFTurbulenceDamping fvModel to an incompressibleVoF simulation the following
will load the libVoFTurbulenceDamping.so library automatically and instantiate
the fvModel:

turbulenceDamping
{
    type            VoFTurbulenceDamping;

    delta           1e-4;
}
This commit is contained in:
Henry Weller
2023-06-01 20:31:16 +01:00
parent 2561212f56
commit 0b8c17d8c1
33 changed files with 132 additions and 143 deletions

View File

@ -40,7 +40,7 @@ Description
writeWallBoilingProperties
{
type wallBoilingProperties;
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
writeControl writeTime;
phase liquid;
}