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:
@ -34,8 +34,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type VoFCavitation;
|
type VoFCavitation;
|
||||||
|
|
||||||
libs ("libcompressibleVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
KunzCoeffs
|
KunzCoeffs
|
||||||
|
|||||||
@ -55,8 +55,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type VoFTurbulenceDamping;
|
type VoFTurbulenceDamping;
|
||||||
|
|
||||||
libs ("libcompressibleVoFTurbulenceDamping.so");
|
|
||||||
|
|
||||||
// Interface momentumTransport damping length scale
|
// Interface momentumTransport damping length scale
|
||||||
// This is a required input as described in section 3.3 of the paper
|
// This is a required input as described in section 3.3 of the paper
|
||||||
delta 1e-4;
|
delta 1e-4;
|
||||||
|
|||||||
@ -17,11 +17,5 @@ LIB_LIBS = \
|
|||||||
-lfluidSolver \
|
-lfluidSolver \
|
||||||
-lisothermalFluid \
|
-lisothermalFluid \
|
||||||
-lfluidThermophysicalModels \
|
-lfluidThermophysicalModels \
|
||||||
-lmomentumTransportModels \
|
|
||||||
-lcompressibleMomentumTransportModels \
|
-lcompressibleMomentumTransportModels \
|
||||||
-lcoupledThermophysicalTransportModels \
|
-lcoupledThermophysicalTransportModels
|
||||||
-lfiniteVolume \
|
|
||||||
-lmeshTools \
|
|
||||||
-lsampling \
|
|
||||||
-lfvModels \
|
|
||||||
-lfvConstraints
|
|
||||||
|
|||||||
@ -7,12 +7,4 @@ EXE_INC = \
|
|||||||
-I$(LIB_SRC)/meshTools/lnInclude
|
-I$(LIB_SRC)/meshTools/lnInclude
|
||||||
|
|
||||||
LIB_LIBS = \
|
LIB_LIBS = \
|
||||||
-lfluidSolver \
|
-lfluidSolver
|
||||||
-lmomentumTransportModels \
|
|
||||||
-lincompressibleMomentumTransportModels \
|
|
||||||
-lphysicalProperties \
|
|
||||||
-lfiniteVolume \
|
|
||||||
-lfvModels \
|
|
||||||
-lfvConstraints \
|
|
||||||
-lsampling \
|
|
||||||
-lmeshTools
|
|
||||||
|
|||||||
@ -34,8 +34,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type VoFCavitation;
|
type VoFCavitation;
|
||||||
|
|
||||||
libs ("libVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
KunzCoeffs
|
KunzCoeffs
|
||||||
|
|||||||
@ -55,8 +55,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type VoFTurbulenceDamping;
|
type VoFTurbulenceDamping;
|
||||||
|
|
||||||
libs ("libVoFTurbulenceDamping.so");
|
|
||||||
|
|
||||||
// Interface turbulence damping length scale
|
// Interface turbulence damping length scale
|
||||||
// This is a required input as described in section 3.3 of the paper
|
// This is a required input as described in section 3.3 of the paper
|
||||||
delta 1e-4;
|
delta 1e-4;
|
||||||
|
|||||||
@ -56,8 +56,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
|
|
||||||
ejection
|
ejection
|
||||||
{
|
{
|
||||||
model BrunDripping;
|
model BrunDripping;
|
||||||
|
|||||||
@ -49,8 +49,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
|
|
||||||
ejection
|
ejection
|
||||||
{
|
{
|
||||||
model curvatureSeparation;
|
model curvatureSeparation;
|
||||||
|
|||||||
@ -39,8 +39,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
|
|
||||||
ejection
|
ejection
|
||||||
{
|
{
|
||||||
model dripping;
|
model dripping;
|
||||||
|
|||||||
@ -33,8 +33,6 @@ Usage
|
|||||||
filmCloudTransfer
|
filmCloudTransfer
|
||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
|||||||
@ -34,8 +34,6 @@ Usage
|
|||||||
{
|
{
|
||||||
type filmVoFTransfer;
|
type filmVoFTransfer;
|
||||||
|
|
||||||
libs ("libfilmVoFTransfer.so");
|
|
||||||
|
|
||||||
deltaFactorToVoF 1.5;
|
deltaFactorToVoF 1.5;
|
||||||
alphaToVoF 0.9;
|
alphaToVoF 0.9;
|
||||||
|
|
||||||
|
|||||||
@ -40,7 +40,7 @@ Description
|
|||||||
writeWallBoilingProperties
|
writeWallBoilingProperties
|
||||||
{
|
{
|
||||||
type wallBoilingProperties;
|
type wallBoilingProperties;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
phase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration | Website: https://openfoam.org
|
\\ / O peration | Website: https://openfoam.org
|
||||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -65,32 +65,34 @@ Foam::autoPtr<Foam::functionObject> Foam::functionObject::New
|
|||||||
Info<< "Selecting function " << functionType << endl;
|
Info<< "Selecting function " << functionType << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dict.found("functionObjectLibs"))
|
if
|
||||||
|
(
|
||||||
|
!dictionaryConstructorTablePtr_
|
||||||
|
|| dictionaryConstructorTablePtr_->find(functionType)
|
||||||
|
== dictionaryConstructorTablePtr_->end()
|
||||||
|
)
|
||||||
{
|
{
|
||||||
libs.open
|
if
|
||||||
(
|
(
|
||||||
dict,
|
!libs.open
|
||||||
"functionObjectLibs",
|
(
|
||||||
dictionaryConstructorTablePtr_
|
dict,
|
||||||
);
|
"libs",
|
||||||
}
|
dictionaryConstructorTablePtr_
|
||||||
else
|
)
|
||||||
{
|
)
|
||||||
libs.open
|
{
|
||||||
(
|
libs.open("lib" + functionType.remove(':') + ".so", false);
|
||||||
dict,
|
}
|
||||||
"libs",
|
|
||||||
dictionaryConstructorTablePtr_
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!dictionaryConstructorTablePtr_)
|
if (!dictionaryConstructorTablePtr_)
|
||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
<< "Unknown function type "
|
<< "Unknown function type "
|
||||||
<< functionType << nl << nl
|
<< functionType << nl << nl
|
||||||
<< "Table of functionObjects is empty"
|
<< "Table of functionObjects is empty"
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dictionaryConstructorTable::iterator cstrIter =
|
dictionaryConstructorTable::iterator cstrIter =
|
||||||
|
|||||||
@ -82,27 +82,50 @@ Foam::autoPtr<Foam::fvConstraint> Foam::fvConstraint::New
|
|||||||
(
|
(
|
||||||
const word& name,
|
const word& name,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const dictionary& coeffs
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const word constraintType(coeffs.lookup("type"));
|
const word constraintType(dict.lookup("type"));
|
||||||
|
|
||||||
Info<< indent
|
Info<< indent
|
||||||
<< "Selecting finite volume constraint type " << constraintType << endl;
|
<< "Selecting finite volume constraint type " << constraintType << endl;
|
||||||
|
|
||||||
libs.open
|
if
|
||||||
(
|
(
|
||||||
coeffs,
|
!dictionaryConstructorTablePtr_
|
||||||
"libs",
|
|| dictionaryConstructorTablePtr_->find(constraintType)
|
||||||
dictionaryConstructorTablePtr_
|
== dictionaryConstructorTablePtr_->end()
|
||||||
);
|
)
|
||||||
|
{
|
||||||
|
if
|
||||||
|
(
|
||||||
|
!libs.open
|
||||||
|
(
|
||||||
|
dict,
|
||||||
|
"libs",
|
||||||
|
dictionaryConstructorTablePtr_
|
||||||
|
)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
libs.open("lib" + constraintType.remove(':') + ".so", false);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!dictionaryConstructorTablePtr_)
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "Unknown constraint type "
|
||||||
|
<< constraintType << nl << nl
|
||||||
|
<< "Table of fvConstraints is empty"
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dictionaryConstructorTable::iterator cstrIter =
|
dictionaryConstructorTable::iterator cstrIter =
|
||||||
dictionaryConstructorTablePtr_->find(constraintType);
|
dictionaryConstructorTablePtr_->find(constraintType);
|
||||||
|
|
||||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||||
{
|
{
|
||||||
FatalIOErrorInFunction(coeffs)
|
FatalIOErrorInFunction(dict)
|
||||||
<< "Unknown fvConstraint " << constraintType << nl << nl
|
<< "Unknown fvConstraint " << constraintType << nl << nl
|
||||||
<< "Valid fvConstraints are:" << nl
|
<< "Valid fvConstraints are:" << nl
|
||||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||||
@ -111,7 +134,7 @@ Foam::autoPtr<Foam::fvConstraint> Foam::fvConstraint::New
|
|||||||
|
|
||||||
return autoPtr<fvConstraint>
|
return autoPtr<fvConstraint>
|
||||||
(
|
(
|
||||||
cstrIter()(name, constraintType, mesh, coeffs)
|
cstrIter()(name, constraintType, mesh, dict)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -94,27 +94,50 @@ Foam::autoPtr<Foam::fvModel> Foam::fvModel::New
|
|||||||
(
|
(
|
||||||
const word& name,
|
const word& name,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const dictionary& coeffs
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
const word modelType(coeffs.lookup("type"));
|
const word modelType(dict.lookup("type"));
|
||||||
|
|
||||||
Info<< indent
|
Info<< indent
|
||||||
<< "Selecting finite volume model type " << modelType << endl;
|
<< "Selecting finite volume model type " << modelType << endl;
|
||||||
|
|
||||||
libs.open
|
if
|
||||||
(
|
(
|
||||||
coeffs,
|
!dictionaryConstructorTablePtr_
|
||||||
"libs",
|
|| dictionaryConstructorTablePtr_->find(modelType)
|
||||||
dictionaryConstructorTablePtr_
|
== dictionaryConstructorTablePtr_->end()
|
||||||
);
|
)
|
||||||
|
{
|
||||||
|
if
|
||||||
|
(
|
||||||
|
!libs.open
|
||||||
|
(
|
||||||
|
dict,
|
||||||
|
"libs",
|
||||||
|
dictionaryConstructorTablePtr_
|
||||||
|
)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
libs.open("lib" + modelType.remove(':') + ".so", false);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!dictionaryConstructorTablePtr_)
|
||||||
|
{
|
||||||
|
FatalErrorInFunction
|
||||||
|
<< "Unknown model type "
|
||||||
|
<< modelType << nl << nl
|
||||||
|
<< "Table of fvModels is empty"
|
||||||
|
<< exit(FatalError);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dictionaryConstructorTable::iterator cstrIter =
|
dictionaryConstructorTable::iterator cstrIter =
|
||||||
dictionaryConstructorTablePtr_->find(modelType);
|
dictionaryConstructorTablePtr_->find(modelType);
|
||||||
|
|
||||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||||
{
|
{
|
||||||
FatalIOErrorInFunction(coeffs)
|
FatalIOErrorInFunction(dict)
|
||||||
<< "Unknown fvModel " << modelType << nl << nl
|
<< "Unknown fvModel " << modelType << nl << nl
|
||||||
<< "Valid fvModels are:" << nl
|
<< "Valid fvModels are:" << nl
|
||||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||||
@ -123,7 +146,7 @@ Foam::autoPtr<Foam::fvModel> Foam::fvModel::New
|
|||||||
|
|
||||||
return autoPtr<fvModel>
|
return autoPtr<fvModel>
|
||||||
(
|
(
|
||||||
cstrIter()(name, modelType, mesh, coeffs)
|
cstrIter()(name, modelType, mesh, dict)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,6 @@ VoFCavitation
|
|||||||
{
|
{
|
||||||
type compressible::VoFCavitation;
|
type compressible::VoFCavitation;
|
||||||
|
|
||||||
libs ("libcompressibleVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
liquid water;
|
liquid water;
|
||||||
|
|||||||
@ -18,8 +18,6 @@ turbulenceDamping
|
|||||||
{
|
{
|
||||||
type compressible::VoFTurbulenceDamping;
|
type compressible::VoFTurbulenceDamping;
|
||||||
|
|
||||||
libs ("libcompressibleVoFTurbulenceDamping.so");
|
|
||||||
|
|
||||||
delta 1e-4;
|
delta 1e-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,6 @@ VoFCavitation
|
|||||||
{
|
{
|
||||||
type compressible::VoFCavitation;
|
type compressible::VoFCavitation;
|
||||||
|
|
||||||
libs ("libcompressibleVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
KunzCoeffs
|
KunzCoeffs
|
||||||
|
|||||||
@ -18,8 +18,6 @@ VoFCavitation
|
|||||||
{
|
{
|
||||||
type VoFCavitation;
|
type VoFCavitation;
|
||||||
|
|
||||||
libs ("libVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
KunzCoeffs
|
KunzCoeffs
|
||||||
|
|||||||
@ -18,8 +18,6 @@ turbulenceDamping
|
|||||||
{
|
{
|
||||||
type VoFTurbulenceDamping;
|
type VoFTurbulenceDamping;
|
||||||
|
|
||||||
libs ("libVoFTurbulenceDamping.so");
|
|
||||||
|
|
||||||
delta 1e-4;
|
delta 1e-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,6 @@ VoFCavitation
|
|||||||
{
|
{
|
||||||
type VoFCavitation;
|
type VoFCavitation;
|
||||||
|
|
||||||
libs ("libVoFCavitation.so");
|
|
||||||
|
|
||||||
model SchnerrSauer;
|
model SchnerrSauer;
|
||||||
|
|
||||||
KunzCoeffs
|
KunzCoeffs
|
||||||
|
|||||||
@ -67,7 +67,7 @@ functions
|
|||||||
writeWallBoilingProperties
|
writeWallBoilingProperties
|
||||||
{
|
{
|
||||||
type wallBoilingProperties;
|
type wallBoilingProperties;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
executeAtStart no;
|
executeAtStart no;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -76,7 +76,7 @@ functions
|
|||||||
outflow
|
outflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -88,7 +88,7 @@ functions
|
|||||||
inflow
|
inflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -100,7 +100,7 @@ functions
|
|||||||
outletGas
|
outletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -113,7 +113,7 @@ functions
|
|||||||
outletLiquid
|
outletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -126,7 +126,7 @@ functions
|
|||||||
inletGas
|
inletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -139,7 +139,7 @@ functions
|
|||||||
inletLiquid
|
inletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
region fluid;
|
region fluid;
|
||||||
@ -153,7 +153,7 @@ functions
|
|||||||
{
|
{
|
||||||
type writeObjects;
|
type writeObjects;
|
||||||
libs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
region fluid;
|
region fluid;
|
||||||
|
|
||||||
objects
|
objects
|
||||||
(
|
(
|
||||||
@ -168,6 +168,7 @@ functions
|
|||||||
h.liquid
|
h.liquid
|
||||||
h.gas
|
h.gas
|
||||||
);
|
);
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,8 +18,6 @@ filmVoFTransfer
|
|||||||
{
|
{
|
||||||
type filmVoFTransfer;
|
type filmVoFTransfer;
|
||||||
|
|
||||||
libs ("libfilmVoFTransfer.so");
|
|
||||||
|
|
||||||
deltaFactorToVoF 1.5;
|
deltaFactorToVoF 1.5;
|
||||||
alphaToVoF 0.9;
|
alphaToVoF 0.9;
|
||||||
|
|
||||||
|
|||||||
@ -17,8 +17,6 @@ FoamFile
|
|||||||
filmCloudTransfer
|
filmCloudTransfer
|
||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -18,8 +18,6 @@ filmCloudTransfer
|
|||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
|
|
||||||
ejection
|
ejection
|
||||||
{
|
{
|
||||||
model dripping;
|
model dripping;
|
||||||
|
|||||||
@ -18,8 +18,6 @@ VoFClouds
|
|||||||
{
|
{
|
||||||
type VoFClouds;
|
type VoFClouds;
|
||||||
|
|
||||||
libs ("libVoFClouds.so");
|
|
||||||
|
|
||||||
phase liquid;
|
phase liquid;
|
||||||
carrierPhase air;
|
carrierPhase air;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,16 +17,12 @@ FoamFile
|
|||||||
filmCloudTransfer
|
filmCloudTransfer
|
||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
filmVoFTransfer
|
filmVoFTransfer
|
||||||
{
|
{
|
||||||
type filmVoFTransfer;
|
type filmVoFTransfer;
|
||||||
|
|
||||||
libs ("libfilmVoFTransfer.so");
|
|
||||||
|
|
||||||
deltaFactorToVoF 0.3;
|
deltaFactorToVoF 0.3;
|
||||||
alphaToVoF 0.3;
|
alphaToVoF 0.3;
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,6 @@ filmCloudTransfer
|
|||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
|
|
||||||
ejection
|
ejection
|
||||||
{
|
{
|
||||||
model dripping;
|
model dripping;
|
||||||
|
|||||||
@ -17,8 +17,6 @@ FoamFile
|
|||||||
filmCloudTransfer
|
filmCloudTransfer
|
||||||
{
|
{
|
||||||
type filmCloudTransfer;
|
type filmCloudTransfer;
|
||||||
|
|
||||||
libs ("libfilmCloudTransfer.so");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -57,14 +57,14 @@ functions
|
|||||||
writeWallBoilingProperties
|
writeWallBoilingProperties
|
||||||
{
|
{
|
||||||
type wallBoilingProperties;
|
type wallBoilingProperties;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
phase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
outflow
|
outflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -75,7 +75,7 @@ functions
|
|||||||
inflow
|
inflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -86,7 +86,7 @@ functions
|
|||||||
outletGas
|
outletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -98,7 +98,7 @@ functions
|
|||||||
outletLiquid
|
outletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -110,7 +110,7 @@ functions
|
|||||||
inletGas
|
inletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -122,7 +122,7 @@ functions
|
|||||||
inletLiquid
|
inletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
|
|||||||
@ -57,14 +57,14 @@ functions
|
|||||||
writeWallBoilingProperties
|
writeWallBoilingProperties
|
||||||
{
|
{
|
||||||
type wallBoilingProperties;
|
type wallBoilingProperties;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
phase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
volumeDensity.diameter.bubbles
|
volumeDensity.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -78,7 +78,7 @@ functions
|
|||||||
volumeDensity_bulk.diameter.bubbles
|
volumeDensity_bulk.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -92,7 +92,7 @@ functions
|
|||||||
volumeDensity_wall.diameter.bubbles
|
volumeDensity_wall.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -106,7 +106,7 @@ functions
|
|||||||
outflow
|
outflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -117,7 +117,7 @@ functions
|
|||||||
inflow
|
inflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -128,7 +128,7 @@ functions
|
|||||||
outletGas
|
outletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -140,7 +140,7 @@ functions
|
|||||||
outletLiquid
|
outletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -152,7 +152,7 @@ functions
|
|||||||
inletGas
|
inletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -164,7 +164,7 @@ functions
|
|||||||
inletLiquid
|
inletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
|
|||||||
@ -57,14 +57,14 @@ functions
|
|||||||
writeWallBoilingProperties
|
writeWallBoilingProperties
|
||||||
{
|
{
|
||||||
type wallBoilingProperties;
|
type wallBoilingProperties;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
phase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
volumeDensity.diameter.bubbles
|
volumeDensity.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -78,7 +78,7 @@ functions
|
|||||||
volumeDensity_bulk.diameter.bubbles
|
volumeDensity_bulk.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -92,7 +92,7 @@ functions
|
|||||||
volumeDensity_wall.diameter.bubbles
|
volumeDensity_wall.diameter.bubbles
|
||||||
{
|
{
|
||||||
type populationBalanceSizeDistribution;
|
type populationBalanceSizeDistribution;
|
||||||
functionObjectLibs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
libs ( "libmultiphaseEulerFoamFunctionObjects.so" );
|
||||||
writeControl runTime;
|
writeControl runTime;
|
||||||
writeInterval 0.5;
|
writeInterval 0.5;
|
||||||
setFormat raw;
|
setFormat raw;
|
||||||
@ -106,7 +106,7 @@ functions
|
|||||||
outflow
|
outflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -117,7 +117,7 @@ functions
|
|||||||
inflow
|
inflow
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -128,7 +128,7 @@ functions
|
|||||||
outletGas
|
outletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -140,7 +140,7 @@ functions
|
|||||||
outletGas2
|
outletGas2
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -152,7 +152,7 @@ functions
|
|||||||
outletLiquid
|
outletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -164,7 +164,7 @@ functions
|
|||||||
inletGas
|
inletGas
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -176,7 +176,7 @@ functions
|
|||||||
inletGas2
|
inletGas2
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
@ -188,7 +188,7 @@ functions
|
|||||||
inletLiquid
|
inletLiquid
|
||||||
{
|
{
|
||||||
type surfaceFieldValue;
|
type surfaceFieldValue;
|
||||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
libs ( "libfieldFunctionObjects.so" );
|
||||||
log yes;
|
log yes;
|
||||||
writeFields false;
|
writeFields false;
|
||||||
select patch;
|
select patch;
|
||||||
|
|||||||
Reference in New Issue
Block a user